rhel7: modifyrepo exited abnormally
Issue
Modifyrepo output the following error messages and exited abnormally:
# modifyrepo /var/www/html/repos/rhel7/rhel-7-server-aus-rpms/updateinfo.xml \
/var/www/html/repos/rhel7/rhel-7-server-aus-rpms/repodata/
Traceback (most recent call last):
File "/usr/share/createrepo/modifyrepo.py", line 237, in <module>
ret = main(sys.argv[1:])
File "/usr/share/createrepo/modifyrepo.py", line 230, in main
repomd.add(metadata, mdtype=opts.mdtype)
File "/usr/share/createrepo/modifyrepo.py", line 130, in add
newmd.write(md)
File "/usr/lib64/python2.7/gzip.py", line 235, in write
self.crc = zlib.crc32(data, self.crc) & 0xffffffffL
OverflowError: size does not fit in an int
Environment
- Red Hat Enterprise Linux (RHEL) 7
- createrepo, modifyrepo
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.