计算机技术

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源并更新就可以了,命令如下:

[html] view plain copy

  1. yum –disablerepo=epel -y update ca-certificates  

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

https://blog.csdn.net/shile/article/details/52250566

Related Articles

发表回复

Check Also
Close
Back to top button