[Yum] yumdownloader problem

Fajar A. Nugraha fajar at fajar.net
Thu Apr 5 04:03:32 UTC 2007


Peter Li (LCL) wrote:
> Hi,
>  
> I downloaded yum-utils version 1.1.1 on my new RHEL5.0 machine and
> then untar the tarball and then using "make install" as root user
> installed all the yum utilities. However, when I run yumdownloader
> command, I get following error:
>  
> [root at lcllxts2 yum-utils]# yumdownloader
> Traceback (most recent call last):
>   File "/usr/bin/yumdownloader", line 23, in ?
>     from utils import YumUtilBase
> ImportError: No module named utils
> Am I did anything wrong?
Yes. You shouldn't use yum-utils 1.1.x on RHEL5 :)

RHEL5 uses yum-3.0. You should use yum-utils 1.0.x with that.

Regards,

Fajar



More information about the Yum mailing list