[Pkg-mpd-maintainers] Bug#710066: mpdscribble: postinst uses /usr/share/doc content (Policy 12.3)

Andreas Beckmann anbe at debian.org
Tue May 28 01:41:37 UTC 2013


Package: mpdscribble
Version: 0.22-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 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 mpdscribble.
  (Reading database ... 7137 files and directories currently installed.)
  Unpacking mpdscribble (from .../mpdscribble_0.22-3_amd64.deb) ...
  Setting up mpdscribble (0.22-3) ...
  
  Creating config file /etc/default/mpdscribble with new version
  cat: /usr/share/doc/mpdscribble/examples/mpdscribble.conf: No such file or directory
  dpkg: error processing mpdscribble (--configure):
   subprocess installed post-installation script returned error exit status 1
  Errors were encountered while processing:
   mpdscribble


Cheers,

Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mpdscribble_0.22-3.log.gz
Type: application/x-gzip
Size: 5358 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-mpd-maintainers/attachments/20130528/805686b5/attachment.bin>


More information about the Pkg-mpd-maintainers mailing list