今天給Centos經過rpm -Uvh裝了個epel的擴展後,執行yum就開始報錯:html
Error: Cannot retrieve metalink for repository: epel. Please verify its path and try againcentos
處理很簡單,修改文件「/etc/yum.repos.d/epel.repo」, 把基礎的恢復,鏡像的地址註釋掉,即將baseurl的註釋取消, mirrorlist註釋掉。便可。ide
參考URL: http://www.netpc.com.cn/593.htmlpost