Package: snmp-mibs-downloader
Version: 1.1
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."
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 snmp-mibs-downloader.
  (Reading database ... 
  Preparing to unpack .../snmp-mibs-downloader_1.1_all.deb ...
  Unpacking snmp-mibs-downloader (1.1) ...
  Setting up snmp-mibs-downloader (1.1) ...
  
  Downloading documents and extracting MIB files.
  This will take some minutes.
  
  In case this process fails, it can always be repeated later by executing
  /usr/bin/download-mibs again.
  
  cp: cannot stat '/usr/share/doc/mibrfcs/*': No such file or directory
  Downloading the MIBs failed.
  
  Please check your Internet connection and run download-mibs again.
  
  dpkg: error processing package snmp-mibs-downloader (--configure):
   subprocess installed post-installation script returned error exit status 1
  Errors were encountered while processing:
   snmp-mibs-downloader


Cheers,

Andreas

PS: it's probably OK to tag this bug jessie-ignore

Attachment: snmp-mibs-downloader_1.1.log.gz
Description: application/gzip

Reply via email to