I have tried absolutely everything, without good results...

yum always fails with "sqlite.bz2 File does not match checksum" for different repositories, every single time, but always with the above error.

ive tried setting ... * http_proxy * http_caching * disabling fastestmirror * changing settings in sysctl.conf

all with the same result,

Im starting to think it might be a bug?...related to http://bugs.centos.org/view.php?id=5116

link|improve this question
Are you behind a proxy of some kind? – David Schwartz Oct 8 '11 at 5:05
i face this problem, in my case because of my IPS/Firewall, somehow yum always failed if IPS enabled. not sure if it's same like you or not. – Rikih Oct 8 '11 at 6:00
feedback

1 Answer

As ive read this on another website while searching for the answer to this. The OP states 'different repositories', so it matches my difficulties as well, trying to install centos 6.2 in a directory on redhat 5.3.

The thing is that the python version of different release is different.

Python 2.6 uses hashlib to perform checksums, and Python 2.4 uses the SHA module to perform checksums. The version of the SHA module that ships with CentOS 5.3 doesn’t support sha256, which is why we get the checksum error listed above

from : http://prefetch.net/blog/index.php/2009/11/26/dealing-with-yum-checksum-errors/

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.