Hide Forgot
Description of problem: Traceback (most recent call last): File "/usr/share/createrepo/genpkgmetadata.py", line 722, in ? main(sys.argv[1:]) File "/usr/share/createrepo/genpkgmetadata.py", line 638, in main mdgen.doPkgMetadata(directories) File "/usr/share/createrepo/genpkgmetadata.py", line 385, in doPkgMetadata current = self.writeMetadataDocs(filematrix[mydir], mydir, current) File "/usr/share/createrepo/genpkgmetadata.py", line 250, in writeMetadataDocs nodes = self.oldData.getNodes(file) AttributeError: SplitMetaDataGenerator instance has no attribute 'oldData' Version-Release number of selected component (if applicable): createrepo-0.4.11-3.el5 How reproducible: always Steps to Reproduce: 1. yumdownloader ksh zsh 2. mkdir repo1 repo2 3. mv ksh*.rpm repo1 && mv zsh*.rpm repo2 4. #Creating the test repo" createrepo --split -u 'http://createrepo.test.com/repo1' repo1 repo2 5. # udpate test repo createrepo --split --update -u 'http://createrepo.test.com/repo2' repo1 repo2 Actual results: traceback
This request was evaluated by Red Hat Product Management for inclusion in the current release of Red Hat Enterprise Linux. Because the affected component is not scheduled to be updated in the current release, Red Hat is unfortunately unable to address this request at this time. Red Hat invites you to ask your support representative to propose this request, if appropriate and relevant, in the next release of Red Hat Enterprise Linux.
I have a backport ready. However, split && update does NOT work correctly upstream yet: #FIXME - this only actually works for single dirs. It will only # function for the first dir passed to --split, not all of them # this needs to be fixed by some magic in readMetadata.py # using opts.pkgdirs as a list, I think.
For a long time almost everyone has been using a much newer version of createrepo than the one we ship with RHEL-5 anyway, so at this point in RHEL-5 backports seems like a waste of time.