update-manager needs an explicit path in #!
Bug #22294 reported by
anthony baxter
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
update-manager (Ubuntu) |
Fix Released
|
Medium
|
Michael Vogt |
Bug Description
I did a dist-upgrade from hoary to breezy yesterday, and now update-manager
won't load. It fails with an ImportError of pygtk. Running 'import pygtk' in an
interactive Python works fine.
Aha. The problem is that it's #! line has changed from /usr/bin/env python to
/usr/bin/env python2.4. I (as Python release manager) have a bunch of other
python versions installed in /usr/local/bin (but not a binary called 'python')
As a kinda important system tool, update-manager should really use an explicit
path to /usr/bin/python2.4
To post a comment you must log in.
Thanks for your bugreport.
Who am I to diagree here :)
I changed the path to #!/usr/ bin/python2. 4 in my development tree and it will be
part of the next upload.
Cheers,
Michael