在某些 CentOS 5.7 机器上,‘yum list updates’ 不显示适用于 5.8 的 centos-release。这是怎么回事?
机器A
[dnd@one:~]$ yum list updates | grep centos-release
[dnd@one:~]$ cat /etc/redhat-release
CentOS release 5.7 (Final)
机器B
[root@l-e0 ~]# yum list updates | grep centos-release
centos-release.x86_64 10:5-8.el5.centos base
centos-release-notes.x86_64 5.8-0 base
[root@l-e0 ~]# cat /etc/redhat-release
CentOS release 5.7 (Final)
答案1
5.8 刚刚发布。我引用 CentOS 邮件列表的内容:
Date: Mon, 05 Mar 2012 04:12:01 -0600 From: Johnny Hughes <[email protected]> To: [email protected] Subject: Re: [CentOS] CentOS 5.8 Critical Samba Update [...] I am populating the CentOS mirrors with the 5.8 release at this time. We are very close to releasing 5.8, just doing some extended testing, which I fully expect it to pass based on the fixes rolled in. I expect that CentOS-5.8 will be released to the external mirrors in less than 24 hours and released to the 24-48 hours after that. [...] So, look for 5.8 to be released in the next 24-72 hours.
根据您当前首选的镜像重新同步的频率和时间,新的二进制文件在整个镜像网络中传播时可能会有延迟;恰好在正确的时间重新同步的镜像将会拥有它们,而等待下一次重新同步的镜像则不会拥有它们。
如果这让您感到烦恼,我发现yum clean all
通常会允许我随机选择不同的镜像,并且可能已准备好更新。
如果它真的打扰你了,你应该看看列出的镜子CentOS 镜像列表,找到一个靠近您并且具有更新的一个,然后将其硬连线到您的/etc/yum.repos.d/CentOS-Base.repo
。
或者您可以再等一两天!