no, this is correct. The postinst creates a directory /usr/local/lib/python2.6/dist-packages which is used for local installations of python modules.
See http://www.debian.org/doc/debian-policy/ch-opersys.html#s9.1 As mandated by the FHS, packages must not place any files in /usr/local, either by putting them in the file system archive to be unpacked by dpkg or by manipulating them in their maintainer scripts. However, the package may create empty directories below /usr/local so that the system administrator knows where to place site-specific files. These are not directories in /usr/local, but are children of directories in /usr/local. These directories (/usr/local/*/dir/) should be removed on package removal if they are empty. ** Changed in: python3.1 (Ubuntu) Status: New => Invalid -- package python3.1-minimal 3.1.1-0ubuntu3 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1 https://bugs.launchpad.net/bugs/446004 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs