Well-Known Member
Apr 14, 2004
Yum stopped working

There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:

No module named ElementTree

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.3 (#1, May 24 2008, 13:47:28)
[GCC 4.1.2 20070626 (Red Hat 4.1.2-14)]

This is on a CentOS 5.2 server
I had this issue once before but im lost to as how i fixed it
cant seem to get it fixed

Any suggestions


Oct 21, 2008
Re: "Yum Broken Any Suggestions"

A quicker solution is to remove th 'yum' rpm from your server and re-install it by downloading it from the CentOS repository. As you mentioned that you are running CentOS 5.2 so here are the links to download yum rpms: < in case of 32-bit < in case of 64-bit

You can use 'uname -a' on shell to verify which type of OS you are using either it is 32 bit or 64 bit. I hope that will help.