[Yum] Problem with yum after upgrading to fc3

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

 



Nic Soltani wrote:
> $ su
> # rpm -e libpython2.4
> # rpm -q python-elementtree
> python-elementtree-1.2.6-4
> # yum update
> There was a problem importing one of the Python modules
> required to run yum. The error leading to this problem was:
> 
>    /usr/lib/python2.4/site-packages/cElementTree.so: undefined symbol: 
> PyUnicodeUCS4_DecodeUTF8
> 
> Please install a package which provides this module, or
> verify that the module is installed correctly.
> 
> It's possible that the above module doesn't match the
> current version of Python, which is:
> 2.4 (#2, Feb 12 2005, 00:29:46)
> [GCC 3.4.3 (Mandrakelinux 10.2 3.4.3-3mdk)]
^^^^^^^^
The version of Python that Yum is running with is different to the one 
that runs when you type "python" at the command prompt.

You can tell from the compiler strings.
[GCC 3.4.3 (Mandrakelinux 10.2 3.4.3-3mdk)]
      is very different to
[GCC 4.0.0 20050519 (Red Hat 4.0.0-8)].

You probably have multiple versions of Python installed. Jeff is right 
in suggesting that something is not right with your system. It may be 
fixable however.

What does "rpm -qa | grep -i python" show?

Also, what is the first line of the /usr/bin/yum file?
(a "head /usr/bin/yum" will do)

Menno

[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