系统不能够使用yum有几种情况
第一dns是否配置正常请检查cat /etc/resolv.conf
nameserver 8.8.8.8
nameserver 8.8.8.8
第二种检查下载代理是否开启
/etc/yum.conf的proxy打开了,关闭即可
#proxy=http://192.168.11.82:808
我是因为执行了yum update长时间更新未结束ctrl + z停止后yum的update和install都不可用了 解决方案如下标红处
yum clean all
yum check
yum erase apf
[root@test01 ~]# yum update
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
* base: centos-hcm.viettelidc.com.vn
* extras: centos-hcm.viettelidc.com.vn
* updates: centos-hcm.viettelidc.com.vn
http://centos-hcm.viettelidc.com.vn/6.9/updates/x86_64/repodata/9006a815c20fdae23d6061654221364e3e6fc97ec9d7ecb7adb4253a8b7241c7-primary.sqlite.bz2: [Errno 14] PYCURL ERROR 56 - "Failure when receiving data from the peer"
Trying other mirror.
http://centos-hn.viettelidc.com.vn/6.9/updates/x86_64/repodata/9006a815c20fdae23d6061654221364e3e6fc97ec9d7ecb7adb4253a8b7241c7-primary.sqlite.bz2: [Errno 14] PYCURL ERROR 56 - "Failure when receiving data from the peer"
Trying other mirror.
http://mirror.digistar.vn/centos/6.9/updates/x86_64/repodata/9006a815c20fdae23d6061654221364e3e6fc97ec9d7ecb7adb4253a8b7241c7-primary.sqlite.bz2: [Errno 14] PYCURL ERROR 56 - "Failure when receiving data from the peer"
Trying other mirror.
http://mirror.ehost.vn/centos/6.9/updates/x86_64/repodata/9006a815c20fdae23d6061654221364e3e6fc97ec9d7ecb7adb4253a8b7241c7-primary.sqlite.bz2: [Errno 14] PYCURL ERROR 56 - "Failure when receiving data from the peer"
Trying other mirror.
http://mirror.pregi.net/centos/6.9/updates/x86_64/repodata/9006a815c20fdae23d6061654221364e3e6fc97ec9d7ecb7adb4253a8b7241c7-primary.sqlite.bz2: [Errno 14] PYCURL ERROR 56 - "Failure when receiving data from the peer"
Trying other mirror.
http://mirror.rise.ph/centos/6.9/updates/x86_64/repodata/9006a815c20fdae23d6061654221364e3e6fc97ec9d7ecb7adb4253a8b7241c7-primary.sqlite.bz2: [Errno 14] PYCURL ERROR 56 - "Failure when receiving data from the peer" |