[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#352569: fmtutil: Error. Apparent jadetex involvement. packages left unconfigured.



Ross Boylan <RossBoylan@stanfordalumni.org> wrote:

> This is a summary of all `failed' messages and warnings:
> `etex -ini  -jobname=jadetex -progname=jadetex &latex jadetex.ini' failed
> `pdfetex -ini  -jobname=pdfjadetex -progname=pdfjadetex &pdflatex pdfjadetex.ini' failed
>
> fmtutil failed. Output has been stored in
> /tmp/tetex.postinst.XX1fljEc
[...]
> fmtutil: running `etex -ini   -jobname=jadetex -progname=jadetex &latex jadetex.ini' ...
> This is pdfeTeX, Version 3.141592-1.21a-2.2 (Web2C 7.5.4) (INITEX)
> (Fatal format file error; I'm stymied)

This is strange, since this should read the same format file as latex
before, and therefore has no reason to fail.

What is the output of the following command, called as root (or exactly,
after getting root the same way you used for updating):

kpsewhich --progname=jadetex --format=texpool pdfetex.pool   

If it is *not* /usr/share/texmf/web2c/pdfetex.pool, we know what causes
the problem.  If it gives this file as output, please save the attached
file as "/usr/local/bin/fmtutil-sys", make it executable and check
whether it is actually called (using "which fmtutil-sys", you may need
to open a new shell for that to work).

Then call 

fmtutil-sys --byfmt=jadetex 2>&1 | tee jadetex.log

and send us the resulting file jadetex.log.

Regards, Frank
#!/bin/sh

# fmtutil-sys: Thomas Esser, public domain.

# wrapper script for fmtutil with TEXMFVAR and TEXMFCONFIG set to
#   TEXMFSYSVAR / TEXMFSYSCONFIG

test -f /bin/ksh && test -z "$RUNNING_KSH" \
  && { UNAMES=`uname -s`; test "x$UNAMES" = xULTRIX; } 2>/dev/null \
  && { RUNNING_KSH=true; export RUNNING_KSH; exec /bin/ksh $0 ${1+"$@"}; }
unset RUNNING_KSH

test -f /bin/bsh && test -z "$RUNNING_BSH" \
  && { UNAMES=`uname -s`; test "x$UNAMES" = xAIX; } 2>/dev/null \
  && { RUNNING_BSH=true; export RUNNING_BSH; exec /bin/bsh $0 ${1+"$@"}; }
unset RUNNING_BSH

# hack around a bug in zsh:
test -n "${ZSH_VERSION+set}" && alias -g '${1+"$@"}'='"$@"'

v=`kpsewhich -var-value TEXMFSYSVAR`
c=`kpsewhich -var-value TEXMFSYSCONFIG`

TEXMFVAR="$v"
TEXMFCONFIG="$c"
RUNNING_AS_SYS=true
export TEXMFVAR TEXMFCONFIG RUNNING_AS_SYS

case $argv0 in
  mktexfmt|*/mktexfmt)
    exec sh -x mktexfmt ${1+"$@"} ;;
  *)
    exec sh -x fmtutil ${1+"$@"} ;;
esac
-- 
Frank Küster
Single Molecule Spectroscopy, Protein Folding @ Inst. f. Biochemie, Univ. Zürich
Debian Developer (teTeX)

Reply to: