Bug#710068: tiger: postinst uses /usr/share/doc content (Policy 12.3)

2013-05-29 Thread Javier Fernandez-Sanguino
> >From the attached log (scroll to the bottom...):
>
>   Selecting previously unselected package tiger.
>   (Reading database ... 7084 files and directories currently installed.)
>   Unpacking tiger (from .../tiger_1%3a3.2.3-10_amd64.deb) ...
>   Setting up tiger (1:3.2.3-10) ...
>   ERROR in maintainer script, cannot find package configuration file at 
> /usr/share/doc/tiger/examples/tigerrc.gz
>   dpkg: error processing tiger (--configure):
>subprocess installed post-installation script returned error exit status 1
>   Errors were encountered while processing:
>tiger

Indeed, I have to modify the package to puse the configuration
template file and put it in a different location.

I will do this as soon as possible.

Regards

Javier


-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#710068: tiger: postinst uses /usr/share/doc content (Policy 12.3)

2013-05-27 Thread Andreas Beckmann
Package: tiger
Version: 1:3.2.3-10
Severity: serious
User: debian...@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 tiger.
  (Reading database ... 7084 files and directories currently installed.)
  Unpacking tiger (from .../tiger_1%3a3.2.3-10_amd64.deb) ...
  Setting up tiger (1:3.2.3-10) ...
  ERROR in maintainer script, cannot find package configuration file at 
/usr/share/doc/tiger/examples/tigerrc.gz
  dpkg: error processing tiger (--configure):
   subprocess installed post-installation script returned error exit status 1
  Errors were encountered while processing:
   tiger


Cheers,

Andreas


tiger_1:3.2.3-10.log.gz
Description: GNU Zip compressed data