[packagekit] Not doing updates when on GPRS

Robin Norwood rnorwood at redhat.com
Tue Apr 22 19:13:10 PDT 2008


On Wed, 23 Apr 2008 09:33:19 +1000
David Timms <dtimms at iinet.net.au> wrote:

> Richard Hughes wrote:
> > I want to make PackageKit not do updates when I'm on my GRPS
> > connection
> > - for this we need to know:
> > 
> > 1. If the connection is up
> > 2. The type of connection
> > 3. The throughput of the connection
> 
> 4. The cost per MB or second of the connection !!
> 
> Just to throw a spanner in the works - I don't want any surprises
> when my mobile phone {gprs}, 3g-broadband, cable, adsl, pstn modem
> ISP or carriers charge either for connect time, download, and/or
> upload on my connection(s).
> 
> For example in Fedora 8, the updates metadata is 2.1 MB. This seems
> to be retrieved at least once a day, ie after an updates push, while
> the indicator file is retrieved every 15mins. Even just checking
> whether the updates that are available are applicable to the user's
> system for a month would kill the low cost 3g-mobile broadband 30MB
> included data.

Can we get a list of connection devices (or perhaps device types) from
Network Manager, and have a "Do not use this connection" checkbox for
each one?  I don't know the NM API, so I don't know if this makes sense
from an API point of view.

-RN

-- 
Robin Norwood
Red Hat, Inc.

"The Sage does nothing, yet nothing remains undone."
-Lao Tzu, Te Tao Ching



More information about the PackageKit mailing list