首页 > Web开发 > 详细

Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again

时间:2016-09-04 17:44:49      阅读:225      评论:0      收藏:0      [点我收藏+]
今天给Centos通过rpm -Uvh装了个epel的扩展(RHEL/CentOS 6 64-Bit)
# wget http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
# rpm -ivh epel-release-6-8.noarch.rpm

执行yum就开始报错:
Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again
解决办法是编辑/etc/yum.repos.d/epel.repo,把基础的恢复,镜像的地址注释掉
#baseurl
 mirrorlist
改成
baseurl
 #mirrorlist


本文出自 “风的记忆” 博客,请务必保留此出处http://mshaiting.blog.51cto.com/8918097/1846104

Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again

原文:http://mshaiting.blog.51cto.com/8918097/1846104

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!