[root@171 ~]# yum makecache
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again
In addition to the online method of uncommenting baseurl, it’s better to unload the EPEL package directly
[root@171 ~]# rpm -qa | grep epel
epel-release-6-8.noarch
[root@171 ~]# rpm -e epel-release-6-8.noarch