2
回答
nginx 安装版本问题
利用AWS快速构建适用于生产的无服务器应用程序,免费试用12个月>>>   

yum install nginx -y

出现

Transaction Check Error:
  file /etc/nginx/mime.types from install of nginx-0.8.55-1.el5.i386 conflicts with file from package nginx-stable-1.0.8-1.el5.i386
  file /etc/nginx/mime.types.default from install of nginx-0.8.55-1.el5.i386 conflicts with file from package nginx-stable-1.0.8-1.el5.i386
  file /etc/nginx/nginx.conf from install of nginx-0.8.55-1.el5.i386 conflicts with file from package nginx-stable-1.0.8-1.el5.i386
  file /etc/nginx/nginx.conf.default from install of nginx-0.8.55-1.el5.i386 conflicts with file from package nginx-stable-1.0.8-1.el5.i386
  file /etc/rc.d/init.d/nginx from install of nginx-0.8.55-1.el5.i386 conflicts with file from package nginx-stable-1.0.8-1.el5.i386
  file /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/auto/nginx/nginx.so from install of nginx-0.8.55-1.el5.i386 conflicts with file from package nginx-stable-1.0.8-1.el5.i386
  file /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/nginx.pm from install of nginx-0.8.55-1.el5.i386 conflicts with file from package nginx-stable-1.0.8-1.el5.i386
  file /usr/sbin/nginx from install of nginx-0.8.55-1.el5.i386 conflicts with file from package nginx-stable-1.0.8-1.el5.i386
  file /usr/share/man/man3/nginx.3pm.gz from install of nginx-0.8.55-1.el5.i386 conflicts with file from package nginx-stable-1.0.8-1.el5.i386
  file /usr/share/nginx/html/404.html from install of nginx-0.8.55-1.el5.i386 conflicts with file from package nginx-stable-1.0.8-1.el5.i386
  file /usr/share/nginx/html/50x.html from install of nginx-0.8.55-1.el5.i386 conflicts with file from package nginx-stable-1.0.8-1.el5.i386
  file /usr/share/nginx/html/index.html from install of nginx-0.8.55-1.el5.i386 conflicts with file from package nginx-stable-1.0.8-1.el5.i386

于是我删除以上提示的file,再次yum install nginx -y还是不行。

于是 rpm -e nginx*

error: package nginx-1.1.6-1.el5.i386.rpm is not installed
error: package nginx-stable-1.0.8-1.el5.i386.rpm is not installed

我只有在线等答案了,5555

举报
加咧个油
发帖于6年前 2回/853阅
顶部