[Yum] Problem with YUM -- ImportError: No module named yummain

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

 



On Wed, 2006-07-26 at 11:34 +0530, Manilal K M wrote:
> Hi all,
>   I have been using YUM to update my Fedora Core 3 server for the past
> two years and recently noticed a abnormal behaviour  when running yum
> as a normal user. When I logged in as super user (root), there are no
> issues. But when I logged in as normal user I noticed the following
> errors. I am also using a FC4 server but there are no issues.
> 
> [root@cobra ~]# yum --version
> 2.2.2
> [root@cobra ~]# logout
> 
> [manilalk@cobra yum]$ yum --version
> Traceback (most recent call last):
>   File "/usr/bin/yum", line 6, in ?
>     import yummain
> ImportError: No module named yummain
> [manilalk@cobra yum]$
> 
> What could be the problem? Is it due to permission issues?
> I am using Fedora Core 3 with yum-2.2.2 and python-2.4.3-8.FC4
> 
> Did anyone else have  the same issue?
> 

yum was built for python 2.3 in fc3 - when you upgraded python to 2.4.3
the yum modules aren't accessible anymore.

upgrade your yum to yum 2.4.X or the package from fc4 and I think you'll
find it works better.

-sv



[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