Problems upgrading from CentOS 5.2 to 5.3
April 3, 2009
CentOS 5.3 has recently been released and the update appears to automatically upgrades my machine to 5.2 to 5.3. the problem is that the update ends with the following error:
kernel - 2.6.18-128.1.6.el5.i686: failure: RPMS/ kernel-2.6.18-128.1.6.el5.i686.rpm from updates: [Errno 256] No more mirrors to try.
This error usualy indicate that there is a problem with the yum cache. I took a look at the release notes and it indicated that we may need to update glibc first. Here’s what I did.
- In CentOS, start a terminal window.
- su to root.
- Run the following commands:
yum clean all
yum update glibc
yum update
The first command clears the cache and all of the stale packages. I am not sure why you need to install glibc first, but it’s in the release notes.
1 Comment Add your own
Leave a Comment
Some HTML allowed:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <pre> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>
Trackback this post | Subscribe to the comments via RSS Feed
1.
Barasians | April 16, 2009 at 7:13 am
I could finally update the kernel after I disabled fastest mirror plugin. This is on /etc/yum/pluginconf.d/
I have commented out all the lines on fastestmirror.conf
All fine now.