[CentOS] problem with yumdownload?

Filipe Brandenburger filbranden at gmail.com
Fri May 9 00:40:02 UTC 2008


Hi,

On Thu, May 8, 2008 at 4:38 PM, John R Pierce <pierce at hogranch.com> wrote:
> coworker wants to download a module with all its dependencies, for use in
> updating an offline system...   CentOS 5.latest ...
>
> [root at pig home]# yumdownloader --resolve gcc
...
>  File "/usr/lib/python2.4/site-packages/yum/packages.py", line 191, in
> __eq__
>   if other == None:
...
> um...  this a bug?

Yes, it's a bug!

In line 191 of packages.py, the "is" operator should be used instead
of "==". The line should read:

        is other is None:

I changed my file and after that it worked fine. I will open a bug
upstream for that.

Filipe



More information about the CentOS mailing list