Re: packages creating TEXMFLOCAL/ls-R
here is my proposed bug mail template.
Subject: unowned file /usr/local/share/texmf/ls-R after purge (policy 6.8, 9.1.2)
during a test with piuparts I noticed your package left unowned files on
the system after purge, which is a violation of policy 6.8:
As putting files into /usr/local is also a violation of
I'm setting the severity to serious.
>From the attached log (scroll to the bottom...):
<some lines from the logfile>
This problem is usually caused by running mktexlsr (or texhash) without
path arguments from a maintainer script.
The recommended solution is to switch to use dh_installtex and have this
generate most (or perhaps even all) of the maintainer scripts content.
Otherwise run mktexlsr with the tree as argument where the package
installs its files, which is usually
Please have a look at the Debian-TeX-Policy (in the tex-common package)
for the current practice of handling TeX packages. For further TeX
packaging related questions contact firstname.lastname@example.org