linux使用yum更新下载时报错PYCURL ERROR 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"
  • 2
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值