Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Last time I checked I was able to install yum-security in CentOS but since it doesn't use the official redhat mirrors I was unable to get it to actually work. Is there a way to make yum-security work or is there an alternative to yum-security on CentOS?

share|improve this question

2 Answers 2

These days yum-security works fine on CentOS, you can install it from EPEL

Example on CentOS 6:

$ rpm -q yum-plugin-security
yum-plugin-security-1.1.30-14.el6.noarch

(On CentOS 5 the package is called yum-security)

$ sudo yum update --security
Loaded plugins: security
Setting up Update Process
Resolving Dependencies
Limiting packages to security relevant ones
epel/updateinfo                                                                                                                                                                                                         | 724 kB     00:00     
No packages needed for security; 141 packages available
share|improve this answer
    
This doesn't work for me. On CentOS 6, I installed httpd-2.2.15-29.el6.centos.x86_64.rpm , which has had several security updates such as CESA-2013:1156. yum update --security still says No packages needed for security. yum update will update httpd just fine. I'll note that yum-plugin-security does work on Scientific Linux. –  Stefan Lasiewski May 14 at 20:19

Unfortunately, yum-security is not supported on CentOS :(

However, this hacked alternative might work for you.

share|improve this answer
1  
FYI, the second link (linux-archive.org/centos/291796-yum-security.html ) is a 404. –  Stefan Lasiewski Apr 27 '11 at 22:07

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.