yum错误Cannot retrieve metalink for repository: epel/x86_6

2021-02-03 02:13

阅读:598

标签:release   原因   repos   eve   retrieve   ali   its   安装   x86_64   

yum安装epel-release后yum安装软件报错

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

原因是epel仓库默认使用https

解决方法:

改epel文件,将https改为http

sed -i ‘s#https://#http://#g‘ /etc/yum.repos.d/epel*repo

yum错误Cannot retrieve metalink for repository: epel/x86_6

标签:release   原因   repos   eve   retrieve   ali   its   安装   x86_64   

原文地址:https://www.cnblogs.com/tiantianhappy/p/13166279.html


评论


亲,登录后才可以留言!