[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#176029: /usr/bin/updmap script hangs during upgrade



Package: tetex-base
Version: 1.0.2+20021025-5

I encountered the following problem while switching from testing
(sarge) to unstable (sid):

The tetex-base package repeatedly hanged during configuration:

    kolon:/etc# dpkg --configure --pending
    Setting up tetex-base (1.0.2+20021025-5) ...
    Regenerating /etc/texmf/updmap.cfg ... done
    (Here nothing more happens, I have to interrupt it.)

Some investigation revealed that it's the updmap script that hangs on
the following line when it fails to find ps2pk35.map:

  { transLW35 $ps2pk35; cat $tmp1 $tmp2; } \
    | grep -v '^%' | grep . | sort | uniq >> $outputdir/ps2pk.map

The problem could be trigged by running the updmap command manually:

    kolon:/etc# /bin/sh /usr/bin/updmap --cnffile /etc/texmf/updmap.cfg --outputdir /etc/texmf/dvips
    /usr/bin/updmap: line 622: /web2c/mktexdir: No such file or directory
    using output directory /etc/texmf/dvips

    updmap is creating new map files using the following configuration:
      prefer outlines: true
      texhash enabled: true
      download standard fonts (dvips): false
      download standard fonts (pdftex): false

    Scanning for LW35 support files
    updmap: map file `pdftex35.map' not found.
    updmap: map file `ps2pk35.map' not found.
    updmap: map file `dvips35.map' not found.

    Scanning for MixedMap entries:
    using map file `/usr/share/texmf/dvips/bluesky/bsr-interpolated.map'
    using map file `/usr/share/texmf/dvips/bluesky/bsr.map'
    using map file `/usr/share/texmf/dvips/cc-pl/ccpl.map'
    using map file `/usr/share/texmf/dvips/config/cs.map'
    using map file `/usr/share/texmf/dvips/misc/eurosym.map'
    using map file `/usr/share/texmf/dvips/config/hoekwater.map'
    using map file `/usr/share/texmf/dvips/config/pl.map'
    updmap: map file `ttcmex.map' not found.

    Scanning for Map entries:
    using map file `/usr/share/texmf/dvips/antp/antp.map'
    using map file `/usr/share/texmf/dvips/antt/antt.map'
    using map file `/usr/share/texmf/dvips/config/charter.map'
    using map file `/usr/share/texmf/dvips/config/cmcyr.map'
    using map file `/usr/share/texmf/dvips/config/context.map'
    using map file `/usr/share/texmf/dvips/config/lucidabr.map'
    using map file `/usr/share/texmf/dvips/config/marvosym.map'
    using map file `/usr/share/texmf/dvips/config/mathpi.map'
    updmap: map file `mathpple.map' not found.
    using map file `/usr/share/texmf/dvips/config/mt-plus.map'
    using map file `/usr/share/texmf/dvips/config/mt-yy.map'
    using map file `/usr/share/texmf/dvips/omega/omega.map'
    using map file `/usr/share/texmf/dvips/config/pazo.map'
    updmap: map file `pxfonts.map' not found.
    updmap: map file `qbk.map' not found.
    updmap: map file `qcr.map' not found.
    updmap: map file `qhv.map' not found.
    using map file `/usr/share/texmf/dvips/config/qpl.map'
    using map file `/usr/share/texmf/dvips/config/qtm.map'
    updmap: map file `qzc.map' not found.
    updmap: map file `txfonts.map' not found.
    using map file `/usr/share/texmf/dvips/config/xypic.map'

    (Hang..)

The script warns about that it couldn't find ps2pk35.map but it
continues. The line mentioned above hangs since $ps2pk35 is empty
which causes the cat inside transLW35 to get no argument.

My workaround was to short-circuit the updmap script altogether,
finish the configuration and rerun it afterwards. It then went fine
since the map files are in place at that point. I haven't yet tested
that the tetex installation actually works, though.




Reply to: