Definite's Extractor

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

Tag Archives: repo

epel repos on repos.fedorapeople.org

You may find out that .repo files that generated by new_repo does not quite usable in RHEL boxes. As RHEL tend to attach the “Channel name” after release number.

For examples, for RHEL6 server, it’s $releasever is actuall 6Server; workstation should be 6Workstation, and so on.

So you might need to

ln -s epel-5 epel-5Server
ln -s epel-5 epel-5Client

for RHEL5

and

ln -s epel-6 epel-6Server
ln -s epel-6 epel-6Client
ln -s epel-6 epel-6Workstation

for RHEL6, provides the dependencies of your packages can be resolvable by all the channel you specified.

Advertisements

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.