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
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
保存,问题解决。

 

转载请注明:西数超哥博客www.ysidc.top» Cannot retrieve metalink for repository: epel. Please verify its path and try again解决办法

https://www.ysidc.top 西数超哥博客,数据库,西数超哥,虚拟主机,域名注册,域名,云服务器,云主机,云建站,ysidc.top

西数超哥学习乐园,西数超哥基础运维经验教程分享的学习乐园,西数超哥博客,运维经验教程交流学习分享的博客

原创文章,作者:zhang sir,如若转载,请注明出处:https://www.ysidc.top/4886.html