Definite's Extractor

My findings on Life, Linux, Open Source, and so on.

Tag Archives: sha

RHEL5 repo build on Fedora 12

I created a RHEL-5 repo on my Fedora-12 box.
But my RHEL-5 box cannot load the repo due to “Error performing checksum”.
After some Googling, the common solution is to use either sha or md5 as checksum.

createrepo -s sha
createrepo -s md5

However, that solution is not complete, especially if you have tested-run yum with the ill-checksumed repo.

Solution to that is simple, just run yum clean all to clean the cache.