[Yum] Issue with python upgradation

James Antill james-yum at and.org
Fri Jun 11 14:27:53 UTC 2010


nikunj badjatya <nikunjbadjatya at gmail.com> writes:

> Hi,
> Thanks for the reply.
> so, that means I cant install yum for python2.6 ?? I cant always work with
> python2.4..??

 That's not the way you'd want to do it, although it's possible.

 If you change what /usr/bin/python points to, then yum won't be the
only thing that doesn't work. And any update to "python" will revert
the change.
 What you want to do is change your script that needs python-2.6 to
point to /opt/python or whatever ... or ever better install python26
from EPEL, and point your script to /usr/bin/python2.6

-- 
James Antill -- james at and.org
http://www.and.org/and-httpd/ -- $2,000 security guarantee
http://www.and.org/ustr/
http://www.and.org/vstr/


More information about the Yum mailing list