Bug 232183
Summary: | yumdownloader Crashes When Using --resolve | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Jonathan Steffan <jonathansteffan> | ||||
Component: | yum-utils | Assignee: | Seth Vidal <skvidal> | ||||
Status: | CLOSED UPSTREAM | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 6 | CC: | mdehaan, tim.lauridsen | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2007-06-18 08:39:49 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: | |||||||
Attachments: |
|
Description
Jonathan Steffan
2007-03-14 04:57:45 UTC
yes indeed, same results here. -opsec #fedora Confirmed, me too... /usr/bin/yumdownloader --config=/var/www/cobbler/repo_mirror/.origin/fc6x86_64extras.repo --destdir=/var/www/cobbler/repo_mirror --resolve koan cobbler 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' The config file has the following contents: [fc6x86_64extras] name=fc6x86_64extras baseurl=http://mirrors.kernel.org/fedora/extras/6/x86_64/ enabled=1 gpgcheck=0 >> AttributeError: TransactionMember instance has no attribute 'ver'
This one should be solved in yum-3.0.5 currently in the updates repo, please update.
Same command, different error ... [root@mdehaan cobbler]# /usr/bin/yumdownloader --config=/var/www/cobbler/repo_mirror/.origin/fc6x86_64extras.repo --resolve --destdir=/var/www/cobbler/repo_mirror/fc6x86_64extras cobbler koan python-cheetah yum-utils livna 100% |=========================| 1.1 kB 00:00 updates 100% |=========================| 1.2 kB 00:00 core 100% |=========================| 1.1 kB 00:00 extras 100% |=========================| 1.1 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 other == None: File "/usr/lib/python2.4/site-packages/yum/transactioninfo.py", line 403, in __cmp__ if self.name > other.name: AttributeError: 'NoneType' object has no attribute 'name' Created attachment 152526 [details]
fixed packages.py
Michael: Please try to replace /usr/lib/python2.4/site-packages/yum/packages.py with the attached one, to see if it fixes the problem. Ok, i have reproduced the error and is fixed with the attached packages.py. I have sumbitted it to upstream CVS for yum-3.1.x and yum-3.0.x. it should be available in yum-3.0.7 and yum-3.1.7 Works for me, thanks. Ship it! |