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

Bug#232725: tetex-bin: Got the same error with 2.0.2-8 and 2.0.2-9



Lars Brueckner <brueckner@ito.tu-darmstadt.de> schrieb:

> Package: tetex-bin
> Version: 2.0.2-9
> Severity: normal
> Followup-For: Bug #232725
>
> Hello,
>
> I had the same problems with tetex-bin described here when
> I tried to upgrade from 2.0.2-7 to 2.0.2-8.
> Setting up tetex-bin hangs forever 
> I could work around it by creating an empty /etc/X11/app-defaults/XDvi
> as described above. 
> I removed the empty file after the upgrade, and now with todays
> upgrade to 2.0.2-9 the problem is here again.
>
> pstree -apl reveals the following:
>
>   |   |-kdeinit,1327
>   |   |   |-bash,1340
>   |   |   |   `-bash,1419
>   |   |   |       `-apt-get,1511 upgrade
>   |   |   |           `-dpkg,2340 --configure debconf debconf-i18n libkpathsea3 tetex-bin passwd libdb4.2 libdb4.2-dev cdda2wav cdrecord debconf-utilsgrep-dct
>   |   |   |               `-frontend,2513 -w /usr/share/debconf/frontend /var/lib/dpkg/info/tetex-bin.postinst configure 2.0.2-8
>   |   |   |                   `-tetex-bin.posti,2559 /var/lib/dpkg/info/tetex-bin.postinst configure 2.0.2-8
>   |   |   |                       `-texconfig,2982 /usr/bin/texconfig init
>   |   |   |                           `-dialog,3019 --title teTeX\040setup\040utility --msgbox Could\040not\040find\040app-default\040file\040for\040xdvi.\012\012The\040program\040will\040exit\040now. . 23 80
>   |   |   `-bash,3075
>
> Don't know much about dpkg, but why is has the 
> tetex-bin.postinst 2.0.2-8 as parameter instead of 2.0.2-9? 

This is normal, postinst is called like this:

     postinst configure most-recently-configured-version

(see
http://www.debian.org/doc/debian-policy/ch-maintainerscripts.html#s-configdetails). 

But your pstree output really helps, thank you! What wants to display
the dialog is not the postinst, but the texconfig program called by it. 

I would like to know the output of a couple of commands from you:

echo $XDVIINPUTS
XDVIINPUTS=':/usr/share/texmf/{xdvi,web2c}' kpsewhich  -progname=xdvi --format='other text files' XDvi
XDVIINPUTS="$XDVIINPUTS":'$TEXMF/{xdvi,web2c}' kpsewhich  -progname=xdvi --format='other text files' XDvi

And an output of ls -l for the files in the output of the previous two
commands 

Thank you, Frank
-- 
Frank Küster, Biozentrum der Univ. Basel
Abt. Biophysikalische Chemie




Reply to: