python-minimal postinst script should specify complete python path

Bug #632020 reported by Michael Hudson-Doyle
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-defaults (Debian)
Fix Released
Unknown
python-defaults (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Hi,

The python-minimal postinst script contains this line:

python -m compileall /usr/share/python/ >/dev/null

My unlucky officemate had python 2.4 installed as /usr/local/bin/python, and as /usr/local/bin precedes /usr/bin in roots $PATH (this surprised me, fwiw), python2.4 is used to try to compile the various things using 2.5 and 2.6 syntax in /usr/share/python with confusing results.

Related branches

Revision history for this message
Michael Hudson-Doyle (mwhudson) wrote :
Revision history for this message
Matthias Klose (doko) wrote :

fixed in 2.6.6-2ubuntu1

Changed in python-defaults (Ubuntu):
status: New → Fix Released
Changed in python-defaults (Debian):
status: Unknown → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.