Ask Your Question
0

PackageKit downloading packages but not proposing update upon shutdown.

asked 2018-06-03 04:08:13 -0600

marcinek gravatar image

Hi! I have just noticed on my fresh F28 install, after several days and few updates, both via dnf and PackageKit, every time I start the box It's quite busy with network. nethogs reported it's packagekitd. lsof -p <pid> tells me that its is downloading some packages into /var/cache/PackageKit/28/metadata/updates/packages/ directory.

Aftrer coule of minutes it stops (I assume updates are ready). I also looked at journalctl -f --unit=packagekit and see some periodic activities like:


cze 03 10:34:33 hawking PackageKit[1745]: what-provides transaction /2262_ecddaace from uid 1000 finished with success after 5ms
cze 03 10:34:33 hawking PackageKit[1745]: resolve transaction /2263_eebbaeec from uid 1000 finished with success after 6ms
cze 03 10:34:33 hawking PackageKit[1745]: get-details transaction /2264_acaedadc from uid 1000 finished with success after 6ms
cze 03 10:35:15 hawking PackageKit[1745]: resolve transaction /2265_aeadeadc from uid 1000 finished with success after 6ms

I see no error messages like "failed to download", no unresolved dependencies. I have rpmfusion's nvidia driver, which I know could cause some dependencies resolutions problems.

I assume that if all PackageKit activities stops, it should present a checkbox on Shutdown Dialog giving me an option to install the updates? It didn't happen since few days... When I run dnf update it gives me a bunch of udates to... download again (Why the hell PackageKit and dnf uses different cache locations?)

edit retag flag offensive close merge delete

Comments

downloading/refreshing metadata doesn't necessarily mean that there are new updates. PackageKit would not download the actual packages until you tell it to do so.

Force an update of package metadata and see what happens, if there are updates Gnome Software should report it (pkcon refresh force).

In general, just stick to dnf for updating and especially installing software. Mixing the use of dnf and Gnome Software will end up in a mess. I know, it's 2018 but it's still the case.

Maybe this article is of interest to you.

florian gravatar imageflorian ( 2018-06-06 11:10:07 -0600 )edit
florian gravatar imageflorian ( 2018-06-06 11:11:58 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2018-06-06 11:14:42 -0600

florian gravatar image

You can stop PackageKit from downloading updates by

1.) gsettings set org.gnome.software download-updates false or

2.) systemctl mask packagekit.service (masking this service can be understood as disabling it)

edit flag offensive delete link more

Your Answer

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

Add Answer

Question Tools

1 follower

Stats

Asked: 2018-06-03 04:08:13 -0600

Seen: 135 times

Last updated: Jun 06