有没有人可以研究这个问题并提供帮助?
我有一个拥有红帽订阅的红帽服务器,我尝试使用/ usr / bin / yum list-security –security获取所有安全修补程序列表。 执行上面的命令后,我看到列出的所有软件包都是SuSE软件包。 不知道为什么。
[root@test ~]# /usr/bin/yum list-security --security Loaded plugins: rhnplugin, security slessp3-bash-9740 security bash-3.2-147.20.1.x86_64 slessp3-bash-9780 security bash-3.2-147.22.1.x86_64 Slessp3-binutils-201501-10214 security binutils-2.23.1-0.23.15.x86_64
尝试使用yum repolistvalidationyum存储库,并且看到启用了SuSE repo。 但是我没有看到yum.repos.d下的repo文件被禁用。
[root@test ~]# yum repolist Loaded plugins: rhnplugin, security repo id repo name status rhel-source Red Hat Enterprise Linux 5Server - Source enabled: 5,076 rpmforge RHEL 5Server - RPMforge.net - dag enabled: 11,403 sles11-sp3-pool-x86_64 SLES11-SP3-Pool for x86_64 enabled: 2,862 sles11-sp3-suse-manager-tools-x86_64 SLES11-SP3-SUSE-Manager-Tools x86_64 enabled: 121 sles11-sp3-updates-x86_64 SLES11-SP3-Updates for x86_64 enabled: 3,618 repolist: 23,080 [root@test yum.repos.d]# ls -lrt total 28 -rw-r--r-- 1 root root 561 Jan 14 2015 rhel-debuginfo.repo -rw-r--r-- 1 root root 1128 Mar 15 2012 rpmforge.repo -rw-r--r-- 1 root root 728 Mar 15 2012 mirrors-rpmforge-testing -rw-r--r-- 1 root root 739 Mar 15 2012 mirrors-rpmforge -rw-r--r-- 1 root root 222 Sep 17 12:20 rhel-source.repo
线索在消息: Loaded plugins: rhnplugin
你的RHEL系统是在Red Hat上注册更新的,或者是由RHN Satellite服务器(或开源的Spacewalk服务器,SuSe作为SuSepipe理器)通过yum插件pipe理的,然后你不需要正常的repoconfiguration文件为了百胜
首先,根据Google的说法, rpmforge.rpm似乎已经变成了repoforge.org 。 所以你的rpmforge.repo可能是不rpmforge.repo 。
我会用yum-config-manager --disable rpmforge* (和镜像相同)禁用它。 你也可以编辑回购文件,并设置enabled=0如果你想。 也许镜子现在指向SLES?
yum clean all应该让系统忘记这些回购和重build的东西。
我想你可能也需要摆脱SLES插件。 说明这样做是在这里… https://docs.fedoraproject.org/en-US/Fedora_Core/5/html/Software_Management_Guide/sn-yum-managing-plugins.html