Bug 233205 - yumdownload don't work with --resolve option
yumdownload don't work with --resolve option
Product: Fedora
Classification: Fedora
Component: yum-utils (Show other bugs)
noarch Linux
medium Severity high
: ---
: ---
Assigned To: Seth Vidal
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2007-03-20 17:07 EDT by Davidson Paulo
Modified: 2007-11-30 17:11 EST (History)
1 user (show)

See Also:
Fixed In Version: yum-3.0.4
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2007-03-21 06:28:49 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Davidson Paulo 2007-03-20 17:07:57 EDT
Description of problem:

Yumdownloader crashes when used with --resolve option.

Version-Release number of selected component (if applicable):


How reproducible:

Just try to use yumdownloader --resolve [any package]

Steps to Reproduce:
1. run command "yumdownloader yum" (will work)
2. run command "yumdownloader --resolve yum" (won't work)
Actual results:

Traceback (most recent call last):
 File "/usr/bin/yumdownloader", line 191, in ?
 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
   (e2, v2, r2) = (po2.epoch, po2.ver, po2.rel)
AttributeError: TransactionMember instance has no attribute 'ver'

Expected results:

Download of package and it's dependencies.

Additional info:

$ yum list installed 'rpm*' 'yum*'
Loading "versionlock" plugin
Loading "installonlyn" plugin
Installed Packages
rpm.i386                                 4.4.2-32               installed
rpm-libs.i386                            4.4.2-32               installed
rpm-python.i386                          4.4.2-32               installed
yum.noarch                               3.0.3-1.fc6            installed
yum-metadata-parser.i386                 1.0.3-1.fc6            installed
yum-utils.noarch                         1.0.3-1.fc6            installed
yum-versionlock.noarch                   1.0.3-1.fc6            installed
Comment 1 Tim Lauridsen 2007-03-21 06:28:49 EDT
The Traceback is fixed in yum 3.0.4, it should be released to FC6.

Note You need to log in before you can comment on or make changes to this bug.