Disable automatic updates in CentOS 7
I found out that in Centos 7 yum-cron has nothing to do with the “Install Updates & Restart” prompt. I don’t need or want automatic updates too. After some tricky research I discovered this feature is provided by a gnome package “packagekit”.
- uninstall packagekit altogether (my favourite)
- disable packagekit from running (see systemctl)
- find PackageKit.conf (in /etc/PackageKit/ on my system)
find WritePreparedUpdates= in the file (last line on my system)
restart in all three cases (just to be on the safe side…)