Hi Frank! On Fre, 06 Okt 2006, Frank Küster wrote: > Running mktexlsr. This may take some time. ... done. > dpkg: error processing texinfo (--configure): > subprocess post-installation script returned error exit status 1
The respective code is: if which mktexlsr >/dev/null; then update_lsr_files; fi # tetex might be unpacked but not configured, we have to check # whether /etc/texmf/texmf.cnf already exists. The following # check # does two things: 1) check whether libkpathsea is configured, # and # 2) whether tex-common is configured. if kpsewhich texmf.cnf > /dev/null 2>&1 ; then build_format_if_format_exists --byfmt texinfo build_format_if_format_exists --byfmt cyrtexinfo fi Now the question is, did it happen in the if kpsewhich texmf.cnf > /dev/null 2>&1 part or in the build_format_if_format_exists --byfmt texinfo I honestly have no idea, since set -x didn't help anything. The if statement should be the problem, it actually should check whether everything is working. But then, the building of the format shouldn't break. If I take a look into the build_format_if_format_exists function (because the error should be there, as the build format_function echos something, I see only calls to kpsewhich -var-value TEXMFSYSVAR kpsewhich -var-value TEXMFSYSCONFIG kpsewhich --format='web2c files' fmtutil.cnf could it be that one of them does not wolrk? I guess the first two should work as there is already a texmf.cnf file, so assume that it is the third. Ahhhh... tetex not configured, so no fmtutil.cnf, so exit code 1, so break ... AHHHHHHH Good, or better not good. I think I have to change the build_format_if_format_exists function to: export TEXMFVAR TEXMFCONFIG if kpsewhich --format='web2c files' fmtutil.cnf > /dev/null 2>&1 ; then fmtcnffile=`kpsewhich --format='web2c files' fmtutil.cnf` else return 0 fi Do you agree? I guess I will upload a new packages with urgency=medium as this is RC, or? Best wishes Norbert ------------------------------------------------------------------------------- Dr. Norbert Preining <[EMAIL PROTECTED]> Università di Siena Debian Developer <[EMAIL PROTECTED]> Debian TeX Group gpg DSA: 0x09C5B094 fp: 14DF 2E6C 0307 BE6D AD76 A9C0 D2BF 4AA3 09C5 B094 ------------------------------------------------------------------------------- CORRIEMUCHLOCH (n.) Word describing the kind of person who can make a complete mess of a simple job like walking down a corridor. --- Douglas Adams, The Meaning of Liff -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]