On Sat, 2 Dec 2017 13:54:35 -0500 Todd Zullinger tmz@pobox.com wrote:
Dario Lesca wrote:
How to I can disable packagekid to download update?
You can disable downloading of updates via gsettings:
gsettings set org.gnome.software download-updates falseDoing 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
Another alternative for disabling PackageKit is to move the file org.freedesktop.PackageKit.service to org.freedesktop.PackageKit.service.bak in the /usr/share/dbus-1/system-services/ directory.
You'll also have to move the file kde-org.freedesktop.PackageKit.service to kde-org.freedesktop.PackageKit.service.bak in the /usr/share/dbus-1/services directory if you have kde installed.
This will have to be done every time PackageKit is updated, but that isn't all that often.
I keep PackageKit around because even though I like to do my updates from the command line in a virtual console, I keep Gnome around, and it is an integral part of Gnome.