Invalid configuration value: failovermethod=priority

Invalid configuration value: failovermethod=priority

shunhang 394 2021-12-15

centos 8配置阿里云的源后,执行sudo dnf update,出现以下log:

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 都注释掉。