今天给Centos通过rpm -Uvh装了个epel的扩展后,执行yum就开始报错:
Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again
在网上查了查,解决办法都是编辑/etc/yum.repos.d/epel.repo,把基础的恢复,镜像的地址注释掉
[epel]
#baseurl
mirrorlist
改成
baseurl
#mirrorlist
本文出自 “渐行渐远” 博客,请务必保留此出处http://825536458.blog.51cto.com/4417836/1903329
Error: Cannot retrieve metalink for repository: epel.
原文:http://825536458.blog.51cto.com/4417836/1903329