Re: Yum vs. PackageKit
- From: 夜神 岩男 <supergiantpotato@xxxxxxxxxxx>
- Date: Fri, 31 Dec 2010 19:57:25 +0900 (JST)
--- Roger <arelem@xxxxxxxxxxx> wrote:
On 31/12/10 04:57, Beartooth wrote:
On all machines running F14 with a usable GUI,PackageKit's gpk-
update-viewer (which I run daily, sometimes more)often tells me it sees
no updates, or only very few. I've been making ita practice, every time
it claims that, to run yum update.from a dozen to
Very often yum gets a great long list (anywhere
two or three hundred, the latter in cases of alaptop which hasn't been
booted for weeks).I, too see this in Fedora 14 and routinely do yum
Comments, please! Am I the only one seeing this??
update and yum upgrade.
With Ubuntu I also do apt-get update then apt-get
upgrade to obtain
latest files.
It's probably the wrong thing to do but I do not
know!
Roger
--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines:
http://fedoraproject.org/wiki/Mailing_list_guidelines
PackageKit reads updates from a local cache. By default it
checks for updates once a day and then updates the cache
also once a day. It appears that depending on which goes
first there could be <48 hour lag between the updates
being checked and the cache being updated. That is if the
system is on 24 hours a day. If you regularly turn your
system on for only a short time and then shut down again
it is likely that PakcageKit never quite gets around to
checking for updates and then updating the cache.
To change the way things work you need to change both the
check update frequency and the update cache frequency.
PackageKit has two attributes that matter for you: 1 is
frequency_get_updates, and the other is
frequency_update_cache. When you run gpk-prefs and set the
"check updates" to "hourly" only the frequency_get_updates
attribute changes.
You will need to run gconf-editor and go to
/apps/gnome-packagekit/update-icon/ and change the
frequency_update_cache attribute manually to 3600 if you
want it to be updated hourly every time that get_updates
runs. (The value will be different than 3600 if you want
the check to be something other than hourly -- this number
is the amount of time in seconds that should pass between
actions.)
gconf-editor is not installed by default from the liveCD,
so you may have to "yum install gconf-editor" if that is
how you installed your system to begin with.
Hope this helps. Of course, you could just cut to the
chase and run yum update if PackageKit is too indirect for
you...
--------------------------------------
Get the new Internet Explorer 8 optimized for Yahoo! JAPAN
http://pr.mail.yahoo.co.jp/ie8/
--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
- References:
- Re: Yum vs. PackageKit
- From: Roger
- Re: Yum vs. PackageKit
- Prev by Date: Re: recursively count the words occurrence in the text files
- Next by Date: Re: mpg321 in fedora 14
- Previous by thread: Re: Yum vs. PackageKit
- Next by thread: microsoft.com -> NetBSD
- Index(es):
Relevant Pages
|