Francesco Potorti` <[EMAIL PROTECTED]> wrote: >>It seems you have created updmap.log after you exported TMP, right? > > No, but wait... > > Okay, I have TMP=$TMPDIR set in my environment. I had forgotten. So, > yes, TMP was set. > >>And the updmap script succeeded this time (there are a few warnings, >>though), whereas you said in an other mail that setting TMP did not >>help. So I'm a little confused here. > > Me too :-) > > Summarising: > - I have an environment where TMP=/var/tmp and TMPDIR=/var/tmp > - I created the updmap.log > - I set TMP=/var/tmp (which was a noop, I now realise) > - I installed lmodern but if failed as before (which was obvious, I now > realise)
Nearly - it fails differently. >>What I'd like you to do is to unset TMP, and then run the debug version >>of updmap-sys again: >> >>unset TMP >>updmap-sys 2>&1 | tee updmap.log > > Ok. > > I append the output for both cases: the first with TMP unset, the second > is with TMP set to /var/tmp, just like TMPDIR. > > > ===File /tmp/updmap.notmp.log=============================== [...] > + tmpdir=/tmp/updmap-sys.20757 > + tmp1=/tmp/updmap-sys.20757/a > + tmp2=/tmp/updmap-sys.20757/b > + tmp3=/tmp/updmap-sys.20757/c > + tmp4=/tmp/updmap-sys.20757/d > + tmp5=/tmp/updmap-sys.20757/e > + tmp6=/tmp/updmap-sys.20757/f > + tmp7=/tmp/updmap-sys.20757/g > + tmp8=/tmp/updmap-sys.20757/h As expected for unset TMP. > + setupTmpDir > + false > + trap cleanup 1 2 3 7 13 15 > + needsCleanup=true > + mkdir /tmp/updmap-sys.20757 Obviously this succeeded, and cannot explain the error message you got the first time. But we still need to decide whether we should change updmap to use TMPDIR instead of TMP, or in addition to it. Here comes the version with TMP set. It gives a completely different error message: > !!! ERROR! The map file `cork-lm.map' has not been found at all. > > Either put this file into the right place or remove the > reference from the configuration file. An automatic way > to disable unavailable map files is to call > updmap-sys --syncwithtrees > > For manual editing, call > updmap-sys --edit So for further debugging, we don't need the version of updmap-sys in /usr/local/bin, since the error messages will be displayed, anyway. cork-lm.map should be in /usr/share/texmf/fonts/map/dvips/lm/, and should be found with the command kpsewhich --format=map cork-lm.map. Is this the case on your system? What's the output of kpsewhich --show-path map Regards, Frank -- Frank Küster Single Molecule Spectroscopy, Protein Folding @ Inst. f. Biochemie, Univ. Zürich Debian Developer (teTeX)