“yum list updates”在某些CentOS 5.7机器上不显示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)
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.
取决于当前首选镜像重新同步的频率和时间,新的二进制文件在整个镜像networking中传播时可能会有延迟; 发生在正确的时间重新同步的镜像将拥有它们,而那些正在等待下一次重新同步的镜像则不会。
如果这样做会让你感到厌烦,那么我发现一个yum clean all总是会让我随机select一个不同的镜子,而这个镜子可能已经准备好了。
如果真的让你烦恼,你应该查看CentOS镜像列表中列出的镜像 ,find离你近的镜像 ,然后将其更新到你的/etc/yum.repos.d/CentOS-Base.repo 。
或者你可以再等一两天!