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 上是沒有這個問題的。