首页 > Web开发 > 详细

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

时间:2015-07-09 17:36:45      阅读:837      评论: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
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!