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

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

centos下安裝完EPEL源而後更新一下yum緩存若是發現這樣的錯誤:
Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again
這就代表你須要更新CA證書了,那麼只須要更新CA證書就能夠,不過在此同時須要臨時禁用epel源並更新就能夠了,命令以下:centos

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

 


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

相關文章
相關標籤/搜索