Apache用のバックエンドプロキシとしてnginxをインストールしようとすると、次のエラーが発生します。
=== Install Nginx from official repositories ===
Loaded plugins: fastestmirror, remove-with-leaves, tsflags, universal-hooks
nginx | 2.9 kB 00:00:00
Loading mirror speeds from cached hostfile
* EA4: 85.13.201.2
* base: mirror0.babylon.network
* elrepo: elrepo.reloumirrors.net
* epel: mirror0.babylon.network
* extras: mirror0.babylon.network
* ius: mirror.amsiohosting.net
* updates: mirror0.babylon.network
Resolving Dependencies
--> Running transaction check
---> Package nginx.x86_64 1:1.8.1-1.el7.ngx will be installed
--> Processing Conflict: ea-apache24-2.4.18-1.1.x86_64 conflicts webserver
--> Finished Dependency Resolution
Error: ea-apache24 conflicts with 1:nginx-1.8.1-1.el7.ngx.x86_64
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
私もこれを得るのに役立たない--skip-brokenを試しました。
root@panel [/]# yum install nginx --skip-broken
Loaded plugins: fastestmirror, remove-with-leaves, tsflags, universal-hooks
Loading mirror speeds from cached hostfile
* EA4: 85.13.201.2
* base: mirror0.babylon.network
* elrepo: elrepo.reloumirrors.net
* epel: mirror0.babylon.network
* extras: mirror0.babylon.network
* ius: mirror.amsiohosting.net
* updates: mirror0.babylon.network
Resolving Dependencies
--> Running transaction check
---> Package nginx.x86_64 1:1.8.1-1.el7.ngx will be installed
--> Processing Conflict: ea-apache24-2.4.18-1.1.x86_64 conflicts webserver
どんな助けでも歓迎します。 CentOS 7を実行しています。
ベストアンサー1
Provides:
タグは質問とは関係ありませんea-apache24-2.4.18-1.1.x86_64 conflicts webserver
。 ea-apache24パッケージには、Conflicts: webserver
この問題を引き起こすタグがあります。ほとんどすべてのWebサーバーが基本的に並べてインストールできるため、これは非常に賢いとは思いません。これらの問題なしに、デフォルトのCentOSリポジトリからApacheを入手できますが、なぜ一部の外部リポジトリからApacheをインストールするのかわかりません。