失败:来自 epel 的 nginx-1.0.15-12.el6.x86_64.rpm
failure: nginx-1.0.15-12.el6.x86_64.rpm from epel
我正在尝试在 Linux Centos 6.7
中安装 Nginx
我以 root 身份登录并且 运行
yum update
yum install nginx -y
我不断得到
nginx-1.0.15-12.el6.x86_64: failure: nginx-1.0.15-12.el6.x86_64.rpm from epel: [Errno 256] No more mirrors to try.
任何 hint/suggestion 将不胜感激
尝试#2
尝试 yum clean metadata
然后 yum install nginx -y
,我得到了
[root@CentOS6 ~]# yum install nginx -y
Loaded plugins: fastestmirror, refresh-packagekit, security
Setting up Install Process
Loading mirror speeds from cached hostfile
epel/metalink | 12 kB 00:00
* base: mirror.solarvps.com
* epel: ftp.cse.buffalo.edu
* extras: mirror.atlanticmetro.net
* remi-php56: mirrors.mediatemple.net
* remi-safe: mirrors.mediatemple.net
* updates: mirror.net.cen.ct.gov
base | 3.7 kB 00:00
base/primary_db | 4.6 MB 00:00
epel | 4.3 kB 00:00
epel/primary_db | 3.6 MB 00:00
Error: xz compression not available
尝试#3
yum install pyliblzma
或 yum install python-backports-lzma
Loaded plugins: fastestmirror, refresh-packagekit, security
Setting up Install Process
Loading mirror speeds from cached hostfile
* base: mirror.solarvps.com
* epel: ftp.cse.buffalo.edu
* extras: mirror.atlanticmetro.net
* remi-php56: mirrors.mediatemple.net
* remi-safe: mirrors.mediatemple.net
* updates: mirror.trouble-free.net
Error: xz compression not available
尝试 #4 有效
我通过执行以下操作安装了 Nginx
yum clean all
yum remove epel-release
yum update
yum install epel-release
yum install nginx -y
我正在尝试在 Linux Centos 6.7
中安装 Nginx我以 root 身份登录并且 运行
yum update
yum install nginx -y
我不断得到
nginx-1.0.15-12.el6.x86_64: failure: nginx-1.0.15-12.el6.x86_64.rpm from epel: [Errno 256] No more mirrors to try.
任何 hint/suggestion 将不胜感激
尝试#2
尝试 yum clean metadata
然后 yum install nginx -y
,我得到了
[root@CentOS6 ~]# yum install nginx -y
Loaded plugins: fastestmirror, refresh-packagekit, security
Setting up Install Process
Loading mirror speeds from cached hostfile
epel/metalink | 12 kB 00:00
* base: mirror.solarvps.com
* epel: ftp.cse.buffalo.edu
* extras: mirror.atlanticmetro.net
* remi-php56: mirrors.mediatemple.net
* remi-safe: mirrors.mediatemple.net
* updates: mirror.net.cen.ct.gov
base | 3.7 kB 00:00
base/primary_db | 4.6 MB 00:00
epel | 4.3 kB 00:00
epel/primary_db | 3.6 MB 00:00
Error: xz compression not available
尝试#3
yum install pyliblzma
或 yum install python-backports-lzma
Loaded plugins: fastestmirror, refresh-packagekit, security
Setting up Install Process
Loading mirror speeds from cached hostfile
* base: mirror.solarvps.com
* epel: ftp.cse.buffalo.edu
* extras: mirror.atlanticmetro.net
* remi-php56: mirrors.mediatemple.net
* remi-safe: mirrors.mediatemple.net
* updates: mirror.trouble-free.net
Error: xz compression not available
尝试 #4 有效
我通过执行以下操作安装了 Nginx
yum clean all
yum remove epel-release
yum update
yum install epel-release
yum install nginx -y