I'm simply trying to install mod_ssl
on a CentOS server. Doing a straightforward sudo yum install mod_ssl
would return an error:
Error: httpd24-tools conflicts with httpd-tools-2.2.25-1.0.amzn1.x86_64
Error: httpd24 conflicts with httpd-2.2.25-1.0.amzn1.x86_64
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
I tried to remove httpd-tools
by: sudo yum remove httpd-tools-2.2.25-1.0.amzn1.x86_64
but no luck. Is there any things that I missed?
EDIT:
I did sudo yum -v remove httpd-tools-2.2.25-1.0.amzn1.x86_64
and outputs this:
Yum Version: 3.2.29
rpmdb time: 0.000
Setting up Remove Process
No Match for argument: httpd-tools-2.2.25-1.0.amzn1.x86_64
Setting up Package Sacks
amzn-main | 2.1 kB 00:00
amzn-updates | 2.3 kB 00:00
pkgsack time: 0.330
Package(s) httpd-tools-2.2.25-1.0.amzn1.x86_64 available, but not installed.
No Packages marked for removal
Doing yum search mod_ssl
outputs this:
yum -v remove httpd-tools-2.2.25-1.0.amzn1.x86_64
looks like a dependency problem. You may have to remove php at the same time and install the newer version compatible with httpd24-toolsrpm -qa |grep http
output?httpd24-2.4.6-2.48.amzn1.x86_64 perl-LWP-Protocol-https-6.02-4.2.amzn1.noarch httpd24-tools-2.4.6-2.48.amzn1.x86_64