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

安装eple源,在yum clean all;yum makecache 后出现报错

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


解决办法:

sed -i 's/mirrorlist/\#mirrorlist/g' epel.repo epel-testing.repo


sed -i 's/\#baseurl/baseurl/g' epel.repo epel-testing.repo


yum clean all

yum makecache

你可能感兴趣的:(linux,yum,eple)