[Debian-in-workers] Bug#574193: Bug#574193: Bug#574193: itrans-fonts: installation fails

Christian PERRIER bubulle at debian.org
Mon Mar 22 11:48:08 UTC 2010


Quoting Kartik Mistry (kartik.mistry at gmail.com):

> >> Setting up itrans-fonts (5.3-8) ...
> >> updmap: This is updmap, version $Id: updmap 14402 2009-07-23 17:09:15Z karl $
> >> updmap: using transcript file `/var/lib/texmf/web2c/updmap.log'
> >> updmap: output directory `/var/lib/texmf/fonts/map/dvips/updmap' does not exist.
> >> dpkg: error processing itrans-fonts (--configure):
> >> subprocess installed post-installation script returned error exit status 1
> >> Errors were encountered while processing:
> >> itrans-fonts
> >> E: Sub-process /usr/bin/dpkg returned an error code (1)
> 
> Oh, ya.
> 
> Can anyone please look at this bug? I may not have enough time
> quickly. Promise to fix it in weekend though ;)


The package had hardcoded callto various tex-related scripts. Indeed,
correct ways to call them are actually implemented by code snippets
added by "dh_installtex" (which is already used in debian/rules.

So, actually, fixing this bug was just a matter of dropping the
postinst and posrm files..:-)

NMU uploaded to DELAYED/2-day.... Patch attached.



-------------- next part --------------
diff -Nru itrans-5.3.old/debian/changelog itrans-5.3/debian/changelog
--- itrans-5.3.old/debian/changelog	2010-03-22 12:28:52.000000000 +0100
+++ itrans-5.3/debian/changelog	2010-03-22 12:38:57.000000000 +0100
@@ -1,3 +1,12 @@
+itrans (5.3-8.1) unstable; urgency=low
+
+  * Non-maintainer upload
+  * Just let dh_installtex do its job in postinnst and postrm. Don't
+    call update-updmap, mktexlsr and updmap-sys ourselves.
+    Closes: #574193
+
+ -- Christian Perrier <bubulle at debian.org>  Mon, 22 Mar 2010 11:21:24 +0100
+
 itrans (5.3-8) unstable; urgency=low
 
   [Kartik Mistry]
diff -Nru itrans-5.3.old/debian/itrans-fonts.postinst itrans-5.3/debian/itrans-fonts.postinst
--- itrans-5.3.old/debian/itrans-fonts.postinst	2010-03-22 12:28:52.000000000 +0100
+++ itrans-5.3/debian/itrans-fonts.postinst	1970-01-01 01:00:00.000000000 +0100
@@ -1,10 +0,0 @@
-#!/bin/sh
-set -e
-
-DVIPSCONFIG=/usr/share/texmf/dvips/config
-
-update-updmap
-mktexlsr
-updmap-sys
-
-#DEBHELPER#
diff -Nru itrans-5.3.old/debian/itrans-fonts.postrm itrans-5.3/debian/itrans-fonts.postrm
--- itrans-5.3.old/debian/itrans-fonts.postrm	2010-03-22 12:28:52.000000000 +0100
+++ itrans-5.3/debian/itrans-fonts.postrm	1970-01-01 01:00:00.000000000 +0100
@@ -1,10 +0,0 @@
-#!/bin/sh
-set -e
-
-case "$1" in
-        remove|purge)
-        mktexlsr || true
-        ;;
-esac
-
-#DEBHELPER#
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/debian-in-workers/attachments/20100322/69fa6b8a/attachment.pgp>


More information about the Debian-in-workers mailing list