I've upgraded my python to 2.7 and yum broke. Typical problem and there are some solutions out there on how to make yum work and have python 2.7 too.
Problem I am having is that I can't even repair yum. I don't use python 2.7 that often, so even if I constantly have to switch the symbolic link for python from "yum python" to 2.7 python when I need it, I'd be ok with that.
I've since tried installing python 2.4(2 subversions), 2.6(2 different subversions one of which is supposed to be default for Centos 6.2 which is what I am using) and 2.7. Nothing works. This is what my usr/loca/bin looks like at this point.
2to3 idle python python2.6-config python-config
coraenv oraenv python2.4 python2.7 smtpd.py
dbhome pydoc python2.6 python2.7-config sqldevelope
Any yum command simply returns:
--------------------------------------------------------------
There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:
No module named yum
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.6.6 (r266:84292, Nov 14 2012, 16:27:16) <-------OR whatever 2.x.y that I happen to be trying.
[GCC 4.4.6 20110731 (Red Hat 4.4.6-3)]
If you cannot solve this problem yourself, please go to
the yum faq at:
http://yum.baseurl.org/wiki/Faq
--------------------------------------------------------------
Is there a way to repair yum at this point? Thanks in advance guys.