Posted on Leave a comment

Disable automatic updates in CentOS 7

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”.

Three solutions:

  1. uninstall packagekit altogether (my favourite)
  2. disable packagekit from running (see systemctl)
  3. find PackageKit.conf (in /etc/PackageKit/ on my system)
    find WritePreparedUpdates= in the file (last line on my system)

     set WritePreparedUpdates=false
    

restart in all three cases (just to be on the safe side…)

More at: http://www.itsprite.com/linuxhow-to-disable-packagekit-on-centos-fedora-or-rhel/

Leave a Reply