Yum-cron

From Freephile Wiki
Revision as of 07:16, 31 December 2018 by Admin (talk | contribs) (revert edits to fix search where character encoding was a problem)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

yum-cron will work just like Debian's unattended upgrades. Use it to keep your RedHat or CentOS* host up-to-date with security patches and even regular package updates. yum-cron is an alternate interface to yum, optimized for cron.

* Note: As the official CentOS repositories don't provide any security metadata, update_cmd = default is the only option that works "out of the box" for CentOS -- meaning you can't be choosy and can't apply only security updates. The work-arounds are: use a different distro (e.g. Scientific Linux does security updates automatically), or become a patron of Steve Meier's repository which adds in the security metadata [1]

Similarly, you can use yum autoremove to remove obsolete packages from your system.

References[edit source]