[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



Package: tex-common
Version: 3.12
Severity: important

Dear Maintainer,

the upgrade of tex-common fails due to the reporting of missing map files. The
output from updmap-sys is as follows:
updmap is using the following updmap.cfg files (in precedence order):
  /etc/texmf/web2c/updmap.cfg
  /usr/share/texmf/web2c/updmap.cfg
  /usr/share/texlive/texmf/web2c/updmap.cfg
  /usr/share/texlive/texmf-dist/web2c/updmap.cfg
dvips output dir: "/var/lib/texmf/fonts/map/dvips/updmap"
pdftex output dir: "/var/lib/texmf/fonts/map/pdftex/updmap"
dvipdfmx output dir: "/var/lib/texmf/fonts/map/dvipdfmx/updmap"
pxdvi output dir: "/var/lib/texmf/fonts/map/pxdvi/updmap"

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)
        lm-l7x.map (in /usr/share/texmf/web2c/updmap.cfg)
        lm-math.map (in /usr/share/texmf/web2c/updmap.cfg)
        lm-qx.map (in /usr/share/texmf/web2c/updmap.cfg)
        lm-rm.map (in /usr/share/texmf/web2c/updmap.cfg)
        lm-t5.map (in /usr/share/texmf/web2c/updmap.cfg)
        lm-texnansi.map (in /usr/share/texmf/web2c/updmap.cfg)
        lm-ts1.map (in /usr/share/texmf/web2c/updmap.cfg)
        
        Did you run mktexlsr?
        
        You can disable non-existent map entries using the option
         --syncwithtrees.

mktexlsr is run in the post installation script before updmap-sys is called,
so yes I run mktexlsr.

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.

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.

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

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

in the postrm script of lmodern should fix the problem.


With best regards,
Julian Wollrath

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.5.0-rc2-wl-00217-g944325c (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages tex-common depends on:
ii  debconf [debconf-2.0]  1.5.43
ii  dpkg                   1.16.4.2
ii  ucf                    3.0025+nmu3

tex-common recommends no packages.

Versions of packages tex-common suggests:
pn  debhelper  <none>

Versions of packages texlive-base depends on:
ii  debconf [debconf-2.0]  1.5.43
ii  dpkg                   1.16.4.2
ii  install-info           4.13a.dfsg.1-10
ii  libpaper-utils         1.1.24+nmu2
ii  luatex                 0.70.1.20120524-2
ii  mime-support           3.52-1
ii  texlive-binaries       2012.20120530-2+b1
ii  texlive-common         2012.20120611-1
ii  texlive-doc-base       2012.20120611-1
ii  ucf                    3.0025+nmu3

Versions of packages texlive-base recommends:
pn  lmodern  <none>

Versions of packages texlive-base suggests:
ii  ghostscript [postscript-viewer]  9.05~dfsg-6
ii  okular [postscript-viewer]       4:4.7.4-2
pn  perl-tk                          <none>
pn  xpdf-reader | pdf-viewer         <none>

Versions of packages texlive-binaries depends on:
ii  dpkg            1.16.4.2
ii  ed              1.6-2
ii  install-info    4.13a.dfsg.1-10
ii  libc6           2.13-33
ii  libfontconfig1  2.9.0-6
ii  libfreetype6    2.4.9-1
ii  libgcc1         1:4.7.1-1
ii  libgraphite3    1:2.3.1-0.2
ii  libkpathsea6    2012.20120530-2+b1
ii  libpng12-0      1.2.49-1
ii  libpoppler19    0.18.4-2
ii  libptexenc1     2012.20120530-2+b1
ii  libstdc++6      4.7.1-1
ii  libx11-6        2:1.4.99.901-2
ii  libxaw7         2:1.0.10-2
ii  libxmu6         2:1.1.1-1
ii  libxpm4         1:3.5.10-1
ii  libxt6          1:1.1.3-1
ii  perl            5.14.2-11
ii  texlive-common  2012.20120611-1
ii  zlib1g          1:1.2.7.dfsg-11

Versions of packages texlive-binaries recommends:
ii  luatex          0.70.1.20120524-2
ii  python          2.7.3~rc2-1
ii  ruby1.8 [ruby]  1.8.7.358-4
ii  texlive-base    2012.20120611-1
pn  wish            <none>

-- debconf information:
  tex-common/check_texmf_wrong:
  texlive-base/binary_chooser: pdftex, dvips, dvipdfmx, xdvi
  tex-common/check_texmf_missing:
  texlive-base/texconfig_ignorant:



Reply to: