| Summary: | createrepo --update traceback | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 5 | Reporter: | Karel Srot <ksrot> |
| Component: | createrepo | Assignee: | Packaging Maintenance Team <packaging-team-maint> |
| Status: | CLOSED WONTFIX | QA Contact: | Red Hat Satellite QA List <satqe-list> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 5.6 | CC: | james.antill, pknirsch, zpavlas |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-03-14 20:11:01 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
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. 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. 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. 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. |
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