Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

i encountered a strange behaviour of updmap with texlive 2009-13:

When I try to enabe map files with updmap(-sys) (or run getnonfreefonts(-sys), the program exits silently. Even with a complete new install.

It took me some time to work out why.

The problem occurs if the file /etc/texmf/updmap.d/10local.cfg does not exist already. The responsible line in the debianize-updmap file is:

localfile="`ls $debDirname/*local*cfg 2>/dev/null`"

The funny thing is, that with my old version everything was ok. I guess the problem is the added line

set -e

which causes the script to exit if the ls does not find a file and thus returns exit code 2.

I wonder that i have not found anything about this in the internet yet. Has anyone else encountered this problem, too? Or knows any other solution? I temporary solved it for me by commenting out set -e.

share|improve this question
add comment

1 Answer

up vote 3 down vote accepted

This is not a bug, but a (mis)feature of Debian. Just say touch /etc/texmf/updmap.d/10local.cfg

share|improve this answer
    
Nice feature :) But i dont't understand why it was changed in updmap... But the 'solution' seems to be the best way to handle it. Thx! –  ejoerns Nov 1 '11 at 18:34
    
Mh.. Now I have another problem with updmap. It does not run in --quiet mode. When i comment out the line "$verbose && echo ${1+"$@"} >&2" it works (Otherwise returns code 1). Any suggestions? –  ejoerns Nov 1 '11 at 21:28
    
I always run it in the verbose mode... –  Boris Nov 1 '11 at 21:30
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.