yum错误:Invalid configuration value: failovermethod=priority in /etc/yum.repos.d/CentOS-Epel.repo;

错误描述:

$ yum install -y yum-utils device-mapper-persistent-data lvm2
Invalid configuration value: failovermethod=priority in /etc/yum.repos.d/CentOS-Epel.repo; Configuration: OptionBinding with id "failovermethod" does not exist

解决方法

进入文件 /etc/yum.repos.d/CentOS-Epel.repo,将 failovermethod=priority 注释。

你可能感兴趣的:(踩坑记录,centos,服务器,linux)