[Pkg-nagios-devel] Bug#709850: nagios3-cgi: postinst uses /usr/share/doc content (Policy 12.3)

Alexander Wirt formorer at debian.org
Tue Jul 2 07:08:07 UTC 2013


fixed #709850 3.4.1-4
thanks

On Sun, 26 May 2013, Andreas Beckmann wrote:

> Package: nagios3-cgi
> Version: 3.4.1-3
> 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 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 nagios3-cgi.
>   (Reading database ... 9730 files and directories currently installed.)
>   Unpacking nagios3-cgi (from .../nagios3-cgi_3.4.1-3_amd64.deb) ...
>   Setting up nagios3-cgi (3.4.1-3) ...
>   Error: The new file /usr/share/doc/nagios3-common/examples/apache2.conf does not exist!
>   dpkg: error processing nagios3-cgi (--configure):
>    subprocess installed post-installation script returned error exit status 1
>   Errors were encountered while processing:
>    nagios3-cgi
This was fixed in 3.4.1-4.

Thanks

Alex



More information about the Pkg-nagios-devel mailing list