CentOS 6.4 安装 epel 源后报这个错误,百度一下都是说 centos
“bash
编辑/etc/yum.repos.d/epel.repo,把基础的恢复,镜像的地址注释掉curl
#baseurl mirrorlist
改为
ide
baseurl #mirrorlist
”
url
这个能够称为 “扬汤止沸”。真正的解决还得借签歪果仁的方法,spa
"orm
You just needed to update ca-certificates package. Before that just disable all repos with https that are failing. That's why sollution with commenting mirrorlist or using http instead https would work also.ci For example if you need to disable only epel repo:get yum --disablerepo=epel -y update ca-certificates This will also help wget, curl, and anything else that uses SSL certificates.it |
"
这是由于 ca-certificates 这个包太旧的缘由,更新一下就行了。在新一些的 好比 centos-6.7 上是没有这个问题的。