【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
尝试
错误: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
保存,问题解决。
代码注释
[!--zhushi--]