Re: [Matthias Faulstich] Re: Installation /Configuration Problem with tetex
Hello!
Am Donnerstag, 10. November 2005 11:52 schrieb Frank Küster :
> Matthias Faulstich <faulstich@elon07.fh-swf.de> wrote:
> > I'm becoming root with "su" only.
>
> So that's consistent and shouldn't create problems.
>
> > Hmm.
> > I tried to compile an old latex file as root (getting with su), but i get
> > the same mistake:
> >
> > As user:
> > matthias@mfai1:~/tmp$ latex test-tex
> > This is pdfeTeX, Version 3.141592-1.21a-2.2 (Web2C 7.5.4)
> > kpathsea: Running mktexfmt latex.fmt
> > fmtutil: format `latex' not available.
> > I can't find the format file `latex.fmt'!
>
> Since the bug occurs here,too, let's stick to the user case. And let's
> repeat all the checks we did previously, and some more:
>
> Please post the output of the following commands:
I appended a file containing the output to prevent useless linebreaks caused
by the mail client editor.
Should I run as root again? I hope so.
> dpkg -l tex-common tetex-base tetex-bin tetex-extra
> /usr/share/texmf/texconfig/tcfmgr --cmd find --file fmtutil.cnf
> grep latex `/usr/share/texmf/texconfig/tcfmgr --cmd find --file
> fmtutil.cnf` egrep "^latex( | )" `/usr/share/texmf/texconfig/tcfmgr --cmd
> find --file fmtutil.cnf` #(in the last command, there's a space before the
> | and a tab after it). kpsewhich -progname=latex -format=tex latex.ini
> ls -ld /usr/share/texmf/tex/latex/config
> ls -l /usr/share/texmf/tex/latex/config/
>
> > As root:
>
> [...]
>
> > fmtutil-sys: fmtutil-sys: unknown option `latex.fmt'. Try fmtutil-sys
> > --help for help.
>
> This is actually a bug in fmtutil-sys, it seems - but it is not the
> source of your problems.
>
Regards
Matthias
mfai1:/home/matthias/tmp# dpkg -l tex-common tetex-base tetex-bin tetex-extra
Gewünscht=Unbekannt/Installieren/R=Entfernen/P=Säubern/Halten
| Status=Nicht/Installiert/Config/U=Entpackt/Fehlgeschl. Konf./Halb install.
|/ Fehler?=(keiner)/Halten/R=Neuinst. notw/X=beides (Status, Fehler: GROß=schlecht)
||/ Name Version Beschreibung
+++-==============================-==============================-============================================================================
ii tetex-base 3.0-10 Basic library files of teTeX
ii tetex-bin 3.0-10.1 The teTeX binary files
ii tetex-extra 3.0-10 Additional library files of teTeX
ii tex-common 0.10 Common infrastructure for using and building TeX in Debian
mfai1:/home/matthias/tmp# /usr/share/texmf/texconfig/tcfmgr --cmd find --file fmtutil.cnf
/var/lib/texmf/web2c/fmtutil.cnf
mfai1:/home/matthias/tmp# grep latex `/usr/share/texmf/texconfig/tcfmgr --cmd find --file fmtutil.cnf`
# Standard formats (plain, latex) with all engines:
latex pdfetex language.dat -translate-file=cp227.tcx *latex.ini
pdflatex pdfetex language.dat -translate-file=cp227.tcx *pdflatex.ini
#! pdfxlatex pdfxtex language.dat -translate-file=cp227.tcx *pdfxlatex.ini
#! platex pdfetex language.dat -translate-file=cp227.tcx *platex.ini
#! pdfplatex pdfetex language.dat -translate-file=cp227.tcx *pdfplatex.ini
#! platex-pl pdfetex - nls=pdfetex-pl,il2-pl *platex.ini
#! cslatex pdfetex - -translate-file=cp227.tcx *cslatex.ini
#! pdfcslatex pdfetex - -translate-file=cp227.tcx *cslatex.ini
I didn't belive in the output, so I changed the grep search pattern to find anything beginning with "latex"
It's less enough
mfai1:/home/matthias/tmp# egrep "^latex" `/usr/share/texmf/texconfig/tcfmgr --cmd find --file fmtutil.cnf`
latex pdfetex language.dat -translate-file=cp227.tcx *latex.ini
The next command made no output
mfai1:/home/matthias# kpsewhich -progname=latex -format=tex latex.ini
mfai1:/home/matthias#
mfai1:/home/matthias# ls -ld /usr/share/texmf/tex/latex/config
drwxr-xr-x 2 root root 4096 2005-10-26 07:33 /usr/share/texmf/tex/latex/config
mfai1:/home/matthias# ls -l /usr/share/texmf/tex/latex/config/
insgesamt 20
-rw-r--r-- 1 root root 77 2004-03-10 21:41 lambda.ini
-rw-r--r-- 1 root root 196 2004-03-26 20:10 latex.ini
-rw-r--r-- 1 root root 196 2004-03-26 20:10 pdfelatex.ini
-rw-r--r-- 1 root root 196 2004-03-26 20:10 pdflatex.ini
-rw-r--r-- 1 root root 196 2004-03-26 20:10 pdfxlatex.ini
Reply to: