首页 > 代码库 > Cannot retrieve metalink for repository: epel.

Cannot retrieve metalink for repository: epel.

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

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

#baseurl
mirrorlist

改成

baseurl
#mirrorlist

问题搞定

Cannot retrieve metalink for repository: epel.