* Anders Boström <and...@netinsight.net>, 2010-02-12, 09:23:
(Reading database ... 220052 files and directories currently installed.)
Preparing to replace python2.6-minimal 2.6.4-4 (using 
.../python2.6-minimal_2.6.4-5_amd64.deb) ...
mkdir: cannot create directory `/usr/local/lib/python2.6': Permission denied
dpkg: error processing 
/var/cache/apt/archives/python2.6-minimal_2.6.4-5_amd64.deb (--unpack):
subprocess new pre-installation script returned error exit status 1

Debian Policy Manual, section 9.1.2
<http://www.debian.org/doc/debian-policy/ch-opersys.html#s9.1.2>:

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.

Please read further:

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.
--
Jakub Wilk

Attachment: signature.asc
Description: Digital signature

Reply via email to