2016-10-24 3 views
0

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がリストされません。それはなぜか分かりません。これに関して誰も助けてくれませんか?mod_sslをインストールするApache 2.4をインストールするaws linux

[[email protected] 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 
[[email protected] ec2-user]# yum l 

[[email protected] 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 


[[email protected] 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 

[[email protected] 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 
[[email protected] ec2-user]# 

]#yum list installed | grepの-in HTTPD 120:httpd24.x86_64 2.4.18-1.64.amzn1 @ AMZNメイン 121:httpd24-tools.x86_64 2.4.18-1.64.amzn1 @ AMZNメイン

+0

誰もがこれについて私を助けることができます。 – Arav

+1

[mod \ _ssl amazon linuxをインストール中]の複製があります(http://stackoverflow.com/questions/19646150/installing-mod-ssl-amazon-linux) –

答えて

-1

再インストール使用してみてください

のyum <を削除し、リストされたすべてのパッケージ>

のyumのmod_sslをインストール

+0

yumはhttpd-tools-2.2.31-1.8を削除しました。 amzn1.x86_64とyumはhttpd-2.2.31-1.8.amzn1.x86_64を削除しましたが、mod_sslをインストールしましたがまだ動作しませんでした – Arav

+0

誰でもこの問題を解決するのに役立つでしょうか?困惑のためにありがとう – Arav

1

基本的には:sudoのyumを参照、このかかわらずのための信用を取っていない

に24mod_sslをインストール:https://stackoverflow.com/a/21781886

+1

、それは実際に 'sudo yum install mod24_ssl'です – Typel

関連する問題