Yum Update Security Updates Only

Home » CentOS » Yum Update Security Updates Only
CentOS 5 Comments

Hello,

I’m trying to do a yum update and only apply the security patches.

I’m aware of yum update –security , however when I do that it fails to install any updates. I’ve tried this on a fresh 7.8.2003 (core) system, as well as the CentOS 7 AMI on AWS, specifically ami-04a25c39dc7a8aebb and I
get the same results.

There are definitely security updates to apply.

For each package which needs to be updated, it lists “” from updates removed (updateinfo).

Does anyone know what’s going on here?

Thanks, Eric

5 thoughts on - Yum Update Security Updates Only

  • That is unsupported by CentOS. So the short answer is, you can’t do that.

    Any particular reason you can’t just update your system fully?

  • Frank,

    Interesting thank you I didn’t realize that. It used to be supported I
    believe, and there is a lot of out of date 3rd party documentation floating around google that suggests it does.

    Well it’s just that many enterprises have policies which state that only security updates should be installed, which I suspect is exactly why that feature is no longer supported..

    Eric

  • I don’t believe CentOS has ever supported it in any of the supported releases, although repos like EPEL do provide security metadata. RHEL supports the security flag to yum update, because they curate their repo metadata with that data, but it isn’t available to CentOS users.


    Jonathan Billings

  • There are ways to get the metadata to do that, but it’s still not officially supported. And as for enterprises mandating only security updates, they would/should pay for RHEL to get that kind of feature.