Bug 236007 - yumdownloader returns error when using --resolve option
yumdownloader returns error when using --resolve option
Status: CLOSED INSUFFICIENT_DATA
Product: Fedora
Classification: Fedora
Component: yum (Show other bugs)
6
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: James Antill
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2007-04-11 10:09 EDT by Bruno Oliveira
Modified: 2014-01-21 17:57 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2007-08-03 16:20:50 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Bruno Oliveira 2007-04-11 10:09:23 EDT
Description of problem:
Problem when using the --resolve option with yumdownloader (yum-utils)

Version-Release number of selected component (if applicable):
yum-utils-1.0.3-1.fc6.noarch.rpm

How reproducible:
yumdownloader <package> --resolve
  
Actual results:
[root@bnogueira gmplayer]# yumdownloader mplayer --resolve
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'
[root@bnogueira gmplayer]#
Comment 1 warren 2007-04-11 10:14:19 EDT
i get the same error:

# yumdownloader --resolve mplayer
livna                     100% |=========================| 1.1 kB    00:00     
core                      100% |=========================| 1.1 kB    00:00     
updates                   100% |=========================| 1.2 kB    00:00     
extras                    100% |=========================| 1.1 kB    00:00     
primary.xml.gz            100% |=========================| 502 kB    00:01     
updates   : ################################################## 1215/1215
primary.xml.gz            100% |=========================| 1.6 MB    00:03     
extras    : ################################################## 5078/5078
mplayer-1.0-0.72.20070325 100% |=========================|  17 kB    00:00     
lzo-2.02-2.fc6.i386.rpm   100% |=========================| 4.0 kB    00:00     
enca-1.9-3.fc6.i386.rpm   100% |=========================| 7.9 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'
Comment 2 Jeremy Katz 2007-04-16 10:54:30 EDT
What version of yum do you have installed?
Comment 3 Bruno Oliveira 2007-04-16 11:11:12 EDT
[bruno@bnogueira ~]$ yum --version
3.0.5
Comment 4 Jeremy Katz 2007-04-16 11:54:25 EDT
Can you try with 3.0.6 in updates-testing?  I'm pretty sure I saw Tim commit
something for this
Comment 5 Seth Vidal 2007-08-03 16:20:50 EDT
closing insufficient data
reopen if you can provide the information

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