[texhax] Debian testing & tetex-bin

Vittorio v.demartino2 at virgilio.it
Thu May 27 20:24:11 CEST 2004


Under debian testing I'm updating & upgrading the system by means of 
apt-get.

<snip>
Setting up tetex-bin (2.0.2-14) ...
Regenerating /etc/texmf/texmf.cnf ... done
Running initex. This may take some time. ...
Error: `etex -ini ?-jobname=3Detex -progname=3Detex *etex.ini' failed
Error: `pdfetex -ini ?-jobname=3Dpdfetex -progname=3Dpdfetex *pdfetex.ini=
' failed
fmtutil: /usr/share/texmf/web2c/lambda.oft installed.
fmtutil: /usr/share/texmf/web2c/omega.oft installed.
fmtutil: /usr/share/texmf/web2c/amstex.fmt installed.
fmtutil: /usr/share/texmf/web2c/jadetex.fmt installed.
fmtutil: /usr/share/texmf/web2c/latex.fmt installed.
fmtutil: /usr/share/texmf/web2c/pdfjadetex.fmt installed.
fmtutil: /usr/share/texmf/web2c/pdflatex.fmt installed.
fmtutil: /usr/share/texmf/web2c/pdftex.fmt installed.
fmtutil: /usr/share/texmf/web2c/tex.fmt installed.
fmtutil: /usr/share/texmf/web2c/cont-en.efmt installed.
fmtutil: /usr/share/texmf/web2c/elatex.efmt installed.
fmtutil: /usr/share/texmf/web2c/mptopdf.efmt installed.
fmtutil: /usr/share/texmf/web2c/pdfelatex.efmt installed.
fmtutil: /usr/share/texmf/web2c/metafun.mem installed.
fmtutil: /usr/share/texmf/web2c/mpost.mem installed.
fmtutil: /usr/share/texmf/web2c/mf.base installed.

#########################################################################=
######
fmtutil: Error! Not all formats have been built successfully.
Visit the log files in directory
? /usr/share/texmf/web2c
for details.
#########################################################################=
######

...................

It has become a serious problem!
After those messages of error I completely uninstalled all the tetex 
packages the tex connected ones (lyx, texmacs, etc.) by means of 
"apt-get remove --purge pasckage"; then - to be on the safe side - I 
removed by hand the
/etc/texmf & /usr/share/texmf directories with their subdirs.

Reinstalling all over again tetex-2.0.2 from the official debian testing
archive via apt-get install tetex-bin again causes a problem: when 
setting the package up debian testing complains about  a missing 
configuration file under /etc/texmf (as I said this dir was removed by 
hand by me!). In fact, I found that the configuration program of 
tetex-bin 2.0.2-14  expected an /etc/texmf/texmf/05TeXMF.cnf file that 
actually was codified with something like /usr/share/texmf/..../05TeXMF.cnf.
I copied the required file under/etc/texmf/texmf/ and the configuration
complained about a missing /etc/texmf/texmf.cnf file. 
I found it under the "usual"  /usr/share/texmf/.... and copied in the right 
position and now the error is as follow:

Regenerating /etc/texmf/texmf.cnf ... done
update-fmtutil; Something seems wrong.
dpkg: error processing tetex-bin (--configure):
  subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
  tetex-bin
E: Sub-process /usr/bin/dpkg returned an error code (1)

Has anyone any idea on why this has been happening?

What to do next?

An extreme solution would be to get rid of every tex related package (via
apt-get emove --purge), eliminate the directories involved, and starting a
new installation all over again FROM SCRATCH.
In this case what are all the directories I should delete?

Ciao in a despair

Vittorio



More information about the texhax mailing list