[Pkg-nagios-devel] Bug#709957: icinga-cgi: postinst uses /usr/share/doc content (Policy 12.3)
anbe at debian.org
Mon May 27 03:33:49 UTC 2013
User: debian-qa at lists.debian.org
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."
These files must be moved to /usr/share/$PACKAGE and may be symlinked
This piuparts tests 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 icinga-cgi.
(Reading database ... 8203 files and directories currently installed.)
Unpacking icinga-cgi (from .../icinga-cgi_1.9.1-1_amd64.deb) ...
Setting up icinga-cgi (1.9.1-1) ...
Error: The new file /usr/share/doc/icinga-cgi/examples/apache2.conf does not exist!
dpkg: error processing icinga-cgi (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 7310 bytes
Desc: not available
More information about the Pkg-nagios-devel