Bug#232990: tetex-extra fails postinst
Package: tetex-extra
Version: 2.0.2-5.1
Forgot I had to hack this one up a bit before.
The postinst script does
fmtutil --missing > $TEMPFILE
And fails with:
Script started on Mon Feb 16 00:12:09 2004
root:tobacco:info: apt-get -f install
[[ snip lots of building package dependancy messages ]]
Setting up tetex-extra (2.0.2-5.1) ...
mktexlsr: Updating /usr/local/lib/texmf/ls-R...
mktexlsr: Updating /var/lib/texmf/ls-R...
mktexlsr: Updating /var/cache/fonts/ls-R...
mktexlsr: Done.
Running initex for missing formats. This may take some time. ...
/usr/bin/fmtutil: line 253: ptex: command not found
Error: `ptex -ini -jobname=platex -progname=platex platex.ini' failed
###############################################################################
fmtutil: Error! Not all formats have been built successfully.
Visit the log files in directory
/usr/share/texmf/web2c
for details.
###############################################################################
This is a summary of all `failed' messages and warnings:
`ptex -ini -jobname=platex -progname=platex platex.ini' failed
dpkg: error processing tetex-extra (--configure):
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
tetex-extra
E: Sub-process /usr/bin/dpkg returned an error code (1)
root:tobacco:info:
Script done on Mon Feb 16 00:12:29 2004
Adding || true to the end of the fmtutil line let it continue.
-- DN
Daniel
Reply to: