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

来源:互联网 发布:生产数据统计方法 编辑:程序博客网 时间:2024/06/04 18:10

解决办法  

编辑 /etc/yum.repos.d/epel.repo and /etc/yum.repos.d/epel-testing.repo 两个文件


把所有 #baseurl 的注释去掉 ,并在所有mirrorurl 前加上注释

原文是在 stackoverflow 上看到的
地址 http://stackoverflow.com/questions/26734777/yum-error-cannot-retrieve-metalink-for-repository-epel-please-verify-its-path
0 0
原创粉丝点击