Ask Your Question

GNOME PackageKit updater doesn't find updates

asked 2017-06-13 17:13:39 -0500

msum gravatar image

I'm using Fedora 25. The GNOME PackageKit updater always says that my system is fully up to date. It only shows the currently available updates after I have run pkcon refresh force. How can I make PackageKit automatically refresh the information about updates properly?

edit retag flag offensive close merge delete


use dnf to update your system: dnf update, or if you want to refresh your package information regardless of information age: sudo dnf --refresh upgrade

florian gravatar imageflorian ( 2017-06-15 21:51:39 -0500 )edit

1 Answer

Sort by » oldest newest most voted

answered 2017-06-15 19:51:15 -0500

Aeyoun gravatar image

updated 2017-07-01 10:08:24 -0500

refresh force updates the cache regardless of the repository cache age. refresh only updates the repository if the cache has expired. The default cache age is about one day.

The very last paragraph of this article tells you how to adjust the cache duration of DNF. (PackageKit is just a universal front end for whatever is actually the main package system in your distribution.)

Update: Don’t use PackageKit on Fedora for the time being. It has multiple issues compared to using DNF.

edit flag offensive delete link more


dnf and PackageKit (pkcon) are two different things but both are package managers. A front-end for PackageKit is for example Gnome Software.

florian gravatar imageflorian ( 2017-06-15 21:50:39 -0500 )edit

@florian, look at the damned source code. Is PackageKit not a front-end to different package managers? Then why does it have different backends for each of the different package managers? GNOME Software and Cockpit both use PackageKit instead of dnf directly. You can use PackageKit just fine to update your system. It’s just an abstraction from dnf.

Your downvote here was totally undeserved.

Aeyoun gravatar imageAeyoun ( 2017-06-16 04:24:26 -0500 )edit

You are right! reversed the vote.

But as far as I know, PackageKit will not care about the settings in dnf.conf

florian gravatar imageflorian ( 2017-06-16 09:11:30 -0500 )edit

It doesn’t need to care. It calls the DNF backend to perform some tasks (like fetching metadata) and DNF does care about it’s own settings.

Aeyoun gravatar imageAeyoun ( 2017-06-16 10:22:21 -0500 )edit

if dnf is used to fetch metadata, why does packagekit store metadata and packages separately in /var/cache/PackageKit? I remember that in my older Fedora systems, this directory easily grew > 1 GiB

florian gravatar imageflorian ( 2017-06-16 13:51:01 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools



Asked: 2017-06-13 17:13:39 -0500

Seen: 240 times

Last updated: Jul 01 '17