Cannot retrieve metalink for repository: epel/x86_64. Please verify its path and try again 解决方法...

原文链接: http://www.cnblogs.com/sunshine-long/p/10725173.html

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

1 [epel]
2 name=Extra Packages for Enterprise Linux 7 - $basearch
3 #baseurl=http://download.fedoraproject.org/pub/epel/7/$basearch
4 metalink=https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=$basearch

 

取消第三行注释,并注释第四行

1 [epel]
2 name=Extra Packages for Enterprise Linux 7 - $basearch
3 baseurl=http://download.fedoraproject.org/pub/epel/7/$basearch
4 #metalink=https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=$basearch

 

转载于:https://www.cnblogs.com/sunshine-long/p/10725173.html

你可能感兴趣的:(Cannot retrieve metalink for repository: epel/x86_64. Please verify its path and try again 解决方法...)