解决CentOS 6.x中不能使用epel源的问题

2017/06/2114:48:11解决CentOS 6.x中不能使用epel源的问题已关闭评论

在安装epel-release源后,我们可能发现在CentOS 6.x中会报以下错误:

http://download.fedoraproject.org/pub/epel/6/x86_64/repodata/f3a638252f36722fa11f813216013305a6e8a95516f8919dc34fb7c8d9f39958-other.sqlite.bz2: [Errno 14] problem making ssl connection

Trying other mirror.

Error: failure: repodata/f3a638252f36722fa11f813216013305a6e8a95516f8919dc34fb7c8d9f39958-other.sqlite.bz2 from epel: [Errno 256] No more mirrors to try.

这是因为官方的ssl证书已经更新了,需要做如下使用:

#更新证书文件
yum -y update  ca-certificates
#清空缓存
yum clean all
#生成本地缓存
yum makecache
#安装网卡流量监控程序测试下 
yum install iftop

  • 微信扫码赞助
  • weinxin
  • 支付宝赞助
  • weinxin