linux使用yum更新下载时报错PYCURL ERROR 56 - "Failure when receiving data from the peer"

论坛 期权论坛 脚本     
匿名技术用户   2020-12-30 11:35   11   0

系统不能够使用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"
分享到 :
0 人收藏
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

积分:7942463
帖子:1588486
精华:0
期权论坛 期权论坛
发布
内容

下载期权论坛手机APP