[Pkg-gridengine-devel] Bug#826113: gridengine-common: postinst uses /usr/share/doc content (Policy 12.3): /usr/share/doc/gridengine-common/examples/gridengine.default
Andreas Beckmann
anbe at debian.org
Thu Jun 2 10:41:16 UTC 2016
Package: gridengine-common
Version: 8.1.8+dfsg-6
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."
https://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 gridengine-common.
(Reading database ...
(Reading database ... 7638 files and directories currently installed.)
Preparing to unpack .../gridengine-common_8.1.8+dfsg-6_all.deb ...
Unpacking gridengine-common (8.1.8+dfsg-6) ...
Setting up gridengine-common (8.1.8+dfsg-6) ...
sed: can't read /usr/share/doc/gridengine-common/examples/gridengine.default: No such file or directory
dpkg: error processing package gridengine-common (--configure):
subprocess installed post-installation script returned error exit status 2
Errors were encountered while processing:
gridengine-common
Cheers,
Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gridengine-common_8.1.8+dfsg-6.log.gz
Type: application/gzip
Size: 10107 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-gridengine-devel/attachments/20160602/2bc307eb/attachment.bin>
More information about the Pkg-gridengine-devel
mailing list