[Yum] Trouble with yum

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxx
  ECE Department and Optical Sciences Center                520-626-1619
  University of Arizona                                         ECE 524G

[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux