Cannot retrieve metalink for repository: epel. Please verify its path and try again解决办法

【linux命令】Cannot retrieve metalink for repository: epel. Please verify its path and try again解决办法

今天安装saltstack Minion端的时候,yum install salt-minion -y 报错:
错误:Cannot retrieve metalink for repository: epel. Please verify its path and try again

尝试更改dns等以后不能解决,于是网上搜索资料检查。网上搜索资料发现是地址方面问题,解决办法:

vi etc/yum.repos.d/epel.repo,把baseurl恢复,mirrotlist注释

#baseurl
mirrorlist

改成

baseurl
#mirrorlist
保存,问题解决。

 

hmoban主题是根据ripro二开的主题,极致后台体验,无插件,集成会员系统
自学咖网 » Cannot retrieve metalink for repository: epel. Please verify its path and try again解决办法