I am trying to reinstall yum in
CentOS. Because I made some mistake by removing python.
so I got error as follows 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, Nov 11 2010, 13:34:43) [GCC 4.1.2 20080704 (Red Hat 4.1.2-48)] If you cannot solve this problem yourself, please go to the yum faq at: http://wiki.linux.duke.edu/YumFaq
And then I followed some tutorial from http://www.electrictoolbox.com/install-yum-with-rpm-on-centos/ But I got an error while trying to install python libs
error: Failed dependencies: python < 2.4.3-32.el5 conflicts with python-libs-2.4.3-43.el5.i386
How can I fix this?
rpm -qa|grep python python-iniparse-0.2.3-4.el5 python-2.4.3-27.el5_5.3 libselinux-python-1.33.4-5.5.el5 gamin-python-0.1.7-8.el5 python-elementtree-1.2.6-5 python-urlgrabber-3.1.0-6.el5 audit-libs-python-1.7.17-3.el5 libxml2-python-2.6.26-188.8.131.52.el5_5.1 python-sqlite-1.1.7-1.2.1