gpt4 book ai didi

apache - 安装 mod_ssl issue apache 2.4 aws linux

转载 作者:太空宇宙 更新时间:2023-11-03 17:18:04 24 4
gpt4 key购买 nike

使用 aws Linux 。当我尝试安装 mod_ssl 时,它给出了与 ttpd-tools-2.2.31-1.8.amzn1.x86_64 和 httpd-2.2.31-1.8.amzn1.x86_64 的冲突错误。试过 yum remove 但它不起作用。当我执行 yum list 时,旧的 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]#

]# yum list installed | grep -in httpd120:httpd24.x86_64 2.4.18-1.64.amzn1 @amzn-main121:httpd24-tools.x86_64 2.4.18-1.64.amzn1 @amzn-main

最佳答案

基本上:sudo yum install mod24_ssl

不过,不要以此为荣,请参阅:https://stackoverflow.com/a/21781886

关于apache - 安装 mod_ssl issue apache 2.4 aws linux,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/40229096/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com