Definite's Extractor

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

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.
Namely,

createrepo -s sha
or
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.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: