我在两个服务器上运行CentOS,两者都带有yum3.2.19。一台服务器上出现了欺骗,而另一台服务器却没有。我查了一下复审者,他们吻合:
Server1:
[root@localhost yum.repos.d]# yum repolist all
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: pubmirrors.reflected.net
* updates: mirror.atlanticmetro.net
* addons: chi-10g-1-mirror.fastsoft.net
* extras: mirrors.greenmountainaccess.net
repo id repo name status
addons CentOS-5 - Addons enabled: 0
base CentOS-5 - Base enabled: 2,508
c5-media CentOS-5 - Media disabled
centosplus CentOS-5 - Plus disabled
contrib CentOS-5 - Contrib disabled
extras CentOS-5 - Extras enabled: 311
updates CentOS-5 - Updates enabled: 339
repolist: 3,158Server2:
[root@server yum.repos.d]# yum repolist all
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirror.sanctuaryhost.com
* updates: mirror.trouble-free.net
* addons: mirror.skiplink.com
* extras: mirror.atlanticmetro.net
repo id repo name status
addons CentOS-5 - Addons enabled: 0
base CentOS-5 - Base enabled: 2,508
c5-media CentOS-5 - Media disabled
centosplus CentOS-5 - Plus disabled
contrib CentOS-5 - Contrib disabled
extras CentOS-5 - Extras enabled: 311
updates CentOS-5 - Updates enabled: 339
repolist: 3,158Server1在yum中看到了欺骗:
[root@localhost yum.repos.d]# yum search duplicity
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: pubmirrors.reflected.net
* updates: mirror.atlanticmetro.net
* addons: chi-10g-1-mirror.fastsoft.net
* extras: mirrors.greenmountainaccess.net
============================================================ Matched: duplicity =============================================================
duplicity.i386 : Encrypted bandwidth-efficient backup using rsync algorithmServer2没有看到欺骗性:
[root@server yum.repos.d]# yum search duplicity
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirror.sanctuaryhost.com
* updates: mirror.trouble-free.net
* addons: mirror.skiplink.com
* extras: mirror.atlanticmetro.net
Excluding Packages in global exclude list
Finished
Warning: No matches found for: duplicity
No Matches found我遗漏了什么(试图在Server2上使用yum获得欺骗)?我知道镜子是不同的,但我不认为这将是重要的,如果回购是相同的。
发布于 2009-07-14 03:25:28
首先,镜像不一定总是完全“镜像”存储库。
第二,首先尝试这样做:
user@host:[~]$ yum clean all发布于 2009-07-14 11:22:22
第二个服务器显示
排除全局排除列表中的包
检查全局排除列表中是否提到了欺骗性。
发布于 2009-07-22 18:56:07
几件事:
https://serverfault.com/questions/40249
复制相似问题