[Yum] Please Help!

Greg Knaddison greg.knaddison at gmail.com
Sat Sep 24 00:12:12 UTC 2005


On 9/23/05, William Cooper <william.m.cooper at gmail.com> wrote:
> [root at localhost ~]# 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)]
>
> If you cannot solve this problem yourself, please send this
> message to <yum at lists.linux.duke.edu>.
>

Billy,

Looks like something changed/replace your cElementTree.  Maybe you can
get some help from another Mandrake user to find out which package
provides that.  Also, it's not clear to me which version of yum you
are using so might want to do this:

http://wiki.linux.duke.edu/YumFaq#Q7

Q. I installed a new version of yum (or upgraded my whole system) and
now when I run yum, I get an error saying "The yum libraries do not
seem to be available on your system for this version of python" and
"Please make sure the package you used to install yum was built for
your install of python." What's wrong with the yum package I've got,
or my Python installation, and how do I fix it?

A. This error message is often misleading. To see the real error, run
python from the command line, and type import yum. The problem
probably isn't with your version of python at all, but with a missing
libxml2-python, python-sqlite, or python-elementtree package.

A future version of yum will attempt to provide different error
messages for different possible module import errors, so this will
become less confusing.

Regards,
Greg



More information about the Yum mailing list