On Sat, 2007-05-19 at 17:09 +0100, Chris Date wrote:
If you are currently using another version CentOS-4 version, using this command will upgrade you to CentOS-4.5:
yum update
That doesn't work with a fresh install of 4.2 (from the Linux Magazine cover DVD, April '06). 'yum update' gives the following output:
--------------------------
# yum update Setting up Update Process Setting up repositories update 100% |=========================| 951 B 00:00 base 100% |=========================| 1.1 kB 00:00 addons 100% |=========================| 951 B 00:00 extras 100% |=========================| 1.1 kB 00:00 Reading repository metadata in from local files primary.xml.gz 100% |=========================| 25 kB 00:06 update : ################################################## 104/104 Added 104 new packages, deleted 0 old in 2.20 seconds primary.xml.gz 100% |=========================| 40 kB 00:17 http://mirror.centos.org/centos/4/os/i386/repodata/primary.xml.gz: [Errno 4] Socket Error: timed out Trying other mirror. Error: failure: repodata/primary.xml.gz from base: [Errno 256] No more mirrors to try. --------------------------
I encountered this problem a long time ago but haven't had time to look at it more closely since. Now would be a good time to solve it, so I'd welcome any ideas.
I don't know if it may be related, but there has been a couple updates of yum since 4.2. I recall one required that yum be updated first.
yum update yum
and the latest one added new features. Try doing the update of yum and see if it helps?
Cheers, Chris
<snip sig stuff>
HTH -- Bill