Bug#335303: tetex-bin: failed to install: updmap error

2005-10-25 Thread Frank Küster
Frank Küster [EMAIL PROTECTED] wrote:

 So this is not a bug, but a local misconfiguration.  In order to fix
 your system, I think the best way is to do the following:

Did that work, and do you agree that we can close the bug?

On the other hand, we (the maintainer team) should collect all those
local misconfiguration bugs, and if some of them occur frequently, we
should consider to specifically cater for them (like we (want to?) do
with updmap.cfg in TEXMFMAIN, or did with VARTEXMF-TEXMFSYSVAR.

Regards, Frank
-- 
Frank Küster
Inst. f. Biochemie der Univ. Zürich
Debian Developer




Bug#335303: tetex-bin: failed to install: updmap error

2005-10-25 Thread Sebastien Helleu
On Mon, Oct 24, 2005 at 07:25:47PM +0200, Frank Küster wrote:
 
 So this is not a bug, but a local misconfiguration.  In order to fix
 your system, I think the best way is to do the following:
 
 - copy /etc/texmf/texmf.cnf to a safe place
 
 - Add a file /etc/texmf/texmf.d/99local.cnf which contains an arbitrary
   comment (a line starting with %).
 
 - as root, run update-texmf, and when asked about the changed files,
   choose to accept the maintainer's version.
 
 This should give you a working system.  However, you lost any local
 configurations, they are saved in the copy of texmf.cnf.  In case you
 want to keep all or some of them,  run a diff between the copy and the
 newly generated texmf.cnf, find out to which file in /etc/texmf/texmf.d/
 the difference correspond(s), and then *edit*the*files*in*texmf.d*.  Do
 not edit texmf.cnf directly!  After that, you can remove the 99local.cnf
 file, and run update-texmf again.
 

Still doesn't work.
I removed then reinstalled package and now all is ok.
I suppose as you said that there was local misconfiguration.

You can close the bug, thanks for support.

-- 
Cordialement / Best regards
Sebastien.

Web: http://www.flashtux.org - email: [EMAIL PROTECTED]
IRC: [EMAIL PROTECTED] - Jabber: [EMAIL PROTECTED]



Bug#335303: tetex-bin: failed to install: updmap error

2005-10-24 Thread Sebastien Helleu
On Sun, Oct 23, 2005 at 02:14:17PM +0200, Florent Rougon wrote:
 
 Ah, that can probably explain everything. You probably didn't accept the
 updates for 00updmap.cfg and 20tetex-extra.cfg (the former with ucf, I
 think; the latter is a conffile). Please:
 
  1. Backup your old files if you customized them somehow.
 
  2. Run:
 
  # mv 00updmap.cfg.dpkg-dist 00updmap.cfg
  # mv 20tetex-extra.cfg.dpkg-new 20tetex-extra.cfg
  # dpkg --configure -a
 
 -- 
 Florent

Done, still same problem..

Here's output of dpkg and content of new resulting file in /tmp:

$ dpkg --configure -a
Setting up tetex-bin (3.0-10.1) ...
Running fmtutil-sys. This may take some time. ...
Running updmap-sys. This may take some time. ...
updmap failed. Output has been stored in
/tmp/tetex.updmap.XX7jegVt
Please include this file if you report a bug.
dpkg: error processing tetex-bin (--configure):
 subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of tetex-extra:
 tetex-extra depends on tetex-bin (= 2.99); however:
  Package tetex-bin is not configured yet.
dpkg: error processing tetex-extra (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 tetex-bin
 tetex-extra

File /tmp/tetex.updmap.XX7jegVt:

updmap-sys: This is updmap-sys, version 1107552857-debian
updmap-sys: using transcript file `/var/lib/texmf/web2c/updmap-sys.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-sys: Scanning for LW35 support files

!!! ERROR: The right location for map files has been
changed for this release and the map file `dvips35.map' has
not been found in the right location, but in the obsolete
location
  /usr/share/texmf/dvips/config/dvips35.map
instead.

To fix this, please move this file into an appropriate
subdirectory of fonts/map in one of your texmf trees. If 
the file has been installed by a Debian package, please do
not move it. Instead, please report a bug against that package,
and send a copy of that bug to 

debian-tetex-maint@lists.debian.org

For more information about the changed search paths, see
the release notes section in the teTeX manual. You probably
can read this document by executing the command
  texdoc TETEXDOC
else visit the web page
  http://tug.org/texlive/mapenc.html


!!! ERROR: The right location for map files has been
changed for this release and the map file `pdftex35.map' has
not been found in the right location, but in the obsolete
location
  /usr/share/texmf/dvips/config/pdftex35.map
instead.

To fix this, please move this file into an appropriate
subdirectory of fonts/map in one of your texmf trees. If 
the file has been installed by a Debian package, please do
not move it. Instead, please report a bug against that package,
and send a copy of that bug to 

debian-tetex-maint@lists.debian.org

For more information about the changed search paths, see
the release notes section in the teTeX manual. You probably
can read this document by executing the command
  texdoc TETEXDOC
else visit the web page
  http://tug.org/texlive/mapenc.html


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

Either put this file into the right place or remove the
reference from the configuration file. An automatic way
to disable unavailable map files is to call
  updmap-sys --syncwithtrees

For manual editing, call
  updmap-sys --edit


-- 
Cordialement / Best regards
Sebastien.

Web: http://www.flashtux.org - email: [EMAIL PROTECTED]
IRC: [EMAIL PROTECTED] - Jabber: [EMAIL PROTECTED]


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



Bug#335303: tetex-bin: failed to install: updmap error

2005-10-24 Thread Frank Küster
Sebastien Helleu [EMAIL PROTECTED] wrote:

 On Sun, Oct 23, 2005 at 02:14:17PM +0200, Florent Rougon wrote:
 
  # mv 00updmap.cfg.dpkg-dist 00updmap.cfg
  # mv 20tetex-extra.cfg.dpkg-new 20tetex-extra.cfg
  # dpkg --configure -a
 
 -- 
 Florent

 Done, still same problem..

 Here's output of dpkg and content of new resulting file in /tmp:

 $ dpkg --configure -a
 Setting up tetex-bin (3.0-10.1) ...
 Running fmtutil-sys. This may take some time. ...
 Running updmap-sys. This may take some time. ...
 updmap failed. Output has been stored in
 /tmp/tetex.updmap.XX7jegVt
[...]
 updmap-sys: Scanning for LW35 support files

 !!! ERROR: The right location for map files has been
 changed for this release and the map file `dvips35.map' has
 not been found in the right location, but in the obsolete
 location
   /usr/share/texmf/dvips/config/dvips35.map
 instead.

There is a compatibility symlink from /usr/share/texmf/dvips/config to
/etc/texmf/dvips, this is intended.  However, there should be no file
dvips35.map in that directory.  The file  should be found as

/usr/share/texmf/fonts/map/dvips/tetex/dvips35.map

*first*, i.e. this file should be used even if a copy exists in
/etc/texmf/dvips..  

The file dvips35.map from current tetex-base is in fact stored in
/etc/texmf/map/dvips/tetex/dvips35.map and made available with a symlink

/usr/share/texmf/fonts/map/dvips - /etc/texmf/map/dvips

This symlink exists on your system, as you have shown earlier; but I
don't know whether the file is there.  If it is there, the question is
whether it does not take precedence over the one in /etc/texmf/dvips,
and after all why that file exists in /etc/texmf/dvips, anyway.

I think the answer to the last question might be that it once was there
(in a version in sarge/sid when sarge was still testing), and has been
forgotten from the list in README.Debian - in fact it is listed in the
remove-oldmaps script.

The answer to the first question - why is the wrong file found - is
unclear to me. Sebastien, what is the output of the following commands: 

kpsewhich --format=map dvips35.map
kpsewhere --format=map dvips35.map
kpsewhere dvips35.map
kpsewhich --show-path map

grep ^TEXFONTMAPS /etc/texmf/texmf.cnf
grep ^TEXFONTMAPS /etc/texmf/texmf.d/*

Thanks in advance, Frank
-- 
Frank Küster
Inst. f. Biochemie der Univ. Zürich
Debian Developer




Bug#335303: tetex-bin: failed to install: updmap error

2005-10-24 Thread Sebastien Helleu
On Mon, Oct 24, 2005 at 01:14:12PM +0200, Frank Küster wrote:
 
 The answer to the first question - why is the wrong file found - is
 unclear to me. Sebastien, what is the output of the following commands: 
 
 kpsewhich --format=map dvips35.map
 kpsewhere --format=map dvips35.map
 kpsewhere dvips35.map
 kpsewhich --show-path map
 
 grep ^TEXFONTMAPS /etc/texmf/texmf.cnf
 grep ^TEXFONTMAPS /etc/texmf/texmf.d/*
 
 Thanks in advance, Frank
 -- 
 Frank Küster
 Inst. f. Biochemie der Univ. Zürich
 Debian Developer

% kpsewhich --format=map dvips35.map
% kpsewhere --format=map dvips35.map
% kpsewhere dvips35.map
% kpsewhich --show-path map
.:/root/texmf/fontname:/usr/local/share/texmf/fontname:/usr/local/lib/texmf/fontname:!!/var/lib/texmf/fontname:!!/var/lib/texmf/fontname:!!/usr/share/texmf/fontname

% grep ^TEXFONTMAPS /etc/texmf/texmf.cnf
TEXFONTMAPS = .;$TEXMF/fontname
% grep ^TEXFONTMAPS /etc/texmf/texmf.d/*
/etc/texmf/texmf.d/55Fonts.cnf:TEXFONTMAPS =
.;$TEXMF/{fonts/map,}/{$progname,pdftex,dvips,}//;$TEXMF/dvips//

-- 
Cordialement / Best regards
Sebastien.

Web: http://www.flashtux.org - email: [EMAIL PROTECTED]
IRC: [EMAIL PROTECTED] - Jabber: [EMAIL PROTECTED]



Bug#335303: tetex-bin: failed to install: updmap error

2005-10-24 Thread Frank Küster
Sebastien Helleu [EMAIL PROTECTED] wrote:

 % kpsewhich --show-path map
 .:/root/texmf/fontname:/usr/local/share/texmf/fontname:/usr/local/lib/texmf/fontname:!!/var/lib/texmf/fontname:!!/var/lib/texmf/fontname:!!/usr/share/texmf/fontname

This is bad, (Ralf, you were right), and this

 % grep ^TEXFONTMAPS /etc/texmf/texmf.cnf
 TEXFONTMAPS = .;$TEXMF/fontname
 % grep ^TEXFONTMAPS /etc/texmf/texmf.d/*
 /etc/texmf/texmf.d/55Fonts.cnf:TEXFONTMAPS =
 .;$TEXMF/{fonts/map,}/{$progname,pdftex,dvips,}//;$TEXMF/dvips//

shows that it must have happened like this: You had some local
modifications in /etc/texmf/texmf.cnf, but this file is in principle a
generated file, from the files in /etc/texmf/texmf.d.  When a new
package (probably the first 3.0 package you installed) provided a
changed 55Fonts.cnf, it tried to generate texmf.cnf but noticed the
mismatch between the version that would have been generated from the old
file 55Fonts.cnf and the actual texmf.cnf (the difference can be
anywhere, not only in the part from 55Fonts.cnf).  It asked you about
the change, and you refused to accept the maintainer's new version.

So this is not a bug, but a local misconfiguration.  In order to fix
your system, I think the best way is to do the following:

- copy /etc/texmf/texmf.cnf to a safe place

- Add a file /etc/texmf/texmf.d/99local.cnf which contains an arbitrary
  comment (a line starting with %).

- as root, run update-texmf, and when asked about the changed files,
  choose to accept the maintainer's version.

This should give you a working system.  However, you lost any local
configurations, they are saved in the copy of texmf.cnf.  In case you
want to keep all or some of them,  run a diff between the copy and the
newly generated texmf.cnf, find out to which file in /etc/texmf/texmf.d/
the difference correspond(s), and then *edit*the*files*in*texmf.d*.  Do
not edit texmf.cnf directly!  After that, you can remove the 99local.cnf
file, and run update-texmf again.

If you have doubts whether any of the local changes are still useful,
feel free to ask here.

Regards, Frank
-- 
Frank Küster
Inst. f. Biochemie der Univ. Zürich
Debian Developer




Bug#335303: tetex-bin: failed to install: updmap error

2005-10-23 Thread Sebastien Helleu
Package: tetex-bin
Version: 3.0-10.1
Severity: grave
Justification: renders package unusable


Output of apt:

Setting up tetex-bin (3.0-10.1) ...
Running fmtutil-sys. This may take some time. ...
Running updmap-sys. This may take some time. ...
updmap failed. Output has been stored in
/tmp/tetex.updmap.XXsPQmRp
Please include this file if you report a bug.
dpkg: error processing tetex-bin (--configure):
 subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of tetex-extra:
 tetex-extra depends on tetex-bin (= 2.99); however:
  Package tetex-bin is not configured yet.
dpkg: error processing tetex-extra (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 tetex-bin
 tetex-extra
E: Sub-process /usr/bin/dpkg returned an error code (1)


Content of /tmp/tetex.updmap.XXsPQmRp:

updmap-sys: This is updmap-sys, version 1107552857-debian
updmap-sys: using transcript file `/var/lib/texmf/web2c/updmap-sys.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): `false'
  download standard fonts (dvipdfm): `false'

updmap-sys: Scanning for LW35 support files

!!! ERROR: The right location for map files has been
changed for this release and the map file `dvips35.map' has
not been found in the right location, but in the obsolete
location
  /usr/share/texmf/dvips/config/dvips35.map
instead.

To fix this, please move this file into an appropriate
subdirectory of fonts/map in one of your texmf trees. If 
the file has been installed by a Debian package, please do
not move it. Instead, please report a bug against that package,
and send a copy of that bug to 

debian-tetex-maint@lists.debian.org

For more information about the changed search paths, see
the release notes section in the teTeX manual. You probably
can read this document by executing the command
  texdoc TETEXDOC
else visit the web page
  http://tug.org/texlive/mapenc.html


!!! ERROR: The right location for map files has been
changed for this release and the map file `pdftex35.map' has
not been found in the right location, but in the obsolete
location
  /usr/share/texmf/dvips/config/pdftex35.map
instead.

To fix this, please move this file into an appropriate
subdirectory of fonts/map in one of your texmf trees. If 
the file has been installed by a Debian package, please do
not move it. Instead, please report a bug against that package,
and send a copy of that bug to 

debian-tetex-maint@lists.debian.org

For more information about the changed search paths, see
the release notes section in the teTeX manual. You probably
can read this document by executing the command
  texdoc TETEXDOC
else visit the web page
  http://tug.org/texlive/mapenc.html


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

Either put this file into the right place or remove the
reference from the configuration file. An automatic way
to disable unavailable map files is to call
  updmap-sys --syncwithtrees

For manual editing, call
  updmap-sys --edit


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (990, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.10
Locale: LANG=fr_FR, LC_CTYPE=fr_FR (charmap=ISO-8859-1)

Versions of packages tetex-bin depends on:
ii  debconf [debconf-2.0] 1.4.58 Debian configuration management sy
ii  debianutils   2.15   Miscellaneous utilities specific t
ii  dpkg  1.13.11.0.1package maintenance system for Deb
ii  ed0.2-20 The classic unix line editor
ii  libc6 2.3.5-7GNU C Library: Shared libraries an
ii  libgcc1   1:4.0.2-2  GCC support library
ii  libice6   6.8.2.dfsg.1-9 Inter-Client Exchange library
ii  libkpathsea4  3.0-10.1   path search library for teTeX (run
ii  libpaper1 1.1.14-3   Library for handling paper charact
ii  libpng12-01.2.8rel-5 PNG library - runtime
ii  libsm66.8.2.dfsg.1-9 X Window System Session Management
ii  libstdc++64.0.2-2The GNU Standard C++ Library v3
ii  libt1-5   5.1.0-2Type 1 font rasterizer library - r
ii  libx11-6  6.8.2.dfsg.1-9 X Window System protocol client li
ii  libxaw8 

Bug#335303: tetex-bin: failed to install: updmap error

2005-10-23 Thread Florent Rougon
Hi,

Sebastien Helleu [EMAIL PROTECTED] wrote:

 Output of apt:

 Setting up tetex-bin (3.0-10.1) ...

What does 'dpkg -l tetex-base' say?

 Running updmap-sys. This may take some time. ...

[...]

 !!! ERROR: The right location for map files has been
 changed for this release and the map file `dvips35.map' has
 not been found in the right location, but in the obsolete
 location
   /usr/share/texmf/dvips/config/dvips35.map
 instead.

What does 'ls -l /usr/share/texmf/dvips/' give you?
And 'dpkg -S dvips35.map'?

 !!! ERROR: The right location for map files has been
 changed for this release and the map file `pdftex35.map' has
 not been found in the right location, but in the obsolete
 location
   /usr/share/texmf/dvips/config/pdftex35.map
 instead.

Please tell us the output of 'dpkg -S pdftex35.map'.

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

Hah. What do you get from 'ls -l /usr/share/texmf/fonts/map'?

Thanks.

-- 
Florent



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



Bug#335303: tetex-bin: failed to install: updmap error

2005-10-23 Thread Florent Rougon
Sebastien Helleu [EMAIL PROTECTED] wrote:

 Thanks for reporting. From which version did you upgrade?

 I think from 3.0-10.

You can confirm by looking at /var/log/dpkg.log.

 Interesting, current tetex has 'true' for the last two options. What is
 the output of 'ls /etc/texmf/updmap.d/'? Did you (maybe automatically)
 decline some offered updates of configuration files?

 $ ls -l /etc/texmf/updmap.d/
 total 16
 -rw---  1 root root 2789 2005-10-22 18:11 00updmap.cfg
 -rw-r--r--  1 root root 2787 2005-10-22 18:17 00updmap.cfg.dpkg-dist
 -rw-r--r--  1 root root 2623 2005-10-19 16:10 10tetex-base.cfg
 -rw-r--r--  1 root root 1314 2005-10-19 16:11 20tetex-extra.cfg.dpkg-new

Ah, that can probably explain everything. You probably didn't accept the
updates for 00updmap.cfg and 20tetex-extra.cfg (the former with ucf, I
think; the latter is a conffile). Please:

 1. Backup your old files if you customized them somehow.

 2. Run:

 # mv 00updmap.cfg.dpkg-dist 00updmap.cfg
 # mv 20tetex-extra.cfg.dpkg-new 20tetex-extra.cfg
 # dpkg --configure -a

-- 
Florent



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



Bug#335303: tetex-bin: failed to install: updmap error

2005-10-23 Thread Florent Rougon
Sebastien Helleu [EMAIL PROTECTED] wrote:

 $ ls -l /usr/share/texmf/dvips/
 total 52
 drwxr-xr-x  2 root root 4096 2005-10-22 18:08 antp
 drwxr-xr-x  2 root root 4096 2005-10-22 18:08 antt
 drwxr-xr-x  2 root root 4096 2005-10-23 02:13 base
 drwxr-xr-x  2 root root 4096 2005-10-22 18:08 bluesky
 lrwxr-xr-x  1 root root   16 2005-10-22 18:08 config - /etc/texmf/dvips
 drwxr-xr-x  2 root root 4096 2005-10-23 02:13 gsftopk
 drwxr-xr-x  2 root root 4096 2005-10-22 18:08 misc
 drwxr-xr-x  2 root root 4096 2005-10-22 18:08 omega
 drwxr-xr-x  2 root root 4096 2005-10-22 18:08 pl
 drwxr-xr-x  2 root root 4096 2005-10-22 18:08 psfrag
 drwxr-xr-x  2 root root 4096 2005-10-22 18:08 pstricks
 drwxr-xr-x  2 root root 4096 2005-10-22 18:08 qfonts
 drwxr-xr-x  2 root root 4096 2005-10-22 18:08 tetex
 drwxr-xr-x  2 root root 4096 2005-10-22 18:08 xypic


Fine.

 $ dpkg -S dvips35.map
 tetex-base: /etc/texmf/map/dvips/tetex/dvips35.map

OK.

 $ dpkg -S pdftex35.map
 tetex-base: /etc/texmf/map/dvips/tetex/pdftex35.map

OK.

 $ ls -l /usr/share/texmf/fonts/map
 total 4
 lrwxr-xr-x  1 root root   22 2005-10-22 18:08 dvipdfm -
 /etc/texmf/map/dvipdfm
 lrwxr-xr-x  1 root root   20 2005-10-22 18:08 dvips -
 /etc/texmf/map/dvips
 drwxr-xr-x  2 root root 4096 2005-10-22 18:08 fontname
 lrwxr-xr-x  1 root root   21 2005-10-22 18:08 pdftex -
 /etc/texmf/map/pdftex

Good. Presumably, the problem was located (only) in /etc/texmf/updmap.d/
as suspected by Ralf.

-- 
Florent



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



Bug#335303: tetex-bin: failed to install: updmap error

2005-10-23 Thread Ralf Stubner
On Sun, Oct 23, 2005 at 13:45 +0200, Sebastien Helleu wrote:
 On Sun, Oct 23, 2005 at 12:12:51PM +0200, Ralf Stubner wrote:
  Thanks for reporting. From which version did you upgrade?
 
 I think from 3.0-10.

Where there any problems with version 3.0-10? 
 
  What is
  the output of 'ls /etc/texmf/updmap.d/'? Did you (maybe automatically)
  decline some offered updates of configuration files?
 
 $ ls -l /etc/texmf/updmap.d/
 total 16
 -rw---  1 root root 2789 2005-10-22 18:11 00updmap.cfg
 -rw-r--r--  1 root root 2787 2005-10-22 18:17 00updmap.cfg.dpkg-dist
 -rw-r--r--  1 root root 2623 2005-10-19 16:10 10tetex-base.cfg
 -rw-r--r--  1 root root 1314 2005-10-19 16:11 20tetex-extra.cfg.dpkg-new
 
 If I answered to some questions about files update, I think I answered
 yes (to overwrite), but not sure.

Hmm, what's the difference between /etc/texmf/updmap.d/00updmap.cfg and
/etc/texmf/updmap.d/00updmap.cfg.dpkg-dist? 
 
  This looks like a variant of #335210. Does that link
  
  $ ls -ld /usr/share/texmf/fonts/map/dvips
  lrwxrwxrwx  1 root root 20 2005-10-20 18:59 
  /usr/share/texmf/fonts/map/dvips - /etc/texmf/map/dvips
  
  exist on your system? 
 
 Yes this link exists.

On Sun, Oct 23, 2005 at 13:49 +0200, Sebastien Helleu wrote:
 $ dpkg -S dvips35.map
 tetex-base: /etc/texmf/map/dvips/tetex/dvips35.map
[...]
 $ dpkg -S pdftex35.map
 tetex-base: /etc/texmf/map/dvips/tetex/pdftex35.map
[...]
 $ ls -l /usr/share/texmf/fonts/map
 total 4
 lrwxr-xr-x  1 root root   22 2005-10-22 18:08 dvipdfm -
 /etc/texmf/map/dvipdfm
 lrwxr-xr-x  1 root root   20 2005-10-22 18:08 dvips -
 /etc/texmf/map/dvips
 drwxr-xr-x  2 root root 4096 2005-10-22 18:08 fontname
 lrwxr-xr-x  1 root root   21 2005-10-22 18:08 pdftex -
 /etc/texmf/map/pdftex

Ok, all that looks correct. Maybe the search path for mapfiles is
incorrect. What's the output of 'ls -l /etc/texmf/texmf.d' and
'grep TEXFONTMAPS /etc/texmf/texmf.cnf'?

cheerio
ralf




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



Bug#335303: tetex-bin: failed to install: updmap error

2005-10-23 Thread Ralf Stubner
On Sun, Oct 23, 2005 at 14:17 +0200, Florent Rougon wrote:
 Good. Presumably, the problem was located (only) in /etc/texmf/updmap.d/
 as suspected by Ralf.

Actually, I suspect that there is a similar situation in
/etc/texmf/texmf.d/, ie, some configuration files from teTeX 2 are still
used. This could cause a wrong search path for mapfiles. What I am
wondering is why this problem didn't occur during the original 2.0.2 -
3.0 update. Also, why are dvips35.map and pdftex35.map still available
in /etx/texmf/dvips? I thought these files are moved somehwere save on
instalation.

cheerio
ralf



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



Bug#335303: tetex-bin: failed to install: updmap error

2005-10-23 Thread Florent Rougon
Ralf Stubner [EMAIL PROTECTED] wrote:

 used. This could cause a wrong search path for mapfiles. What I am
 wondering is why this problem didn't occur during the original 2.0.2 -
 3.0 update. Also, why are dvips35.map and pdftex35.map still available
 in /etx/texmf/dvips? I thought these files are moved somehwere save on
 instalation.

Hmm. Normally, in sarge, you have:

  % dpkg -S dvips35.map pdftex35.map dvipdfm35.map
  tetex-base: /usr/share/texmf/dvips/tetex/dvips35.map
  tetex-base: /usr/share/texmf/dvips/tetex/pdftex35.map
  tetex-base: /usr/share/texmf/dvips/tetex/dvipdfm35.map

but tetex-base/README.Debian.gz (from sarge) says:

,
| 
| 2. Changes in handling of map files (unneeded files in /etc/texmf/dvips)
| ---
| 
| Font map files previously were installed as conffiles (i.e.,
| configuration files managed by dpkg) in older versions of tetex-base
| and tetex-extra (e.g. in woody) in /etc/texmf/dvips. Since it is in
| fact not necessary to change them, they are now treated as ordinary
| files and installed below /usr/share/texmf/dvips. Because of Debian
| Policy (and the way dpkg handles conffiles), the copies in
| /etc/texmf/dvips will not be removed when you upgrade, although they
| are useless. You can quite safely delete them (but then you won't be
| able to downgrade any more unless you purge the packages). Any changes
| you made previously in these files will no longer have any effect.
| 
| It is usually a good idea to remove those files if you have not
| changed them. You can use the script
| /usr/share/doc/tetex-base/remove-oldmaps to do this. The list of files
| is: 
| 
| antp.cfg antt.cfg pl.cfg
| config.qf 
| ar-ext-adobe-bi.map ar-ext-adobe-kb.map ar-ext-urw-kb.map
| ar-ext-urw-urw.map ar-std-adobe-bi.map ar-std-adobe-kb.map
| ar-std-urw-kb.map ar-std-urw-urw.map bakoma-extra.map
| bsr.map bsr-interpolated.map
| lw35extra-adobe-bi.map lw35extra-adobe-kb.map lw35extra-urw-kb.map
| lw35extra-urw-urw.map mathpple-ext.map mtsupp-ext-adobe-bi.map
| mtsupp-ext-adobe-kb.map mtsupp-ext-urw-kb.map mtsupp-ext-urw-urw.map
| mtsupp-std-adobe-bi.map mtsupp-std-adobe-kb.map mtsupp-std-urw-kb.map
| mtsupp-std-urw-urw.map raw-ar-ext-adobe-bi.map raw-ar-ext-adobe-kb.map
| raw-ar-ext-urw-kb.map raw-ar-ext-urw-urw.map raw-ar-std-adobe-bi.map
| raw-ar-std-adobe-kb.map raw-ar-std-urw-kb.map raw-ar-std-urw-urw.map
| raw-lw35extra-adobe-bi.map raw-lw35extra-adobe-kb.map
| raw-lw35extra-urw-kb.map raw-lw35extra-urw-urw.map utopia.map
| 
| Some intermediate versions of tetex deleted those files in maintainer
| scripts (which was a bug). Therefore, if you used testing, unstable or
| some backports after woody's release, they might not exist on your
| system. 
| 
| Do NOT delete other files in the directory, they are still required.
`

However, the preceding list doesn't contain dvips35.map nor
pdftex35.map. Is it incomplete?...

Second observation: if you look at the updmap-sys error messages posted
by Sébastien, you'll see they are generated by 'mapWarn badLocation' for
the first two and by 'mapWarn notFound' for the last one.

This means that we were in the main 'else' clause of locateMapMigrate().
IOW, the new files were not found at all. I wouldn't be surprised to
learn that Sébastien has .dpkg-new files in /etc/texmf/map/dvips/tetex/.

-- 
Florent