[tools] createrepo after mrepo?

Ray Van Dolson rvandolson at esri.com
Sat Dec 15 01:54:02 CET 2007


Apologies for resurrecting an old thread, but I've been encountering
this issue as well rather frequently and just now searched back through
the archives:

  http://lists.rpmforge.net/pipermail/tools/2007-October/000978.html

My mrepo box is running RHEL4 ES Update 6 using:

  - mrepo-0.8.4-1.el4.rf
  - createrepo-0.4.6-1.el4.rf

I encounter two problems fairly regularly:

  - RPM's that appear to be "invalid" (fail with rpm -K).  This happens
    no mattter which mirror I pull from and I've just written a script
    to rpm -K on all downloaded files, remove them and then re-download
    the files again.

  - RPM's that cause yum on my clients to fail on download with the
    checksum mismatch error.  Even though I run mrepo -ug these
    problems persist until I run createrepo /path/to/repository
    manually.  Then the clients can download the updates fine.  Even a
    'yum clean all' on the clients won't resolve the issue.  Running
    the createrepo by hand on mrepo server is a necessary step.  I am
    mostly testing with CentOS 5.1 clients at this point if you're
    curious as to the version of yum being used.

This seems to me like it might be something with createrepo or how it
is called from mrepo?  My repo's are using the repomd and repoview
options.

Just would like to track this down, but it really seems I can't blame
yum as it works fine after a manual run of createrepo.

Anyways, I need to do more testing on this, but in the meantime thought
I'd throw this out there again.

Thanks,
Ray


More information about the tools mailing list