yum报错[Errno 14] PYCURL ERROR 22(更换yum源)

Yum报错[Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404"
解决办法:

1、下载CentOS6-Base-163.repo

http://mirrors.163.com/.help/centos.html

2、替换/etc/yum.repos.d下的CentOS-Base.repo文件

mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup

mv CentOS6-Base-163.repo /etc/yum.repos.d/CentOS-Base.repo

3、yum makecache

 

posted on 2014-01-22 14:13  jingyunyb  阅读(4238)  评论(0编辑  收藏  举报