[CentOS] problem with yumdownload?

John R Pierce

pierce at hogranch.com
Thu May 8 20:38:15 UTC 2008


coworker wants to download a module with all its dependencies, for use 
in updating an offline system...   CentOS 5.latest ...

[root at pig home]# yum -y install yum-utils
......

[root at pig home]# yumdownloader --resolve gcc
Loading "priorities" plugin
Loading "installonlyn" plugin
Excluding Packages from CentOS-5 - Base
Finished
Excluding Packages from CentOS-5 - Updates
Finished
263 packages excluded due to repository priority protections
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 at pig home]#


um...  this a bug?





More information about the CentOS mailing list