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

  sre

DqCQ6s.jpg
报错:

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

解决:
/etc/yum.repos.d/epel.repo第3行注释去掉,把第四行注释掉,修改为

[epel]
name=Extra Packages for Enterprise Linux 6 - basearch
baseurl=http://download.fedoraproject.org/pub/epel/6/basearch
#mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-6&arch=$basearch

LEAVE A COMMENT

Captcha Code