IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> [CentOS]安装 epel 后,运行 yum 报错
猫猫草
post 2014-11-18 16:16:01, Tue
Post #1


猫猫猫
***

Group: Power Cat
Posts: 626
Joined: 2006-12-8
Member No.: 2



安装 epel (比如 http://mirror.sfo12.us.leaseweb.net/epel/7...-7-2.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
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 



Lo-Fi Version Time is now: 2024-11-1 05:32