码迷,mamicode.com
首页 > Web开发 > 详细

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

时间:2016-09-04 17:46:30      阅读:145      评论:0      收藏:0      [点我收藏+]

标签:yum   epel   

今天给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

标签:yum   epel   

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

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!