Turning off auto checking for updates

I do not want the system checking for updates on its own. Previously,

systemctl disable dnf-makecache.timer

was one of the changes to make. This timer is no longer there.

metadata_timer_sync=0

is also set and dnf-automatic is not installed.

systemctl list-timers ‘dnf-*’

doesn’t retun anything.

The system currently either actually checks for updates, or does something else that looks like it by connecting to mirrors.fedoraproject.org. How to turn that off?

If will likely be PackageKit that is used by the GUI software installers.
You will have these services running I’m guessing.

$ rpm -q PackageKit -l | grep systemd
/usr/lib/systemd/system/packagekit-offline-update.service
/usr/lib/systemd/system/packagekit.service
/usr/lib/systemd/system/system-update.target.wants
/usr/lib/systemd/system/system-update.target.wants/packagekit-offline-update.service

If you only use dnf for install and update I think you can remove PackageKit and the GUI that is using it.

Thank you. For context, I usually remove plasma-discover, but thought I’d give it another try this time, which brought this about. Removed plasma-discover and PackageKit.

1 Like