当前位置:   article > 正文

linux使用yum更新下载时报错PYCURL ERROR 56 - "Failure when receiving data from the peer"_curl: (56) failure when receiving data from the pe

curl: (56) failure when receiving data from the peer

系统不能够使用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"
声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/Gausst松鼠会/article/detail/154862
推荐阅读
相关标签
  

闽ICP备14008679号