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

Bug#677698: tex-common: post installation script fails due to the failing of updmap-sys



Hi Julian,

On Sa, 16 Jun 2012, Julian Wollrath wrote:
> ERROR:  The following map file(s) couldn't be found:
>         lm-cs.map (in /usr/share/texmf/web2c/updmap.cfg)
>         lm-ec.map (in /usr/share/texmf/web2c/updmap.cfg)

Interesting.

> Running updmap-sys --syncwithtrees suggests, that on Debian I should run
> update-updmap, which I did, but updmap-sys fails regardless with the message
> above.

Even more interesting.

Can you give me the output of
	ls -R /var/lib/tex-common/fontmap-cfg/
? And in additon your current /usr/share/texmf/web2c/updmap.cfg, thanks

There should be NOT file
	/var/lib/tex-common/fontmap-cfg/texmf/lmodern.cfg

> Yesterday I installed and deinstalled lmodern and since the map files look to
> me, like they belong to lmodern, maybe the entries in updmap.cfg are leftovers
> from this installation.

That might be, but they should NEVER be included in the updmap.cfg
file if there is no file as mentioned above.

And if you removed lmodern and this file is still present,
I am wondering what has happened ... 

> Removing the lines in /usr/share/texmf/web2c/updmap.cfg, which mention above map
> files, fixes the problem. That implies, that adding something like

You should not have 	
	/var/lib/tex-common/fontmap-cfg/texmf/lmodern.cfg
and thebn run update-updmap as root

> UPDMAP_CFG_DIR=/usr/share/texmf/web2c
> for X in lm-cs lm-ec lm-l7x lm-math lm-qx lm-rm lm-t5 lm-texnansi lm-ts1
> do  
>     sed -e 's/$X/# $X/' $UPDMAP_CFG_DIR/updmap.cfg > $UPDMAP_CFG_DIR/updmap.cfg.tmp
>     mv UPDMAP_CFG_DIR/updmap.cfg.tmp $UPDMAP_CFG_DIR/updmap.cfg
> done
> rm -f $UPDMAP_CFG_DIR/updmap.cfg.tmp

Wrong approach.

Best wishes

Norbert
------------------------------------------------------------------------
Norbert Preining            preining@{jaist.ac.jp, logic.at, debian.org}
JAIST, Japan                                 TeX Live & Debian Developer
DSA: 0x09C5B094   fp: 14DF 2E6C 0307 BE6D AD76  A9C0 D2BF 4AA3 09C5 B094
------------------------------------------------------------------------
CRAIL (n. mineral)
Crail is a common kind of rock or gravel found widely across the
British Isles. Each individual stone (due to an as yet undiscovered
gravitational property) is charged with 'negative buoyancy'. This
means that no matter how much crail you remove from the garden, more
of it will rise to the surface. Crail is much employed by the Royal
Navy for making the paperweights and ashtrays used inside submarines.
			--- Douglas Adams, The Meaning of Liff



Reply to: