Bug#710263: cortado: postinst uses /usr/share/doc content (Policy 12.3)
Andreas Beckmann
anbe at debian.org
Wed May 29 11:56:47 UTC 2013
Package: cortado
Version: 0.6.0-1
Severity: serious
User: debian-qa at lists.debian.org
Usertags: piuparts
Hi,
a test with piuparts revealed that your package uses files from
/usr/share/doc in its maintainer scripts which is a violation of
Policy 12.3: "Packages must not require the existence of any files in
/usr/share/doc/ in order to function."
http://www.debian.org/doc/debian-policy/ch-docs.html#s12.3
These files must be moved to /usr/share/$PACKAGE and may be symlinked
from /usr/share/doc/$PACKAGE.
This piuparts test prevents the installation of (most) files into
/usr/share/doc with 'dpkg --path-exclude=...'.
>From the attached log (scroll to the bottom...):
Selecting previously unselected package cortado.
(Reading database ... 8953 files and directories currently installed.)
Unpacking cortado (from .../cortado_0.6.0-1_all.deb) ...
Setting up cortado (0.6.0-1) ...
Error: The new file /usr/share/doc/cortado/examples/apache2 does not exist!
dpkg: error processing cortado (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
cortado
Cheers,
Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cortado_0.6.0-1.log.gz
Type: application/x-gzip
Size: 6180 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-java-maintainers/attachments/20130529/3890c901/attachment.bin>
More information about the pkg-java-maintainers
mailing list