**
yum错误Cannot retrieve metalink for repository: epel/x86_64. Please verify its path and try again
**
最近在一台服务器上安装epel源后,更新yum缓存或者安装软件就会出现如下错误。
Cannot retrieve metalink for repository: epel/x86_64. Please verify its path and try again
解决办法:
将https转为http
既然不能用https的仓库,那就直接使用http吧,epel也正好支持http+https两种方式。
sed -i ‘s#https://#http://#g’ /etc/yum.repos.d/epel*repo
转载自https://www.jianshu.com/p/dc86e50a75ba