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

相关文章
相关标签/搜索