[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


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

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
* mass-bug-filing and recommend to switch to dh_installtex instead of
  running mktexlsr manually


More information about the Piuparts-devel mailing list