Cannot retrieve metalink for repository: epel. Please verify its path and try again这个错误是epel yum 源的问题。
Cannot retrieve metalink for repository: epel. Please verify its path and try again
修改/etc/yum.repos.d/epel.repo中的[epel]字段下,#baseurl=改为baseurl=,mirrorlist=改为#mirrorlist=。
[epel]
#baseurl=
baseurl=
mirrorlist=
#mirrorlist=
执行yum clean all命令后,就可以重新使用yum来操作服务器组件了。
yum clean all