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

运行yum报错Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again

时间:2015-11-18 10:36:41      阅读:142      评论:0      收藏:0      [点我收藏+]

标签:

今天给Centos通过rpm -Uvh装了个epel的扩展后,执行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

运行yum报错Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again

标签:

原文地址:http://www.cnblogs.com/yangxiaofei/p/4973495.html

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