On Thu, 24 May 2012 03:25:03 +0200, Andreas Beckmann wrote:

> now after latex209-base was fixed, the same problem shows up in
> latex209-bin. (That package was not tested previously because its
> dependency latex209-base had failed the test.)
> 
> 1m13.1s ERROR: FAIL: Package purging left files on system:
>   /etc/texmf/  owned by: texlive-latex-base, texlive-base, tex-common
>   /etc/texmf/fmt.d/    owned by: texlive-latex-base, texlive-base, tex-common
>   /usr/local/share/texmf/      not owned
>   /usr/local/share/texmf/ls-R  not owned

The attached patch eliminates the mktexlsr problem, but /etc/texmf*
are still present. Hm.


Cheers,
gregor

-- 
 .''`.  Homepage: http://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06
 : :' : Debian GNU/Linux user, admin, and developer  -  http://www.debian.org/
 `. `'  Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe
   `-   NP: Elliott Sharp: Intervallus Diabolus
diff -Nru latex209-25.mar.1992/debian/changelog latex209-25.mar.1992/debian/changelog
--- latex209-25.mar.1992/debian/changelog	2012-05-18 08:08:59.000000000 +0200
+++ latex209-25.mar.1992/debian/changelog	2012-08-03 14:49:44.000000000 +0200
@@ -1,3 +1,13 @@
+latex209 (25.mar.1992-12.6) UNRELEASED; urgency=low
+
+  * Non-maintainer upload.
+  * Fix "latex209-base: unowned file /usr/local/share/texmf/ls-R after
+    purge (policy 6.8, 9.1.2)":
+    add an argument to mktexlsr call in debian/latex209-bin.prerm too.
+    (Closes: #669382)
+
+ -- gregor herrmann <[email protected]>  Fri, 03 Aug 2012 14:36:47 +0200
+
 latex209 (25.mar.1992-12.5) unstable; urgency=low
 
   * Non-maintainer upload.
diff -Nru latex209-25.mar.1992/debian/latex209-bin.prerm latex209-25.mar.1992/debian/latex209-bin.prerm
--- latex209-25.mar.1992/debian/latex209-bin.prerm	2010-04-06 03:50:48.000000000 +0200
+++ latex209-25.mar.1992/debian/latex209-bin.prerm	2012-08-03 14:36:04.000000000 +0200
@@ -15,12 +15,14 @@
 #          <conflicting-package> <version>
 # for details, see /usr/share/doc/packaging-manual/
 
+TEXMF=/usr/share/texmf
+
 case "$1" in
     remove|upgrade|deconfigure)
 	rm -f /var/lib/texmf/web2c/latex209.fmt
 	rm -f /var/lib/texmf/web2c/latex209.log
 	if [ -x /usr/bin/mktexlsr ]; then
-            mktexlsr
+            mktexlsr $TEXMF
         fi
 	;;
     failed-upgrade)

Attachment: signature.asc
Description: Digital signature

Reply via email to