[Piuparts-devel] packages leaving /usr/local/share/texmf/ls-R behind
Andreas Beckmann
debian at abeckmann.de
Thu Jan 5 13:38:27 UTC 2012
Hi,
there are quite some packages producing this error:
0m52.5s ERROR: FAIL: Package purging left files on system:
/usr/local/share/texmf not owned
/usr/local/share/texmf/ls-R not owned
e.g. http://piuparts.debian.org/sid/fail/latex-xcolor_2.11-1.log
http://piuparts.debian.org/sid/files_in_usr_local_error.html
I tracked this down to a mktexlsr call in the (manually created)
postinst script. Packages that use dh_installtex generate different
postinst code that calls mktexlsr with a list of directories (excluding
/usr/local) and therefore do not leave this file behind.
I see two possibilities to fix this:
* let texlive-binaries (ships mktexlsr) remove
/usr/local/share/texmf/ls-R
* mass-bug-filing and recommend to switch to dh_installtex instead of
running mktexlsr manually
Andreas
More information about the Piuparts-devel
mailing list