商务合作加Q:411239339

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

浏览:263次阅读
没有评论

共计 513 个字符,预计需要花费 2 分钟才能阅读完成。

在安装 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

正文完
扫码赞助
post-qrcode
 0
果子
版权声明:本站原创文章,由 果子 于2017-06-21发表,共计513字。
转载说明:除特殊说明外本站文章皆由果较瘦原创发布,转载请注明出处。