/usr/bin/python Replacement

Posted by tikiking1 on Super User See other posts from Super User or by tikiking1
Published on 2012-09-06T01:06:09Z Indexed on 2012/09/06 3:40 UTC
Read the original article Hit count: 504

Filed under:
|
|

If I've changed the target of /usr/bin/python from /usr/bin/python2.7 to /usr/bin/python3.2 (I realize this was an ABSOUTELY HORRIBLE idea) in Ubuntu 12.04.1 LTS. Afterwards, several applications, including software-center and update-manager have stopped working. Insofar as I can tell, this is because they are written in Python2.7. I replaced the default /usr/bin/python shebang with the 2.7 one, and this fixes them on the application level. Switching /usr/bin/python back to /usr/bin/python2.7 really isn't an option, but is there a list of all applications installed by default in Ubuntu 12.04.1 LTS, if installed from a new CD-R, that use a shebang of #!/usr/bin/python instead of #!/usr/bin/pythonX.Y?

© Super User or respective owner

Related posts about script

Related posts about python