Are you getting the following error while working with Yum?
# 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/lib-dynload/md5module.so: invalid ELF header
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)]If you cannot solve this problem yourself, please go to
the yum faq at:https://wiki.linux.duke.edu/YumFaq
md5module.so: invalid ELF header This error is resulted due to the Python package which is installed with an ELF bug. To resolve the issue, download a fresh copy of Python rpm, remove the existing one with –nodeps and then reinstall the Python rpm. You will be good to go with Yum again.
Have fun!



