--- 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 it > a practice, every time > > it claims that, to run yum update. > > > > Very often yum gets a great long list (anywhere > from a dozen to > > two or three hundred, the latter in cases of a > laptop which hasn't been > > booted for weeks). > > > > Comments, please! Am I the only one seeing this?? > > > > > I, too see this in Fedora 14 and routinely do yum > 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