運行yum報錯Error: Cannot retrieve metalink for reposit

http://www.netpc.com.cn/593.html html


今天給Centos經過rpm -Uvh裝了個epel的擴展後,執行yum就開始報錯: centos

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

在網上查了查,解決辦法都是編輯/etc/yum.repos.d/epel.repo,把基礎的恢復,鏡像的地址註釋掉 spa

#baseurl
mirrorlist .net

改爲 htm

baseurl
#mirrorlist get

相關文章
相關標籤/搜索