I first discovered this problem when trying to run "yum update". This is what I saw:
[root@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
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