How To Fix yum after Python Upgrade

Author: , December 8th, 2015

I upgraded to Python 2.7 and yum promptly broke. The quick fix is to edit the yum executable script and change the top line that invokes Python: sudo vim which yum CHANGE FROM: #!/usr/bin/python TO: #!/usr/bin/python26 UPDATED August 2nd, 2016: On one system, I had to use the following Python 2.4 fix instead, even though […]