Something killed my python - how to reinstall? FC4
Alastair McKinley
amckinley03 at googlemail.com
Wed Sep 20 19:24:50 UTC 2006
Apologies to those who have already read this problem, the last time I
unintentionally posted the message with a meaningless title so I decided to
repost with something that makes more sense.
I first discovered this problem when trying to run "yum update". This is
what I saw:
[root at d6173 alastair]# 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.1 (#2, May 3 2005, 17:14:18)
[GCC 3.2.2 20030222 (Red Hat Linux 3.2.2-5)]
If you cannot solve this problem yourself, please go to
the yum faq at:
http://wiki.linux.duke.edu/YumFaq
As you can see, the current reported version of python is 2.4.1 built with
gcc 3.2.2.
I think it was a commercial app that I installed that did this, but I'm not
sure yet.
The correct version should be python-2.4.3-8.FC4.
I tried to reinstall python by doing:
rpm -i --force ~alastair/python-2.4.3-8.FC4.i386.rpm
This didnt work, the python command line still reports the old version.
Can someone give me a idea how to properly fix this?
Best regards and thanks,
Alastair
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20060920/a484774c/attachment-0001.htm>
More information about the fedora-list
mailing list