解决 CentOS 7 报错: "Repository base is listed more than once in the configuration"问题
使用yum下载
先上报错:
Repository base is listed more than once in the configuration
Repository updates is listed more than once in the configuration
Repository extras is listed more than once in the configuration
xshell给出的建议解决办法
问题原因:根据报错信息可知,某个配置文件里的base,updates,extras等重复出现,因此首先进入/etc/repos.d/查看源文件的配置,发现这些文件只用到了.repo结尾的文件。
解决办法:将出错的.repo更改为repo.bak格式即可。