天天看點

Cannot retrieve metalink for repository: epel…錯誤解決辦法

RHEL6下yum -y install epel-release安裝了epel源,但yum makecache出錯。

centos下安裝完EPEL源然後更新一下yum緩存如果發現這樣的錯誤:

Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again

這就表明你需要更新CA憑證了,那麼隻需要更新CA憑證就可以,不過在此同時需要臨時禁用epel源并更新就可以了,指令如下:

yum --disablerepo=epel -y update ca-certificates
           

參考:http://www.slll.info/archives/1842.html