Ara*_*rav 1 apache redhat centos amazon-web-services apache2.4
使用aws Linux。当我尝试安装mod_ssl时,使用ttpd-tools-2.2.31-1.8.amzn1.x86_64和httpd-2.2.31-1.8.amzn1.x86_64给出冲突错误。尝试删除百胜,但无法正常工作。当我执行yum列表时,未列出旧的httpd版本。不知道为什么。谁能帮我这个忙。
[root@ip-61 ec2-user]# yum install mod_ssl
Loaded plugins: priorities, update-motd, upgrade-helper
Resolving Dependencies
--> Running transaction check
---> Package mod_ssl.x86_64 1:2.2.31-1.8.amzn1 will be installed
--> Processing Dependency: httpd = 2.2.31-1.8.amzn1 for package: 1:mod_ssl-2.2.31-1.8.amzn1.x86_64
--> Processing Dependency: httpd-mmn = 20051115 for package: 1:mod_ssl-2.2.31-1.8.amzn1.x86_64
--> Running transaction check
---> Package httpd.x86_64 0:2.2.31-1.8.amzn1 will be installed
--> Processing Dependency: httpd-tools = 2.2.31-1.8.amzn1 for package: httpd-2.2.31-1.8.amzn1.x86_64
--> Processing Dependency: apr-util-ldap for package: httpd-2.2.31-1.8.amzn1.x86_64
--> Running transaction check
---> Package apr-util-ldap.x86_64 0:1.4.1-4.17.amzn1 will be installed
---> Package httpd-tools.x86_64 0:2.2.31-1.8.amzn1 will be installed
--> Processing Conflict: httpd24-2.4.18-1.64.amzn1.x86_64 conflicts httpd < 2.4.18
--> Restarting Dependency Resolution with new changes.
--> Running transaction check
---> Package httpd24.x86_64 0:2.4.18-1.64.amzn1 will be updated
---> Package httpd24.x86_64 0:2.4.23-1.66.amzn1 will be an update
--> Processing Dependency: httpd24-tools = 2.4.23-1.66.amzn1 for package: httpd24-2.4.23-1.66.amzn1.x86_64
--> Running transaction check
---> Package httpd24-tools.x86_64 0:2.4.18-1.64.amzn1 will be updated
---> Package httpd24-tools.x86_64 0:2.4.23-1.66.amzn1 will be an update
--> Processing Conflict: httpd24-2.4.23-1.66.amzn1.x86_64 conflicts httpd < 2.4.23
--> Processing Conflict: httpd24-tools-2.4.23-1.66.amzn1.x86_64 conflicts httpd-tools < 2.4.23
--> Finished Dependency Resolution
Error: httpd24-tools conflicts with httpd-tools-2.2.31-1.8.amzn1.x86_64
Error: httpd24 conflicts with httpd-2.2.31-1.8.amzn1.x86_64
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
[root@ip-61 ec2-user]# yum l
[root@ip-61 ec2-user]# yum list installed | grep -in httpd
120:httpd24.x86_64 2.4.18-1.64.amzn1 @amzn-main
121:httpd24-tools.x86_64 2.4.18-1.64.amzn1 @amzn-main
[root@ip-61 ec2-user]# yum remove httpd-tools-2.2.31-1.8.amzn1.x86_64
Loaded plugins: priorities, update-motd, upgrade-helper
No Match for argument: httpd-tools-2.2.31-1.8.amzn1.x86_64
No Packages marked for removal
[root@ip-61 ec2-user]# yum remove httpd-2.2.31-1.8.amzn1.x86_64
Loaded plugins: priorities, update-motd, upgrade-helper
No Match for argument: httpd-2.2.31-1.8.amzn1.x86_64
No Packages marked for removal
[root@ip-61 ec2-user]#
Run Code Online (Sandbox Code Playgroud)
]#百胜清单已安装| grep -in httpd 120:httpd24.x86_64 2.4.18-1.64.amzn1 @ amzn-main 121:httpd24-tools.x86_64 2.4.18-1.64.amzn1 @ amzn-main
小智 5
基本上:sudo yum install mod24_ssl
虽然不为此而功劳,请参阅:https : //stackoverflow.com/a/21781886
| 归档时间: |
|
| 查看次数: |
3442 次 |
| 最近记录: |