nginx 安装版本问题

加咧个油 发布于 2011/10/24 22:28
阅读 869
收藏 0

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

加载中
0
红薯
红薯
一直都是编译安装,没玩过这种的
加咧个油
加咧个油
找知道我还是不应该偷懒~~~自己编译的。。。
0
mark35
mark35
这个东东直接编译更快,就那几个参数
返回顶部
顶部