首页 > 代码库 > 运行yum报错Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again

运行yum报错Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again

解决办法:

vi /etc/yum.repos.d/epel.repo

编辑[epel]下的baseurl前的#号去掉,mirrorlist前添加#号

参考资料:http://teddysun.com/153.html

运行yum报错Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again