plague server / createrepos error?

Chris Weyl chris.weyl at gmail.com
Wed Oct 12 16:00:16 UTC 2005


Hey all--

A quick question.  After building a srpm (successfully), I get:

3 (meanwhile/i386): Build result files - [
'meanwhile-0.4.0-0.i386.rpm', 'meanwhile-0.4.0-0.src.rpm',
'build.log', 'root.log', 'meanwhile-debuginfo-0.4.0-0.i386.rpm',
'builder.log', 'mockconfig.log', 'meanwhile-devel-0.4.0-0.i386.rpm' ]
Repo 'fc3': updating repository metadata...
Error: createrepo failed with exit status 256!  Output: 'Options
Error: option -c not recognized.

    createrepo [options] directory-of-packages

    Options:
     -u, --baseurl = optional base url location for all files
     -x, --exclude = files globs to exclude, can be specified multiple times
     -q, --quiet = run quietly
     -g, --groupfile <filename> to point to for group information (precreated)
     -v, --verbose = run verbosely
     -s, --checksum = md5 or sha - select type of checksum to use (default: sha)
     -h, --help = show this help
     -V, --version = output version
     -p, --pretty = output xml files in pretty format.
    '
Repo 'fc3': Done updating.
3 (meanwhile): Job finished.


Poking around google, it looks like the -c is a checksum cache
option[1], but the current level of createrepo in fc4 doesn't have it.
 What's the best way to work around this?  Fudge Repo.py and chip out
the checksum cache until an updated createrepo package is released, or
find an updated createrepos package out there somewhere?  It sounds
like the cache option "makes a huge difference in repo creation time",
so I'd far prefer to use it.

Thanks:)
                               -Chris

[1]  https://lists.dulug.duke.edu/pipermail/rpm-metadata/2005-July/000532.html




More information about the Fedora-buildsys-list mailing list