should not muck about in /usr/local

Bug #338227 reported by Brian J. Murrell
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python2.6 (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Binary package hint: python2.6

Python (2.6.1-1ubuntu1) should not be mucking about in /usr/local:

Setting up python2.6-minimal (2.6.1-1ubuntu1) ...
mkdir: cannot create directory `/usr/local/lib/python2.6': Permission denied
dpkg: error processing python2.6-minimal (--configure):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 python2.6-minimal
E: Sub-process /usr/bin/dpkg returned an error code (1)

/usr/local is "hands off" for the distribution: http://www.pathname.com/fhs/pub/fhs-2.3.html#USRLOCALLOCALHIERARCHY

Revision history for this message
Matthias Klose (doko) wrote :

This is explicitely allowed by Debian policy:
http://www.debian.org/doc/debian-policy/ch-opersys.html#s9.1

The postinst should not fail if the creation of the directory fails.

Changed in python2.6 (Ubuntu):
importance: Undecided → Medium
status: New → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package python2.6 - 2.6.1-1ubuntu2

---------------
python2.6 (2.6.1-1ubuntu2) jaunty; urgency=low

  * Update installation schemes: LP: #338395.
    - When the --prefix option is used for setup.py install, Use the
      `unix_prefix' scheme.
    - Use the `deb_system' scheme if --install-layout=deb is specified.
    - Use the the `unix_local' scheme if neither --install-layout=deb
      nor --prefix is specified.
    - The options --install-layout=deb and --prefix are exclusive.
  * Don't fail installation/removal if directories in /usr/local cannot
    be created. LP: #338227.

 -- Matthias Klose <email address hidden> Wed, 18 Mar 2009 12:12:34 +0100

Changed in python2.6:
status: In Progress → Fix Released
Revision history for this message
John Williams (shponglespore) wrote :

This bug appears to be have returned as of version 2.6.4-0ubuntu2.

Changed in python2.6 (Ubuntu):
status: Fix Released → New
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package python2.6 - 2.6.4-6ubuntu1

---------------
python2.6 (2.6.4-6ubuntu1) lucid; urgency=low

  * Merge with Debian (2.6.4-6).

python2.6 (2.6.4-6) unstable; urgency=low

  * Update to 20100215, taken from the 2.6 release branch.
  * python2.6-minimal: Skip moving syssite contents to new location, if
    /usr/local/lib/python2.6 cannot be written. Closes: #569532. LP: #338227.
  * libpython2.6: Fix symlink in /usr/lib/python2.6/config. LP: #521050.
 -- Matthias Klose <email address hidden> Tue, 16 Feb 2010 01:08:50 +0100

Changed in python2.6 (Ubuntu):
status: New → 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.