Hello,
I installed Python 2.7 and replaced the older version of Python without thinking. It has broken my Yum and Yum is not working anymore. I googled and looks like I shouldnt have done that.
I followed the instructions on
this page and installed the rpms for Python 2.4.3 again but that also doesn't seem to help.
Please let me know how can I make Yum work again?
Right now this is what I am getting:
----------------------------------------------------------------------
[root@83 bin]# python
Python 2.7.3 (default, Jan 30 2013, 14:31:34)
[GCC 4.1.2 20080704 (Red Hat 4.1.2-54)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
[root@83 bin]# yum
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.4.3 (#1, Jan 9 2013, 06:47:03)
[GCC 4.1.2 20080704 (Red Hat 4.1.2-54)]
If you cannot solve this problem yourself, please go to
the yum faq at:
http://wiki.linux.duke.edu/YumFaq
-----------------------------------------------------------------------
Thanks,
Pradeep