Package: ptex-jisfonts Version: 2-19 Severity: minor This is a bug about postinst script. When the length of /etc/texmf/dvipdfm/fontmapsx is zero, the postinst script of ptex-jisfonts produces a zero length /etc/texmf/dvipdfm/fontmapsx, which is useless for dvipdfmx with ptex-jisfonts.
A procedure to reproduce the bug is the following: # rm -f /etc/texmf/dvipdfm/fontmapsx # touch /etc/texmf/dvipdfm/fontmapsx # dpkg-reconfigure ptex-jisfonts This bug comes from the following lines in ptex-jisfonts.postinst: sed -e '$a\ %-- ptex-jisfonts begin\ f jis-cjk.map\ %-- ptex-jisfonts end' < ${pdfmx} > ${pdfmx}_$$ && \ If the length of the file ${pdfmx} is zero, sed produces empty response, instead of adding three lines. I'm not sure whether this is a feature or a bug of sed. A possible workaround is to put a line before the point above: echo >> ${pdfmx} though I didn't try. For my case, the resolution is to just remove fontmapsx and execute 'dpkg-reconfigure ptex-jisfonts' again. Sincerely TANAKA Atushi -- System Information: Debian Release: 4.0 APT prefers testing APT policy: (500, 'testing') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.18-3-xen-686 Locale: LANG=ja_JP.eucJP, LC_CTYPE=ja_JP.eucJP (charmap=EUC-JP) Versions of packages ptex-jisfonts depends on: ii debconf [debconf- 1.5.11 Debian configuration management sy ii ptex-bin 3.1.10~beta3+0.04b-2.2 The ASCII pTeX binary files ptex-jisfonts recommends no packages. -- debconf information: * ptex-jisfonts/jisftconfig: -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]