[tools] PROBLEMS GENERATING REPOMD REPOSITORY
John Scherff
JScherff at 24hourfit.com
Thu Mar 15 21:41:14 CET 2007
Result of using Francois' patch:
Changing line 711 of /usr/bin/mrepo
from
repoopts = repoopts + ' --groupfile "RPMS.%s/comps.xml"' % self.name
to
repoopts = repoopts + ' --groupfile "comps.xml"'
seems to have fixed the problem.
John Scherff
________________________________
From: tools-bounces at lists.rpmforge.net
[mailto:tools-bounces at lists.rpmforge.net] On Behalf Of John Scherff
Sent: Thursday, March 15, 2007 1:14 PM
To: tools at lists.rpmforge.net
Subject: [tools] PROBLEMS GENERATING REPOMD REPOSITORY
I'm attempting to use mrepo-0.8.4 on RHEL4 to build repos for centos2,
centos3, centos4, rhel2.1as, rhel2.1es, rhel3as, rhel3es, rhel4as, and
rhel4es.
I experienced no problems mounting the ISOs (mrepo -vv) or downloading
updates (mrepo -uvv), however, when generating repositories (mrepo
-gvv), I receive the following error for
Error: groupfile RPMS.os/comps.xml cannot be found.
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
-c, --cachedir <dir> = specify which dir to use for the checksum
cache
-h, --help = show this help
-V, --version = output version
-p, --pretty = output xml files in pretty format.
mrepo: Generating repo failed for os with message:
/usr/bin/createrepo failed with return code: 256
It happened for some, but not all, of the OSs. I can't say for certain
which ones, because the hardlink phase used up my scroll buffer by the
time I went back to check. I know centos3, centos4, rhel3es, and
rhel3as had the problem. I saw a brief discussion about this (on Yam
0.8.3) between Dag Wieers and Francois Aucamp , but couldn't tell if
there was a consensus on the resolution. I plan to try Francois' patch.
John Scherff
Sr. IT Security Analyst
24 Hour Fitness
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.rpmforge.net/pipermail/tools/attachments/20070315/d2d774a6/attachment-0001.html
More information about the tools
mailing list