Skip to main content.

2007-Dec-04

On CentOS 5 using rpmforge, yum complained every time with: "[Errno -1] Metadata file does not match checksum".

So I did:

rm /var/cache/yum/rpmforge/primary.xml.gz 
yum clean all
which also got rid of cachecookie and repomd.xml. Then yum worked for me.