redhat linux 8.5 Repository epel is listed more than once in the configuration

redhat linux 8.5 在命令行输入

  • #sudo dnf update
  • Repository epel is listed more than once in the configuration

设置了多个 epel 仓库

进入文件/etc/yum.repos.d

删除多余的centos文件即可。

再命令行再次输入:

  • #sudo dnf update