Fedora Account System
Red Hat Associate
Red Hat Customer
while running createrepo over nfs some glitch happened and i got the following traceback. createrepo -d . 1836/7152 - perl-Net-CIDR-Lite-0.20-5.fc11.src.rpm Traceback (most recent call last): File "/usr/share/createrepo/genpkgmetadata.py", line 233, in <module> main(sys.argv[1:]) File "/usr/share/createrepo/genpkgmetadata.py", line 207, in main mdgen.doPkgMetadata() File "/usr/lib/python2.5/site-packages/createrepo/__init__.py", line 364, in doPkgMetadata self.writeMetadataDocs(packages) File "/usr/lib/python2.5/site-packages/createrepo/__init__.py", line 527, in writeMetadataDocs self.primaryfile.write(po.xml_dump_primary_metadata()) File "/usr/lib64/python2.5/gzip.py", line 205, in write self.fileobj.write( self.compress.compress(data) ) IOError: [Errno 5] Input/output error
If you can make this happen at all: http://skvidal.fedorapeople.org/misc/createrepo-io-error.patch try this patch out and see if it catches the error better for you.
Tested it here with an out-of-space IOError and it worked properly.