[tex-live] how to find out what went wrong with fmtutil?
Frank Küster
frank at kuesterei.ch
Fri Jan 12 20:57:46 CET 2007
"Thanh Han The" <hanthethanh at gmail.com> wrote:
> Hi,
>
> does anyone have a clue how to find out what went wrong here
> (I got this problem after upgrading the TL live iso image):
>
> ,--------
> | fmtutil --byfmt pdftex
> | fmtutil: running `pdftex -ini -jobname=pdftex -progname=pdftex
> -translate-file=cp227.tcx *pdftex.ini' ...
> | Error: `pdftex -ini -jobname=pdftex -progname=pdftex
> -translate-file=cp227.tcx *pdftex.ini' failed
> `--------
>
> fmtutil-sys does the same. Running the command
>
> `pdftex -ini -jobname=pdftex -progname=pdftex
> -translate-file=cp227.tcx *pdftex.ini'
>
> manually succeed.
This patch could help:
--- /usr/bin/fmtutil 2007-01-09 19:12:13.000000000 +0100
+++ fmtutil 2007-01-12 20:55:15.000000000 +0100
@@ -123,6 +123,7 @@
cleanup()
{
rc=$?
+ exit $?
$needsCleanup && test -n "$tmpdir" && test -d "$tmpdir" \
&& { cd / && rm -rf "$tmpdir"; }
After that, you can inspect the temporary directory. It's name is
defined in
tmpdir=${TMP-/tmp}/$progname.$$
so it is probably /tmp/fmtutil.<somenumber>
It should have the logs.
Regards, Frank
--
Dr. Frank Küster
Single Molecule Spectroscopy, Protein Folding @ Inst. f. Biochemie, Univ. Zürich
Debian Developer (teTeX/TeXLive)
More information about the tex-live
mailing list