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

Bug#244601: tetex-bin: package fails to configure: Error: `mpost -ini -jobname=metafun -progname=mpost metafun.mp' failed



On Fri, Apr 30, 2004 at 02:03:54PM +0200, Frank Küster wrote:
> Branden Robinson <branden@debian.org> wrote:
> 
> >
> > Okay, I've attached a typescript and the output of ps ax.
> 
> So it's either fmtutil.cnf that's missing, or the symlink from
> /usr/share/texmf/web2c/ to /var/lib/texmf/web2c.

It appears to be the latter.

$ ls -dl /var/lib/texmf/web2c /usr/share/texmf/web2c/
drwxr-xr-x    2 root     root         4096 Apr 26 12:54 /usr/share/texmf/web2c/
drwxr-xr-x    2 root     root         4096 Apr 26 12:54 /var/lib/texmf/web2c

Hmm, that's bad.  Both are plain directories, and neither is a symlink.

You might need directory-to-symlink migration logic like I have in XFree86.

> Both should be installed from woody's tetex-bin (they are in it, not
> created by some maintainer script). No idea what has happened. By the
> way, if you just press enter on the hanging postinst, will it proceed (I
> guess no)?

It proceeds to fail:

+ set x init
+ shift
+ '[' '!' -r /usr/share/texmf/ls-R ']'
+ '[' '!' -r /usr/share/texmf/ls-R ']'
+ test -d /usr/share/texmf/dvips/config
+ test -d /usr/share/texmf/pdftex/config
+ test -d /usr/share/texmf/xdvi
+ test -d /usr/share/texmf/tex/generic/config
+ test -d /usr/share/texmf/etex/plain/config
+ test -d /usr/share/texmf/tex/context/config
+ test -d /usr/share/texmf/web2c
+ test -f /usr/share/texmf/web2c/mktex.cnf
+ test -f /usr/share/texmf/xdvi/XDvi
+ test -f /usr/share/texmf/dvips/config/config.ps
+ test -f /usr/share/texmf/pdftex/config/pdftex.cfg
+ test '!' -f /usr/share/texmf/tex/generic/config/language.dat
+ test '!' -f /usr/share/texmf/etex/plain/config/language.def
+ test '!' -f /usr/share/texmf/tex/context/config/cont-usr.tex
+ test -f /usr/share/texmf/tex/context/config/cont-usr.tex
+ test '!' -f /usr/share/texmf/web2c/fmtutil.cnf
+ exist_test -f /usr/share/texmf/web2c/fmtutil.cnf 'fmtutil.cnf file'
+ type=-f
+ name=/usr/share/texmf/web2c/fmtutil.cnf
+ what=fmtutil.cnf file
+ '[' '!' -f /usr/share/texmf/web2c/fmtutil.cnf ']'
+ msg=Could not find fmtutil.cnf file.
+ test -f /tmp/texconf2421/logfile
+ msg=Could not find fmtutil.cnf file.\n\nThe programm will exit now.
+ run_dialog --msgbox 'Could not find fmtutil.cnf file.\n\nThe programm will exit now.' 23 80
+ cls
+ test -z ''
+ tty
+ clear
+ test -n /usr/bin/dialog
+ /usr/bin/dialog --title 'teTeX setup utility' --msgbox 'Could not find fmtutil.cnf file.\n\nThe programm will exit now.' 23 80

[ I pressed enter here.]

+ cls
+ test -z ''
+ tty
+ clear
+ test -f /tmp/texconf2421/logfile
+ exit_return 1
+ setreturn 1
+ return 1
+ exit 1
dpkg: error processing tetex-base (--configure):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 tetex-base

-- 
G. Branden Robinson                |     I'm not going to waste my precious
Debian GNU/Linux                   |     flash memory with Perl when I can
branden@debian.org                 |     do so much more with it.
http://people.debian.org/~branden/ |     -- Joey Hess

Attachment: signature.asc
Description: Digital signature


Reply to: