yum [Errno 256] No more mirrors to try 解决方法
2017-08-18 16:34
495 查看
输入下面的命令即可解决问题:
yum clean all
yum makecache
[root@localhost yum]# yum update
Loaded plugins: fastestmirror, refresh-packagekit, security
Repository base is listed more than once in the configuration
Repository updates is listed more than once in the configuration
Repository extras is listed more than once in the configuration
Repository centosplus is listed more than once in the configuration
Repository contrib is listed more than once in the configuration
Determining fastest mirrors
epel/metalink |
4.6 kB 00:00
* epel: mirrors.yun-idc.com
* rpmforge: mirrors.neusoft.edu.cn
http://mirrors.163.com/centos/$releasever/os/i386/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: base. Please verify its path and try again
[root@localhost yum]# vi /etc/yum.conf
[root@localhost yum]# yum update -y
Loaded plugins: fastestmirror, refresh-packagekit, security
Repository base is listed more than once in the configuration
Repository updates is listed more than once in the configuration
Repository extras is listed more than once in the configuration
Repository centosplus is listed more than once in the configuration
Repository contrib is listed more than once in the configuration
Loading mirror speeds from cached hostfile
epel/metalink |
4.6 kB 00:00
* epel: mirrors.yun-idc.com
* rpmforge: mirrors.neusoft.edu.cn
base |
3.7 kB 00:00
extras |
3.5 kB 00:00
rpmforge
yum clean all
yum makecache
[root@localhost yum]# yum update
Loaded plugins: fastestmirror, refresh-packagekit, security
Repository base is listed more than once in the configuration
Repository updates is listed more than once in the configuration
Repository extras is listed more than once in the configuration
Repository centosplus is listed more than once in the configuration
Repository contrib is listed more than once in the configuration
Determining fastest mirrors
epel/metalink |
4.6 kB 00:00
* epel: mirrors.yun-idc.com
* rpmforge: mirrors.neusoft.edu.cn
http://mirrors.163.com/centos/$releasever/os/i386/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: base. Please verify its path and try again
[root@localhost yum]# vi /etc/yum.conf
[root@localhost yum]# yum update -y
Loaded plugins: fastestmirror, refresh-packagekit, security
Repository base is listed more than once in the configuration
Repository updates is listed more than once in the configuration
Repository extras is listed more than once in the configuration
Repository centosplus is listed more than once in the configuration
Repository contrib is listed more than once in the configuration
Loading mirror speeds from cached hostfile
epel/metalink |
4.6 kB 00:00
* epel: mirrors.yun-idc.com
* rpmforge: mirrors.neusoft.edu.cn
base |
3.7 kB 00:00
extras |
3.5 kB 00:00
rpmforge
相关文章推荐
- yum [Errno 256] No more mirrors to try 解决方法
- yum [Errno 256] No more mirrors to try 解决方法
- yum [Errno 256] No more mirrors to try 解决方法 更新源
- yum [Errno 256] No more mirrors to try 解决方法
- yum [Errno 256] No more mirrors to try 解决方法
- YUM [Errno 256] No more mirrors to try.解决办法
- CentOS学习12_ [Errno 256] No more mirrors to try 解决方法
- 解决 yum [Errno 256] No more mirrors to try
- 解决 yum [Errno 256] No more mirrors to try
- 解决yum [Errno 256] No more mirrors to try
- yum出错:[Errno 256] No more mirrors to try和Error: Cannot find a valid baseurl for repo: base
- yum 的 repodata/primary.xml.gz from ascnew: [Errno 256] No more mirrors to try. 的问题
- 报[Errno 256] No more mirrors to try.错,的另一种解决办法
- Ambari学习11_安装过程[Errno 256] No more mirrors to try问题解决
- R第二问 CentOS6.5安装 yum [Errno 256] No more mirrors to try
- yum [Errno 14] [Errno 256] No more mirrors to try
- yum [Errno 256] No more mirrors to try.
- yum出错:Error: failure: repodata/filelists.xml.gz from google-chrome: [Errno 256] No more mirrors to try.
- yum install gcc 时遇到[Errno 256] No more mirrors to try
- YUM安装遭遇: [Errno 256] No more mirrors to try