The title is sufficient I think. How can I stop Fedora to automatically download and install system and software updates on restart?
Asked
Active
Viewed 1.2k times
1 Answers
13
dnf is a background service that updates the repository metadata automatically. dnf makecache is scheduled to run after every reboot
To disable dnf-makecache.service:
systemctl disable dnf-makecache.service
Also disable the dnf-makecache.timer or the service will be restarted:
systemctl disable dnf-makecache.timer
Regards
stefzeer
- 199
- 1
- 2
- 6
-
Thank you, I've accepted the answer. I just wonder if commands are the only option to disable updates on Fedora 25, is it possible through editing configuration files as well? – Nov 09 '16 at 11:46
-
7Note that you _also_ will need to separately disable packagekit refreshes. This is a known problem and I'm optimistic that we'll get this solved in the next release (but not F25). `gsettings set org.gnome.software download-updates false` – mattdm Nov 09 '16 at 15:14
-
1the mattdm comment has to be in the answer, seems to be the obligatory piece of the puzzle as everything else was kinda disabled – MolbOrg Apr 10 '17 at 16:19
-
Even after setting download-updates=false in gsettings, it's downloading huge metadata files which is very very annoying. I'm trying to use fedora after long time Ubuntu and this reminded me why I chose ubuntu first. – Anwar Jul 18 '17 at 04:52