<div dir="ltr">Apologies for sending this a second time.&nbsp; The first time I accidentally hit the send button.<br><br>I am running tex-live on a ubuntu 7.10 system.<br>I had had tex-live running successfully for a while but recently tried to add a number of .cls and .sty files.<br>
Once I added these files I was able to use them while running lyx (which generates .tex files)<br>
Eventually I got around to running latex on my .tex files.<br>When I did I got the following errors:<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; kpathsea: Running mktexfmt pdflatex.fmt<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; tcfmgr: config file `tcfmgr.map&#39; (usually in $TEXMFMAIN/texconfig) not found.<br>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; fmtutil: config file `fmtutil.cnf&#39; not found.<br><br>Advice on the web advised me to reinstall tex-live which I did but it did not help.<br>Eventually I discovered the texconfig command.&nbsp; <br>First I tried running texhash from inside texconfig but to no avail.<br>

then I ran conf to show the configuration; the output is shown below.<br>Some of the&nbsp; kpathsea variables have odd settings as far as I know.<br>In particular:<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; TEXMFVAR=/home/rocky/.texmf-var<br><div dir="ltr">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; TEXMFCONFIG=/home/rocky/.texmf-config<br><br>Neither of the above files exist in my home directory (rocky).<br>
<br>Questions <br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1) Are these settings the source of my problem.<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2) If they are then how do I get them set correctly.<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 3)&nbsp; If they are not how do I do a proper reinstall.<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; I assume I have modified or created a file somewhere<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; that is affecting the reinstall but I don&#39;t know which file.<br><br>Thanks for any help.<br><br>Ralph Boland<br>&nbsp;<br><br>OUTPUT from the&nbsp; conf command from within texconfig:<br><br>=========================== version information ==========================<br>
teTeX-src release:&nbsp;&nbsp; (info not available)<br>teTeX-texmf release: (info not available)<br><br>==================== binaries found by searching $PATH ===================<br>
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/X11R6/bin<br>kpsewhich: /usr/bin/kpsewhich<br>updmap: /usr/bin/updmap<br>fmtutil: /usr/bin/fmtutil<br>texconfig: /usr/bin/texconfig<br>tex: /usr/bin/tex<br>

pdftex: /usr/bin/pdftex<br>mktexpk: /usr/bin/mktexpk<br>dvips: /usr/bin/dvips<br>dvipdfm: /usr/bin/dvipdfm<br><br>=========================== active config files ==========================<br>/etc/texmf/dvipdfm/config/config<br>

/etc/texmf/dvips/config/<a href="http://config.ps/" target="_blank">config.ps</a><br>/etc/texmf/tex/generic/config/pdftexconfig.tex<br>/etc/texmf/web2c/mktex.cnf<br>/etc/texmf/xdvi/XDvi<br>/usr/share/texmf/web2c/texmf.cnf<br>
/var/lib/texmf/web2c/fmtutil.cnf<br>
/var/lib/texmf/web2c/updmap.cfg<br><br>============================= font map files =============================<br>psfonts.map: /var/lib/texmf/fonts/map/dvips/updmap/psfonts.map<br>pdftex.map: /var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map<br>

ps2pk.map: /var/lib/texmf/fonts/map/dvips/updmap/ps2pk.map<br>dvipdfm.map: /var/lib/texmf/fonts/map/dvipdfm/updmap/dvipdfm.map<br><br>=========================== kpathsea variables ===========================<br>TEXMFMAIN=/usr/share/texmf<br>

TEXMFDIST=/usr/share/texmf-texlive<br>TEXMFLOCAL=/usr/local/share/texmf<br>TEXMFSYSVAR=/var/lib/texmf<br>TEXMFSYSCONFIG=/etc/texmf<br>TEXMFVAR=/home/rocky/.texmf-var<br>TEXMFCONFIG=/home/rocky/.texmf-config<br>TEXMFHOME=/home/rocky/texmf<br>

VARTEXFONTS=/tmp/texfonts<br>TEXMF={/home/rocky/.texmf-config,/home/rocky/.texmf-var,/home/rocky/texmf,/etc/texmf,!!/var/lib/texmf,!!/usr/local/share/texmf,!!/usr/share/texmf,!!/usr/share/texmf-texlive}<br>SYSTEXMF=/var/lib/texmf,/usr/local/share/texmf:/usr/share/texmf:/usr/share/texmf-texlive<br>

TEXMFDBS={!!/var/lib/texmf,!!/usr/local/share/texmf,!!/usr/share/texmf,!!/usr/share/texmf-texlive}<br>WEB2C={/home/rocky/.texmf-config,/home/rocky/.texmf-var,/home/rocky/texmf,/etc/texmf,!!/var/lib/texmf,!!/usr/local/share/texmf,!!/usr/share/texmf,!!/usr/share/texmf-texlive}/web2c<br>

TEXPSHEADERS=.:{/home/rocky/.texmf-config,/home/rocky/.texmf-var,/home/rocky/texmf,/etc/texmf,!!/var/lib/texmf,!!/usr/local/share/texmf,!!/usr/share/texmf,!!/usr/share/texmf-texlive}/{dvips,fonts/{enc,type1,type42,type3}}//<br>

TEXCONFIG={/home/rocky/.texmf-config,/home/rocky/.texmf-var,/home/rocky/texmf,/etc/texmf,!!/var/lib/texmf,!!/usr/local/share/texmf,!!/usr/share/texmf,!!/usr/share/texmf-texlive}/dvips//<br>ENCFONTS=.:{/home/rocky/.texmf-config,/home/rocky/.texmf-var,/home/rocky/texmf,/etc/texmf,!!/var/lib/texmf,!!/usr/local/share/texmf,!!/usr/share/texmf,!!/usr/share/texmf-texlive}/fonts/enc//<br>

TEXFONTMAPS=.:{/home/rocky/.texmf-config,/home/rocky/.texmf-var,/home/rocky/texmf,/etc/texmf,!!/var/lib/texmf,!!/usr/local/share/texmf,!!/usr/share/texmf,!!/usr/share/texmf-texlive}{/fonts/map,}{/kpsewhich,/pdftex,/dvips,}//<br>

<br>==== kpathsea variables (from environment only; ok if no output here) ====<br><br>press return to continue...</div>
</div>