Bug#397717: lmodern: install failed with error message warning: directory /usr/lib/X11/fonts/Type1 does not exist

2006-11-08 Thread daniel bosold
Package: lmodern
Version: 1.00-3
Severity: grave
Justification: renders package unusable


installing lmodern fails with a twice repeated message of directory 
'/usr/lib/X11/fonts/Type1' does not exist. the package attempts once more to 
install but fails.

I have removed and attempted to reinstall to no effect. I have the latest X 
packages (unstable) and have read the message at 
http://lists.debian.org/debian-tex-maint/2006/10/msg00972.html but changing 
'set -e' to 'set -ex' at /var/lib/dpkg/info/lmodern.postinst  had no effect.

I also checked configuration of fontconfig as well as xorg.conf.


-- System Information:
Debian Release: 4.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17-1-686
Locale: LANG=en_IE.UTF-8, LC_CTYPE=en_IE.UTF-8 (charmap=UTF-8)

Versions of packages lmodern depends on:
ii  defoma0.11.10Debian Font Manager -- automatic f
ii  tex-common0.38   Common infrastructure for using an
ii  xfonts-utils  1:1.0.1-1  X Window System font utility progr

lmodern recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#397717: lmodern: install failed with error message warning: directory /usr/lib/X11/fonts/Type1 does not exist

2006-11-09 Thread daniel bosold

follows is the result of dpkg-reconfigure -plow (with lmodern.postinst
including set -ex). adding a fresh lm.map to
'/usr/share/texmf/fonts/map/dvips/lm/' seems to have fixed the
_configuration_ problem, but a clean installation still fails.

attached is the original output from updmap..


~ % sudo dpkg-reconfigure -plow lmodern

 (0) [EMAIL PROTECTED]:22:07 2715
+ which update-fonts-dir
+ update-fonts-scale Type1
warning: /usr/lib/X11/fonts/Type1 does not exist or is not a directory
+ update-fonts-dir --x11r7-layout Type1
warning: /usr/lib/X11/fonts/Type1 does not exist or is not a directory
+ case "$1" in
+ update-updmap --quiet
+ update-language
+ update-fmtutil
+ dhit_libkpathsea_configured
+ kpsewhich --version
+ which mktexlsr
+ dhit_update_lsr_files
++ mktemp -p /tmp mktexlsr.
+ tempfile=/tmp/mktexlsr.hWl10322
+ printf 'Running mktexlsr. This may take some time... '
Running mktexlsr. This may take some time... + mktexlsr
+ rm -f /tmp/mktexlsr.hWl10322
+ echo done.
done.
+ for i in map
+ '[' map = map ']'
+ which updmap-sys
+ dhit_create_fontmaps
++ mktemp -p /tmp updmap.
+ tempfile=/tmp/updmap.aVE10415
+ printf 'Running updmap-sys. This may take some time... '
Running updmap-sys. This may take some time... + updmap-sys
+ rm -f /tmp/updmap.aVE10415
+ echo done.
done.
+ '[' map = format ']'
+ '[' map = language ']'
+ FILE=/etc/defoma/hints/lmodern.hints
+ '[' configure = configure ']'
+ test -x /usr/bin/defoma-font
+ /usr/bin/defoma-font reregister-all /etc/defoma/hints/lmodern.hints
~ %

--
==
$mysig = 

Bug#397717: lmodern: install failed with error message warning: directory /usr/lib/X11/fonts/Type1 does not exist

2006-11-09 Thread daniel bosold

as to this question:

It's possible that you have refused to accept the new version of this
file, and therefore updmap still wants to use lm.map.

I'm not sure at which point i would have refused to use a file. i have
no personally modified latex files outside my home dir so i would have
accepted any modifications to /etc files (most probably anyway).

here is the information you requested:

% sudo kpsewhich --format='web2c files' updmap.cfg

/var/lib/texmf/web2c/updmap.cfg

% ls /etc/texmf/updmap.d/10lmodern.cfg*

/etc/texmf/updmap.d/10lmodern.cfg


% grep lm.map /etc/texmf/updmap.d/*

/etc/texmf/updmap.d/10lmodern.cfg:Map cork-lm.map
/etc/texmf/updmap.d/10local.cfg:Map lm.map
/etc/texmf/updmap.d/10tetex-base.cfg:# files or the "all-in-one" file
lm.map, not both at the same time.
/etc/texmf/updmap.d/10tetex-base.cfg:## Map cork-lm.map
/etc/texmf/updmap.d/10tetex-base.cfg:## Map qx-lm.map
/etc/texmf/updmap.d/10tetex-base.cfg:## Map texnansi-lm.map
/etc/texmf/updmap.d/10tetex-base.cfg:## Map ts1-lm.map
/etc/texmf/updmap.d/10tetex-base.cfg:## Map lm.map


# # # # #
# contensts of /etc/texmf/updmap.d/10lmodern.cfg
# # # # #

# 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-ec.map
Map lm-el.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 is for compatibility with old DVI files.
Map cork-lm.map

--
==
$mysig =