大家帮我看一下我需要禁用那几个源,用什么命令?
yum repolist
Repository base is listed more than once in the configuration
Repository extras is listed more than once in the configuration
Repository centosplus is listed more than once in the configuration
Repository PowerTools is listed more than once in the configuration
Repository AppStream is listed more than once in the configuration
仓库 id 仓库名称
AppStream CentOS-8.5.2111 - AppStream - mirrors.aliyun.com
appstream CentOS Stream 9 - AppStream
base CentOS-8.5.2111 - Base - mirrors.aliyun.com
baseos CentOS Stream 9 - BaseOS
elrepo ELRepo.org Community Enterprise Linux Repository - el8
epel Extra Packages for Enterprise Linux 8 - x86_64
epel-modular Extra Packages for Enterprise Linux Modular 8 - x86_64
extras CentOS-8.5.2111 - Extras - mirrors.aliyun.com
extras-common CentOS Stream 9 - Extras packages
去文件目录里,直接删除就可以了。
怕后续有用,就先备份一下,之后直接 rm -rf 直接来就好。