Update fails with "Package does not match intended download"

General support questions including new installations
User avatar
AlanBartlett
Forum Moderator
Posts: 9345
Joined: 2007/10/22 11:30:09
Location: ~/Earth/UK/England/Suffolk
Contact:

Re: Update fails with "Package does not match intended download"

Post by AlanBartlett » 2009/04/25 20:56:59

[quote][root@hosting ~]# uname -rmi
2.6.26.2 i686 i386[/quote]
That is not a [i]CentOS[/i] kernel. Please boot the last [i]CentOS 5.2[/i] kernel, which is 2.6.18-92.1.22.el5 and then perform the following --

[code]
[b]yum clean all
yum update glibc\*[/b]
[/code]
Once that has completed without error, recheck the version of [i]glibc[/i] you now have installed --

[code]
[b]rpm -q --qf "%{N}-%{V}-%{R} %{ARCH}\n" glibc[/b]
[/code]
You should now see [i]glibc-2.5-34 i686[/i] returned by the above command. If that is correct, now update the [i]yum[/i], [i]rpm[/i] and [i]python[/i] packages --

[code]
[b]yum update yum\* rpm\* python\*[/b]
[/code]
Finally, update everything else --

[code]
[b]yum update[/b]
[/code]

Post Reply