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

今天使用yum时出现如上问题,解决办法:

1.编辑:/etc/yum.repos.d/epel.repo

将baseurl的注释取消, mirrorlist注释掉,如图:

原文地址:https://www.cnblogs.com/dadong616/p/4916911.html