0

If I enable automatic security updates via "update_cmd = security" in "/etc/yum/yum-cron.conf" how am I able to control the "default" behavior of the other packages?

  • I use the follwing additional parameters: codeupdate_cmd = security update_messages = yes download_updates = yes apply_updates = yes code – brubaker Mar 8 at 9:16
  • It really depends on whether it’s CentOS or RHEL. CentOS doesn’t have security metadata in its repositories, so “update_cmd = security” will do nothing. – jsbillings Mar 9 at 13:07
  • Interesting I thought otherwise, and yes, it is CentOS 7. – brubaker Mar 10 at 16:09
  • Some 3rd party repos such as EPEL have security metadata, so it’ll work for those, but not the base CentOS repos. – jsbillings Mar 11 at 12:21
  • Thank you. Just because I'm curious. What would it look like if I used e.g. EPEL? So how can I control a channel other than the configured packet channel? For example, if I set security and want to control the remaining packets like "Default". – brubaker Mar 11 at 19:13

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.