Hello,
I have a server running centos 4.5 and am having some issues with yum and python. I think yum was partially installed and then there was an attempt to reinstall it.
I tried to execute the command "yum update" and received the following error:
# yum update
There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:
No module named rpm
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.3.4 (#1, Dec 11 2007, 05:27:57)
[GCC 3.4.6 20060404 (Red Hat 3.4.6-9)]
If you cannot solve this problem yourself, please go to
the yum faq at:
http://wiki.linux.duke.edu/YumFaq
rpm -qa | grep yum yields:
yum-2.4.3-3.el4.centos
and
rpm -qa | grep python yields:
mod_python-3.1.3-5.1
libxml2-python-2.6.16-10.1
rpm-python-4.4.2.3-18.el5
python-2.3.4-14.4.el4_6.1
python-devel-2.3.4-14.4.el4_6.1
python-urlgrabber-2.9.8-2
python-sqlite-1.1.7-1.2.1
python-elementtree-1.2.6-5.el4.centos
Any help would be appreciated, thanks!