Bug#775053: debbugs: postinst uses /usr/share/doc content (Policy 12.3): /usr/share/doc/debbugs/examples/config
Andreas Beckmann <[email protected]>
| Newsgroups | gmane.linux.debian.devel.debbugs |
|---|---|
| Message-ID | <20150110195045.29041.59482.reportbug__3117.43282150037$1420919672$gmane$org@zam581.zam.kfa-juelich.de> |
Package: debbugs Version: 2.4.1 Severity: serious Tags: wheezy-ignore squeeze-ignore User: [email protected] 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 debbugs. (Reading database ... 9350 files and directories currently installed.) Preparing to unpack .../archives/debbugs_2.4.1_all.deb ... Unpacking debbugs (2.4.1) ... Setting up debbugs (2.4.1) ... cp: cannot stat '/usr/share/doc/debbugs/examples/config': No such file or directory No such file or directory at /usr/sbin/debbugsconfig line 75. dpkg: error processing package debbugs (--configure): subprocess installed post-installation script returned error exit status 2 Errors were encountered while processing: debbugs Cheers, Andreas
debbugs_2.4.1.log.gz
(application/gzip, 11 KB) - not displayed