安装salt客户端出现错误

错误信息:Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again


解决:

vim /etc/yum.repos.d/epel.repo

修改前:

将下面的baseurl前面的#都取消,在mirrorlist前面加上注释【全部】

#baseurl=http://download.fedoraproject.org/pub/epel/6/$basearch

mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-6&arch=$basearch


修改后:

baseurl=http://download.fedoraproject.org/pub/epel/6/$basearch

#mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-6&arch=$basearch


你可能感兴趣的:(客户端)