运行yum报错Error: Cannot retrieve metalink for reposit

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

在网上查了查,解决办法都是编辑/etc/yum.repos.d/epel.repo,把基础的恢复,镜像的地址注释掉

#baseurl
mirrorlist

改成

baseurl
#mirrorlist

posted @ 2016-07-10 01:21  J0der  阅读(156)  评论(0编辑  收藏  举报