Bug#985052: python-sympy-doc: postinst uses /usr/share/doc content (Policy 12.3): /usr/share/doc/python-sympy-doc/sympy-live.sh
Andreas Beckmann
anbe at debian.org
Fri Mar 12 09:49:31 GMT 2021
Package: python-sympy-doc
Version: 1.7.1-2
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."
https://www.debian.org/doc/debian-policy/ch-docs.html#additional-documentation
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...):
Setting up python-sympy-doc (1.7.1-2) ...
sh: 0: cannot open /usr/share/doc/python-sympy-doc/sympy-live.sh: No such file
dpkg: error processing package python-sympy-doc (--configure):
installed python-sympy-doc package post-installation script subprocess returned error exit status 2
Errors were encountered while processing:
python-sympy-doc
Cheers,
Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: python-sympy-doc_1.7.1-2.log.gz
Type: application/gzip
Size: 8340 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/debian-science-maintainers/attachments/20210312/e2d8c8a7/attachment.gz>
More information about the debian-science-maintainers
mailing list