[Yum] Trouble with yum

Michael Stenner mstenner at ece.arizona.edu
Tue May 2 22:36:41 UTC 2006


On Tue, May 02, 2006 at 11:12:28PM +0200, russier vincent wrote:
> Hello,
> I have installed yum from the rpm package (release 2.2.2). 
> Unfortuantelly, it does not work, and I get the following message :
> 
> Traceback (most recent call last):
>  File "/usr/bin/yum", line 6, in ?
>    import yummain
>  File "/usr/share/yum-cli/yummain.py", line 23, in ?
>    import yum
> ImportError: No module named yum
> 
> How can I solve the problem ?

You probably installed an rpm that was built for a different distro
(or distro version).  Get an rpm specifically for your distro and
version.

If you're curious, do 

  rpm -ql yum | grep python
  rpm -q python

and see if the versions match.  I'm betting they don't.

					-Michael
-- 
  Michael D. Stenner                            mstenner at ece.arizona.edu
  ECE Department and Optical Sciences Center                520-626-1619
  University of Arizona                                         ECE 524G



More information about the Yum mailing list