RHEL6安装完EPEL源后运行报错:Error: Cannot retrieve metalink for repository: |
发表者:admin分类:Devops2017-12-21 15:20:58 阅读[3279] |
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
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
转载请标明出处【RHEL6安装完EPEL源后运行报错:Error: Cannot retrieve metalink for repository:】。
《www.micoder.cc》
虚拟化云计算,系统运维,安全技术服务.
Tags: | [阅读全文...] |
最新评论