Dario Lesca wrote:
How to I can disable packagekid to download update?
I do not use these packages downloaded uselessly from packagekit into /var/cache/PackageKit/*/*/updates/... because I run sometimes when I want and can, after, reboot, "sudo dnf update".
Unfortunately this command (dnf) do not use the rpm files download from PackageKit but it downloads them again ... Sigh!
You can disable downloading of updates via gsettings:
gsettings set org.gnome.software download-updates false
Doing this prevents rpms from accumulating, but you still end up with several hundred megabytes of repo metadata (which isn't ever cleaned up for old releases, so it builds up). I just checked and there was 800M on my system, with 147M for f26, which I have am not yet running. When I do upgrade, it will be via dnf system-upgrade, so the PackageKit data does nothing for me.
Alternatively, you can remove PackageKit and gnome-software if you don't use them:
sudo dnf remove PackageKit* gnome-software
You'll have to manually clean up the cache dir afterward. This is filed in the fedora and freedesktop.org bug trackers:
https://bugzilla.redhat.com/1306992 https://bugs.freedesktop.org/80053
Both tickets have been around for a long time without any fixes, unfortunately.