reassign 360901 tetex-bin thanks Francesco Potorti` <[EMAIL PROTECTED]> wrote:
> Package: lmodern > Version: 0.99.3-2 > Severity: important > > Setting up lmodern (0.99.3-2) ... > Running mktexlsr. This may take some time... done. > Running updmap-sys. This may take some time... > updmap-sys failed. Output has been stored in > /var/tmp/updmap.XX2LhdQV > Please include this file if you report a bug. > > On my system, I have: > > # echo $TMPDIR > /var/tmp > [...] > ===File /var/tmp/updmap.XX2LhdQV============================ > updmap-sys: This is updmap-sys, version 1107552857-debian > updmap-sys: using transcript file `/var/lib/texmf/web2c/updmap-sys.log' > mkdir: cannot create directory `$TMPDIR/updmap-sys.6666': No such file or > directory > updmap-sys: could not create directory `$TMPDIR/updmap-sys.6666'. > ============================================================ Thanks for reporting. I can't reproduce it here, and I understand only part of it. One problem is that in updmap (which is called as updmap-sys here) we have tmpdir=${TMP-/tmp}/$progname.$$ Therefore you would have to set TMP, not TMPDIR, to influence updmap(-sys). Probably that's a bug by itself, and we should fix this. On the other hand, if I set TMPDIR to /var/tmp/ and make /tmp non-writable (chmod a-w didn't work for root, strangely, I removed the complete directory), then I get mkdir: cannot create directory `/tmp/updmap-sys.28024': No such file or directory In other words, the $tmpdir variable has (as expected) been assigned "/tmp", and the error message prints the substitution of $tmpdir, not $TMPDIR as it is in your case. Please help us to debug this problem and follow these instructions: - Save the attachment as /usr/local/bin/updmap-sys - make sure that it is found ("which updmap-sys"); if updmap-sys has been called in the same shell session before, sometimes the old version is still used - run updmap-sys 2>&1 | tee updmap.log and send us the resulting file updmap.log After that, to fix your system, do export TMP=/var/tmp until we know how to properly fix it. Thanks in advance, Frank -- Frank Küster Single Molecule Spectroscopy, Protein Folding @ Inst. f. Biochemie, Univ. Zürich Debian Developer (teTeX)
#!/bin/sh v=`kpsewhich -var-value TEXMFSYSVAR` c=`kpsewhich -var-value TEXMFSYSCONFIG` TEXMFVAR="$v" TEXMFCONFIG="$c" RUNNING_AS_SYS=true export TEXMFVAR TEXMFCONFIG RUNNING_AS_SYS exec sh -x updmap ${1+"$@"}