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

I'm installing a SSL certificate for a currently productive CentOS 5.8 (final)

So I runned this:

yum install mod_ssl

and got this:

Error: Missing Dependency: httpd = 2.2.3-65.el5.centos is needed by package 1:mod_ssl-2.2.3-65.el5.centos.x86_64

A few details about my instalation:

# yum list installed|grep httpd
httpd.x86_64                           2.2.20-1.w5                     installed
httpd-tools.x86_64                     2.2.20-1.w5                     installed
share|improve this question
add comment

1 Answer

up vote 4 down vote accepted

You've got 2.2.20-1.w5 installed, it is looking specifically for 2.2.3-65.el5 as shown by the =. It also seems that you have a nonstandard package installed - i.e. one that did not come out of the standard repos since all of the RH/CentOS packages end in .elX where X is the major version number.

To Answer the question in the comments. It appears that the .w5 suffix is from the Webtactic repositories. If you don't need anything from that repo, I would suggest removing it's entry in /etc/yum.repos.d after removing the Apache install. If you do need things from that repo, I would suggest following their instructions at the bottom of the page I linked to above to disable the repo and only use it when needed.

There is no way to change the version of Apache that is installed without downtime, although if you backup the configs first it should be very minimal - on the order of 5 mins tops.

share|improve this answer
    
Dang, you beat me to it! –  HTTP500 Oct 11 '12 at 21:55
    
Thanks! So I guess my best option is to re-install httpd and it's dependencies using one of the standard repos. Correct me if I'm wrong, but that would be yum remove httpd ... and yum install httpd .... Could you recommend "standard repo"? –  Mauro Oct 11 '12 at 22:04
    
Also, is there a way to do this without downtime? –  Mauro Oct 11 '12 at 22:14
    
@Mauro see my edit –  Zypher Oct 12 '12 at 14:35
1  
@Mauro Sounds like a very sound way to go about it. –  Zypher Oct 12 '12 at 18:56
show 1 more comment

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.