Bug 435215
| Summary: | yumdownloader with --resolve fails with TransactionMember instance has no attribute 'ver' | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 5 | Reporter: | Michael Gregg <mgregg> |
| Component: | yum-utils | Assignee: | James Antill <james.antill> |
| Status: | CLOSED DUPLICATE | QA Contact: | James Antill <james.antill> |
| Severity: | low | Docs Contact: | |
| Priority: | low | ||
| Version: | 5.3 | ||
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2008-02-28 03:32:59 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
*** This bug has been marked as a duplicate of 391791 *** workaround - Based on upstream code, as a temporary workaround use the below fix, In /usr/lib/python2.4/site-packages/yum/packages.py (e1, v1, r1) = (po1.epoch, po1.ver, po1.rel) (e2, v2, r2) = (po2.epoch, po2.ver, po2.rel) change the above line to, (e1, v1, r1) = (po1.epoch, po1.version, po1.release) (e2, v2, r2) = (po2.epoch, po2.version, po2.release) save the file, and execute |
How reproducible: always Steps to Reproduce: 1. run yumdownloader with --resolve See "actual results" for a example. Actual results: root@ipadev]# yumdownloader --resolve ipa-server ipa-admintools Loading "installonlyn" plugin Loading "rhnplugin" plugin rhel-x86_64-server-supple 100% |=========================| 1.2 kB 00:00 rhel-x86_64-server-5 100% |=========================| 1.4 kB 00:00 rhn-tools-rhel-x86_64-ser 100% |=========================| 1.2 kB 00:00 rhel-x86_64-server-5-beta 100% |=========================| 1.2 kB 00:00 rhel-x86_64-server-5-rhdi 100% |=========================| 1.2 kB 00:00 rhel-x86_64-server-5-apps 100% |=========================| 1.2 kB 00:00 Traceback (most recent call last): File "/usr/bin/yumdownloader", line 191, in ? main() File "/usr/bin/yumdownloader", line 159, in main if not pkg in toDownload: File "/usr/lib/python2.4/site-packages/yum/packages.py", line 191, in __eq__ if comparePoEVR(self, other) == 0 and self.arch == other.arch and self.name == other.name: File "/usr/lib/python2.4/site-packages/yum/packages.py", line 35, in comparePoEVR (e2, v2, r2) = (po2.epoch, po2.ver, po2.rel) AttributeError: TransactionMember instance has no attribute 'ver' Expected results: It to download. Additional info: This action seems to work on fc7's yumdownloader. I cannot find a matching bug over there.