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

Error: Cannot retrieve metalink for repository: epel. 错误的解决方法

时间:2015-07-09 17:39:29      阅读:128      评论:0      收藏:0      [点我收藏+]

标签:

问题重现:

当配置epel源成功,yum update的时候出现如下错误:

[root@py ~]# rpm -ivh http://mirrors.sohu.com/fedora-epel/6/x86_64/epel-release-6-8.noarch.rpm
[root@py ~]# yum update
Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile
Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again

解决方法:

修改/etc/yum.repos.d/epel.repo文件,将mirrirlist注释掉,并把baseurl的注释取消。搞定

 

Error: Cannot retrieve metalink for repository: epel. 错误的解决方法

标签:

原文地址:http://www.cnblogs.com/hanhp/p/4633510.html

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