我只是想mod_ssl
在 CentOS 服务器上安装。做一个简单的sudo yum install mod_ssl
会返回一个错误:
错误:httpd24-tools 与 httpd-tools-2.2.25-1.0.amzn1.x86_64 冲突
错误:httpd24 与 httpd-2.2.25-1.0.amzn1.x86_64 冲突
您可以尝试使用 --skip-broken 来解决问题
您可以尝试运行: rpm -Va --nofiles --nodigest
我试图删除httpd-tools
:sudo yum remove httpd-tools-2.2.25-1.0.amzn1.x86_64
但没有运气。有什么我错过的吗?
编辑:
我做了sudo yum -v remove httpd-tools-2.2.25-1.0.amzn1.x86_64
并输出了这个:
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
这样做yum search mod_ssl
输出: