[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 Norbert,

> 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
Of course:
$ ls -R /var/lib/tex-common/fontmap-cfg
/var/lib/tex-common/fontmap-cfg:
texlive/

/var/lib/tex-common/fontmap-cfg/texlive:
texlive-base.cfg  texlive-fonts-recommended.cfg  texlive-latex-base.cfg  
texlive-latex-extra.cfg  texlive-math-extra.cfg  texlive-pictures.cfg  
texlive-science.cfg

$ cat /usr/share/texmf/web2c/updmap.cfg
### This file was automatically generated by update-updmap.
#
# Any local change will be overwritten. Please see the documentation
# of updmap on how to override things from here.
#
###
# Don't delete the following pseudo-comment unless you know what you are 
doing.
# -_- DebPkgProvidedMaps -_-
# This file will *not* be included in updmap.cfg if the lmodern package is
# removed. Please read update-updmap(1) for details.
#
# This file is part of the set of files used to (indirectly) generate the
# final map files such as psfonts_{t1,pk}.map, {pdftex,dvipdfm}_{,n}dl14.map,
# ps2pk.map, builtin35.map and download35.map under /var/lib/texmf/fonts/map/
# (with psfonts.map being a symbolic link to one of psfonts_{t1,pk}.map,
# pdftex.map a symbolic link to one of pdftex_{,n}dl14.map and dvipdfm.map a
# symbolic link to one of dvipdfm_{,n}dl14.map, the choice depending on your
# updmap configuration, which you can customize by altering the files in
# /etc/texmf/updmap.d/ and running update-updmap).
#
# You should *not* modify the aforementioned final map files under
# /var/lib/texmf/fonts/map/ directly, for they are automatically generated by
# updmap-sys(1). Instead, you should read update-updmap(1), updmap-sys(1) and
# if you actually need to make changes to the aforementioned final map files,
# you should make the changes in /etc/texmf/updmap.d/, use update-updmap to
# regenerate /var/lib/texmf/web2c/updmap.cfg and finally updmap-sys to
# regenerate the final map files.
#
# Reading /etc/texmf/updmap.d/00updmap.cfg can also help understand how all
# this works.
#
#
# Declare the basic Latin Modern map files for use by the updmap-sys(1)
# machinery.
Map lm-cs.map
Map lm-ec.map
Map lm-l7x.map
Map lm-math.map
Map lm-qx.map
Map lm-rm.map
Map lm-t5.map
Map lm-texnansi.map
Map lm-ts1.map
#
# This map file can be enabled for compatibility with old DVI files, but the
# better thing to do instead of using this workaround is to rebuild these
# files with new LM fonts so that they use up-to-date font names.
# Map cork-lm.map

As I wrote, everything started working fine as I commented the Map lm*.map 
lines out.

> There should be NOT file
>         /var/lib/tex-common/fontmap-cfg/texmf/lmodern.cfg
As you can see, it is not there.

Running update-updmap as root gives me:
# update-updmap
update-updmap: skipping texmf
Regenerating '/var/lib/texmf/updmap.cfg-TEXLIVEDIST'... done.

update-updmap has updated the following file(s):
        /var/lib/texmf/updmap.cfg-TEXLIVEDIST

If you want to enable the map files with this new file,
you should run updmap-sys or updmap.

Running updmap-sys after that still gives the message I already quoted in my 
previous e-mail since the content of /usr/share/texmf/web2c/updmap.cfg is 
unchanged. But update-updmap says that it is regenerating 
/var/lib/texmf/updmap.cfg-TEXLIVEDIST but on my system the link is 
/usr/share/texmf/web2c/updmap.cfg -> /var/lib/texmf/updmap.cfg-DEBIAN so 
running update-updmap is of no use. The content of [...]-TEXLIVEDIST looks in 
good:
$ cat /var/lib/texmf/updmap.cfg-TEXLIVEDIST
### This file was automatically generated by update-updmap.
#
# Any local change will be overwritten. Please see the documentation
# of updmap on how to override things from here.
#
###
MixedMap cmextra.map
MixedMap cyrillic.map
MixedMap cmtext-bsr-interpolated.map
MixedMap symbols.map
MixedMap cm.map
MixedMap latxfont.map
Map euler.map
Map mathpple.map
MixedMap mflogo.map
Map fpls.map
Map utopia.map
Map pazo.map
Map charter.map
MixedMap wasy.map
Map marvosym.map
MixedMap eurosym.map
MixedMap rsfs.map
Map txfonts.map
Map pxfonts.map
Map knitfont.map
MixedMap xypic.map
MixedMap esint.map
Map epiolmec.map
MixedMap manfnt.map
MixedMap yhmath.map
MixedMap stmaryrd.map
Map chemarrow.map

As I see it, the problem is the wrong symlink 
(/usr/share/texmf/web2c/updmap.cfg -> /var/lib/texmf/updmap.cfg-DEBIAN instead 
of to [...]-TEXLIVEDIST if I understand it right) and the existence of the 
/v/l/t/updmap.cfg-DEBIAN. On an other up to date Debian Sid system of mine, 
the symlink is the same wrong one. The difference is, that it is a dead link 
due to the non existent /v/l/updmap.cfg-DEBIAN so the problem does not occur.


With best regards,
Julian



Reply to: