updmap-sys fails on install due to missing dvips35.map file

Bug #184908 reported by Daniel Richard G.
36
This bug affects 1 person
Affects Status Importance Assigned to Milestone
lmodern (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: lmodern

On an Ubuntu Gutsy system, installing a full TeX/LaTeX suite in one go:

====BEGIN TERMINAL SESSION====
apt-get install lmodern tetex-doc-nonfree tetex-extra texlive-generic-extra texpower
[...]

Setting up lmodern (1.010x-3) ...
warning: /usr/lib/X11/fonts/Type1 does not exist or is not a directory
warning: /usr/lib/X11/fonts/Type1 does not exist or is not a directory
Running mktexlsr. This may take some time... done.
Running updmap-sys. This may take some time...
updmap-sys failed. Output has been stored in
/tmp/updmap.fPR29844
Please include this file if you report a bug.

Sometimes, not accepting conffile updates in /etc/texmf/updmap.d
causes updmap-sys to fail. Please check for files with extension
.dpkg-dist or .ucf-dist in this directory

dpkg: error processing lmodern (--configure):
 subprocess post-installation script returned error exit status 1
Setting up texlive-common (2007-10) ...
[...]
====END TERMINAL SESSION====

The output of updmap-sys:

====BEGIN /tmp/updmap.fPR29844====
updmap: This is updmap, version 1167072206
updmap: using transcript file `/var/lib/texmf/web2c/updmap.log'

updmap is creating new map files using the following configuration:

  config file: `/var/lib/texmf/web2c/updmap.cfg'
  dvips output directory: `/var/lib/texmf/fonts/map/dvips/updmap'
  pdftex output directory: `/var/lib/texmf/fonts/map/pdftex/updmap'
  dvipdfm output directory: `/var/lib/texmf/fonts/map/dvipdfm/updmap'

  prefer outlines: `true'
  texhash enabled: `true'
  download standard fonts (dvips): `false'
  download standard fonts (pdftex): `true'
  download standard fonts (dvipdfm): `true'

updmap: Scanning for LW35 support files

!!! ERROR! The map file `dvips35.map' has not been found at all.

    Either put this file into the right place or remove the
    reference from the configuration files - see
    update-updmap(1).

====END /tmp/updmap.fPR29844====

The dvips35.map file is correctly installed as /usr/share/texmf-texlive/fonts/map/dvips/tetex/dvips35.map by the texlive-base-bin package, and re-running "apt-get install lmodern" after the above installation causes the package configuration to complete successfully.

I believe this is a case where the lmodern package attempted to install itself too early in the process, before the necessary file was in place, and that an appropriate inter-package dependency may address the problem.

Revision history for this message
Pascal De Vuyst (pascal-devuyst) wrote :

Confirmed by duplicate.

Changed in lmodern:
status: New → Confirmed
Revision history for this message
Daniel Richard G. (skunk) wrote :

This bug no longer occurs on Jaunty, nor on (I think) Intrepid, so I'm closing it. Please reopen if it is observed again.

Changed in lmodern (Ubuntu):
status: Confirmed → Invalid
Revision history for this message
asala (asala) wrote :

I hit this bug upgrading from natty to oneiric 11.10.

It asks for dvips35.map which has not been found at all... when installing tex-common...

however, it is NOT a latex bug but a corrupt locale bug. which subsequently affects Latex, Kile and the like...

doing:

cd /usr/lib/locale
sudo mv locale-archive locale-archive_old
sudo LANG="C" LC_ALL="C" dpkg-reconfigure locales
sudo LANG="C" LC_ALL="C" dpkg-reconfigure texlive-binaries
sudo LANG="C" LC_ALL="C" aptitude upgrade

solved the dependency problem.

See the corrupt locale bug #663694

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.