tetex-bin: failed to install: updmap error

Bug #24478 reported by Debian Bug Importer
4
Affects Status Importance Assigned to Milestone
tetex-bin (Debian)
Fix Released
Unknown
tetex-bin (Ubuntu)
Fix Released
High
Tollef Fog Heen

Bug Description

Automatically imported from Debian bug report #335303 http://bugs.debian.org/335303

Revision history for this message
In , Florent Rougon (f-rougon) wrote : Re: Bug#335303: tetex-bin: failed to install: updmap error

Hi,

Sebastien Helleu <email address hidden> 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

Revision history for this message
In , Florent Rougon (f-rougon) wrote :

Florent Rougon <email address hidden> wrote:

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

Well, that one was at the end of the report (if it was done from the
right machine), sorry:

ii tetex-base 3.0-10 Basic library files of teTeX

--
Florent

Revision history for this message
In , Ralf Stubner (ralf-stubner-web) wrote :

On Sun, Oct 23, 2005 at 11:33 +0200, Sebastien Helleu wrote:
> Package: tetex-bin
> Version: 3.0-10.1
> Severity: grave
> Justification: renders package unusable

Thanks for reporting. From which version did you upgrade?

> download standard fonts (dvips): `false'
> download standard fonts (pdftex): `false'
> download standard fonts (dvipdfm): `false'

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?

> 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
>
> <email address hidden>
>
> 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

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? If /usr/share/texmf/fonts/map/dvips is a
directory, what's its content?

cheerio
ralf

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Automatically imported from Debian bug report #335303 http://bugs.debian.org/335303

Revision history for this message
Debian Bug Importer (debzilla) wrote :
Download full text (6.8 KiB)

Message-Id: <email address hidden>
Date: Sun, 23 Oct 2005 11:33:37 +0200
From: Sebastien Helleu <email address hidden>
To: Debian Bug Tracking System <email address hidden>
Subject: tetex-bin: failed to install: updmap error

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

    <email address hidden>

    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 ...

Read more...

Revision history for this message
In , FlashCode (flashcode) wrote :

On Sun, Oct 23, 2005 at 12:12:51PM +0200, Ralf Stubner wrote:
> On Sun, Oct 23, 2005 at 11:33 +0200, Sebastien Helleu wrote:
> > Package: tetex-bin
> > Version: 3.0-10.1
> > Severity: grave
> > Justification: renders package unusable
>
> Thanks for reporting. From which version did you upgrade?

I think from 3.0-10.

>
> > download standard fonts (dvips): `false'
> > download standard fonts (pdftex): `false'
> > download standard fonts (dvipdfm): `false'
>
> 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

If I answered to some questions about files update, I think I answered
yes (to overwrite), but not sure.

>
> > 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
> >
> > <email address hidden>
> >
> > 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
>
> 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? If /usr/share/texmf/fonts/map/dvips is a
> directory, what's its content?

Yes this link exists.

Thanks for your prompt support.

>
> cheerio
> ralf

--
Cordialement / Best regards
Sebastien.

Web: http://www.flashtux.org - email: <email address hidden>
IRC: <email address hidden> - Jabber: <email address hidden>

Revision history for this message
In , FlashCode (flashcode) wrote :

On Sun, Oct 23, 2005 at 12:37:13PM +0200, Florent Rougon wrote:
> Hi,
>
> Sebastien Helleu <email address hidden> 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'?

$ 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

$ dpkg -S dvips35.map
tetex-base: /etc/texmf/map/dvips/tetex/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'.

$ dpkg -S pdftex35.map
tetex-base: /etc/texmf/map/dvips/tetex/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'?

$ 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

>
> Thanks.
>
> --
> Florent

--
Cordialement / Best regards
Sebastien.

Web: http://www.flashtux.org - email: <email address hidden>
IRC: <email address hidden> - Jabber: <email address hidden>

Revision history for this message
In , Florent Rougon (f-rougon) wrote :

Sebastien Helleu <email address hidden> 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

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Sun, 23 Oct 2005 12:37:13 +0200
From: Florent Rougon <email address hidden>
To: Sebastien Helleu <email address hidden>
Cc: <email address hidden>
Subject: Re: Bug#335303: tetex-bin: failed to install: updmap error

Hi,

Sebastien Helleu <email address hidden> 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

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Sun, 23 Oct 2005 12:41:54 +0200
From: Florent Rougon <email address hidden>
To: Sebastien Helleu <email address hidden>
Cc: <email address hidden>
Subject: Re: Bug#335303: tetex-bin: failed to install: updmap error

Florent Rougon <email address hidden> wrote:

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

Well, that one was at the end of the report (if it was done from the
right machine), sorry:

ii tetex-base 3.0-10 Basic library files of teTeX

--
Florent

Revision history for this message
In , Florent Rougon (f-rougon) wrote :

Sebastien Helleu <email address hidden> 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

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <20051023101251.GA29166@thinkpad>
Date: Sun, 23 Oct 2005 12:12:51 +0200
From: Ralf Stubner <email address hidden>
To: Sebastien Helleu <email address hidden>, <email address hidden>
Subject: Re: Bug#335303: tetex-bin: failed to install: updmap error

On Sun, Oct 23, 2005 at 11:33 +0200, Sebastien Helleu wrote:
> Package: tetex-bin
> Version: 3.0-10.1
> Severity: grave
> Justification: renders package unusable

Thanks for reporting. From which version did you upgrade?

> download standard fonts (dvips): `false'
> download standard fonts (pdftex): `false'
> download standard fonts (dvipdfm): `false'

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?

> 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
>
> <email address hidden>
>
> 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

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? If /usr/share/texmf/fonts/map/dvips is a
directory, what's its content?

cheerio
ralf

Revision history for this message
In , Ralf Stubner (ralf-stubner-web) wrote :

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

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Sun, 23 Oct 2005 13:45:58 +0200
From: Sebastien Helleu <email address hidden>
To: Ralf Stubner <email address hidden>
Cc: <email address hidden>
Subject: Re: Bug#335303: tetex-bin: failed to install: updmap error

On Sun, Oct 23, 2005 at 12:12:51PM +0200, Ralf Stubner wrote:
> On Sun, Oct 23, 2005 at 11:33 +0200, Sebastien Helleu wrote:
> > Package: tetex-bin
> > Version: 3.0-10.1
> > Severity: grave
> > Justification: renders package unusable
>
> Thanks for reporting. From which version did you upgrade?

I think from 3.0-10.

>
> > download standard fonts (dvips): `false'
> > download standard fonts (pdftex): `false'
> > download standard fonts (dvipdfm): `false'
>
> 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

If I answered to some questions about files update, I think I answered
yes (to overwrite), but not sure.

>
> > 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
> >
> > <email address hidden>
> >
> > 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
>
> 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? If /usr/share/texmf/fonts/map/dvips is a
> directory, what's its content?

Yes this link exists.

Thanks for your prompt support.

>
> cheerio
> ralf

--
Cordialement / Best regards
Sebastien.

Web: http://www.flashtux.org - email: <email address hidden>
IRC: <email address hidden> - Jabber: <email address hidden>

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Sun, 23 Oct 2005 13:49:18 +0200
From: Sebastien Helleu <email address hidden>
To: Florent Rougon <email address hidden>
Cc: <email address hidden>
Subject: Re: Bug#335303: tetex-bin: failed to install: updmap error

On Sun, Oct 23, 2005 at 12:37:13PM +0200, Florent Rougon wrote:
> Hi,
>
> Sebastien Helleu <email address hidden> 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'?

$ 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

$ dpkg -S dvips35.map
tetex-base: /etc/texmf/map/dvips/tetex/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'.

$ dpkg -S pdftex35.map
tetex-base: /etc/texmf/map/dvips/tetex/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'?

$ 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

>
> Thanks.
>
> --
> Florent

--
Cordialement / Best regards
Sebastien.

Web: http://www.flashtux.org - email: <email address hidden>
IRC: <email address hidden> - Jabber: <email address hidden>

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Sun, 23 Oct 2005 14:14:17 +0200
From: Florent Rougon <email address hidden>
To: Sebastien Helleu <email address hidden>
Cc: <email address hidden>
Subject: Re: Bug#335303: tetex-bin: failed to install: updmap error

Sebastien Helleu <email address hidden> 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

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Sun, 23 Oct 2005 14:17:55 +0200
From: Florent Rougon <email address hidden>
To: Sebastien Helleu <email address hidden>
Cc: <email address hidden>
Subject: Re: Bug#335303: tetex-bin: failed to install: updmap error

Sebastien Helleu <email address hidden> 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

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <20051023123949.GA2797@thinkpad>
Date: Sun, 23 Oct 2005 14:39:49 +0200
From: Ralf Stubner <email address hidden>
To: Sebastien Helleu <email address hidden>, <email address hidden>
Subject: Re: Bug#335303: tetex-bin: failed to install: updmap error

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

Revision history for this message
In , Ralf Stubner (ralf-stubner-web) wrote :

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

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <20051023161039.GA6473@thinkpad>
Date: Sun, 23 Oct 2005 18:10:39 +0200
From: Ralf Stubner <email address hidden>
To: Florent Rougon <email address hidden>, <email address hidden>
Cc: Sebastien Helleu <email address hidden>
Subject: Re: Bug#335303: tetex-bin: failed to install: updmap error

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

Revision history for this message
In , Florent Rougon (f-rougon) wrote :
Download full text (3.3 KiB)

Ralf Stubner <email address hidden> 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 mai...

Read more...

Revision history for this message
Debian Bug Importer (debzilla) wrote :
Download full text (3.6 KiB)

Message-ID: <email address hidden>
Date: Sun, 23 Oct 2005 19:49:51 +0200
From: Florent Rougon <email address hidden>
To: Sebastien Helleu <email address hidden>
Cc: <email address hidden>
Subject: Re: Bug#335303: tetex-bin: failed to install: updmap error

Ralf Stubner <email address hidden> 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:

,----
|=20
| 2. Changes in handling of map files (unneeded files in /etc/texmf/dvips=
)
| -----------------------------------------------------------------------
|=20
| 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.
|=20
| 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:=20
|=20
| antp.cfg antt.cfg pl.cfg
| config.qf=20
| 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
|=20
| 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.=20
|=20
| Do NOT delete other files in the directory, they are still required.
`----

However, the preceding list doesn't contain dvips3...

Read more...

Revision history for this message
In , FlashCode (flashcode) wrote :
Download full text (4.1 KiB)

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

    <email address hidden>

    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 f...

Read more...

Revision history for this message
Debian Bug Importer (debzilla) wrote :
Download full text (4.4 KiB)

Message-ID: <email address hidden>
Date: Mon, 24 Oct 2005 11:32:56 +0200
From: Sebastien Helleu <email address hidden>
To: Florent Rougon <email address hidden>
Cc: <email address hidden>
Subject: Re: Bug#335303: tetex-bin: failed to install: updmap error

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

    <email address hidden>

    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 f...

Read more...

Revision history for this message
In , Frank Küster (frank-debian) wrote :

Sebastien Helleu <email address hidden> 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

Revision history for this message
In , FlashCode (flashcode) wrote :

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 address hidden>
IRC: <email address hidden> - Jabber: <email address hidden>

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Mon, 24 Oct 2005 13:14:12 +0200
From: =?iso-8859-1?q?Frank_K=FCster?= <email address hidden>
To: Sebastien Helleu <email address hidden>
Cc: <email address hidden>, Florent Rougon <email address hidden>
Subject: Re: Bug#335303: tetex-bin: failed to install: updmap error

Sebastien Helleu <email address hidden> wrote:

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

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:=20

kpsewhich --format=3Dmap dvips35.map
kpsewhere --format=3Dmap 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
--=20
Frank K=FCster
Inst. f. Biochemie der Univ. Z=FCrich
Debian Developer

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Mon, 24 Oct 2005 13:39:37 +0200
From: Sebastien Helleu <email address hidden>
To: Frank =?iso-8859-1?Q?K=FCster?= <email address hidden>
Cc: <email address hidden>, Florent Rougon <email address hidden>
Subject: Re: Bug#335303: tetex-bin: failed to install: updmap error

On Mon, Oct 24, 2005 at 01:14:12PM +0200, Frank K=FCster wrote:
>=20
> 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:=
=20
>=20
> kpsewhich --format=3Dmap dvips35.map
> kpsewhere --format=3Dmap dvips35.map
> kpsewhere dvips35.map
> kpsewhich --show-path map
>=20
> grep ^TEXFONTMAPS /etc/texmf/texmf.cnf
> grep ^TEXFONTMAPS /etc/texmf/texmf.d/*
>=20
> Thanks in advance, Frank
> --=20
> Frank K=FCster
> Inst. f. Biochemie der Univ. Z=FCrich
> Debian Developer

% kpsewhich --format=3Dmap dvips35.map
% kpsewhere --format=3Dmap dvips35.map
% kpsewhere dvips35.map
% kpsewhich --show-path map
.:/root/texmf/fontname:/usr/local/share/texmf/fontname:/usr/local/lib/tex=
mf/fontname:!!/var/lib/texmf/fontname:!!/var/lib/texmf/fontname:!!/usr/sh=
are/texmf/fontname

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

--=20
Cordialement / Best regards
Sebastien.

Web: http://www.flashtux.org - email: <email address hidden>
IRC: <email address hidden> - Jabber: <email address hidden>

Revision history for this message
In , Frank Küster (frank-debian) wrote :

Sebastien Helleu <email address hidden> 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

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Mon, 24 Oct 2005 19:25:47 +0200
From: =?iso-8859-1?q?Frank_K=FCster?= <email address hidden>
To: Sebastien Helleu <email address hidden>
Cc: <email address hidden>, Florent Rougon <email address hidden>
Subject: Re: Bug#335303: tetex-bin: failed to install: updmap error

Sebastien Helleu <email address hidden> wrote:

> % kpsewhich --show-path map
> .:/root/texmf/fontname:/usr/local/share/texmf/fontname:/usr/local/lib/tex=
mf/fontname:!!/var/lib/texmf/fontname:!!/var/lib/texmf/fontname:!!/usr/shar=
e/texmf/fontname

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

> % grep ^TEXFONTMAPS /etc/texmf/texmf.cnf
> TEXFONTMAPS =3D .;$TEXMF/fontname
> % grep ^TEXFONTMAPS /etc/texmf/texmf.d/*
> /etc/texmf/texmf.d/55Fonts.cnf:TEXFONTMAPS =3D
> .;$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
--=20
Frank K=FCster
Inst. f. Biochemie der Univ. Z=FCrich
Debian Developer

Revision history for this message
In , Frank Küster (frank-debian) wrote :

Frank Küster <email address hidden> 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

Revision history for this message
In , FlashCode (flashcode) wrote :

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 address hidden>
IRC: <email address hidden> - Jabber: <email address hidden>

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Tue, 25 Oct 2005 15:32:23 +0200
From: =?iso-8859-1?q?Frank_K=FCster?= <email address hidden>
To: <email address hidden>
Cc: Sebastien Helleu <email address hidden>
Subject: Re: Bug#335303: tetex-bin: failed to install: updmap error

Frank K=FCster <email address hidden> 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
--=20
Frank K=FCster
Inst. f. Biochemie der Univ. Z=FCrich
Debian Developer

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Tue, 25 Oct 2005 16:05:45 +0200
From: Sebastien Helleu <email address hidden>
To: Frank =?iso-8859-1?Q?K=FCster?= <email address hidden>
Cc: <email address hidden>
Subject: Re: Bug#335303: tetex-bin: failed to install: updmap error

On Mon, Oct 24, 2005 at 07:25:47PM +0200, Frank K=FCster wrote:
>=20
> 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:
>=20
> - copy /etc/texmf/texmf.cnf to a safe place
>=20
> - Add a file /etc/texmf/texmf.d/99local.cnf which contains an arbitrary
> comment (a line starting with %).
>=20
> - as root, run update-texmf, and when asked about the changed files,
> choose to accept the maintainer's version.
>=20
> 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.cn=
f
> file, and run update-texmf again.
>=20

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.

--=20
Cordialement / Best regards
Sebastien.

Web: http://www.flashtux.org - email: <email address hidden>
IRC: <email address hidden> - Jabber: <email address hidden>

Revision history for this message
In , Frank Küster (frank-debian) wrote :

Sebastien Helleu <email address hidden> wrote:

> You can close the bug, thanks for support.

You can do that yourself, just like I do now: Simply send mail to
<bugnumber>-<email address hidden>.

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

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Tue, 25 Oct 2005 18:52:39 +0200
From: =?iso-8859-1?q?Frank_K=FCster?= <email address hidden>
To: Sebastien Helleu <email address hidden>
Cc: <email address hidden>
Subject: Re: Bug#335303: tetex-bin: failed to install: updmap error

Sebastien Helleu <email address hidden> wrote:

> You can close the bug, thanks for support.

You can do that yourself, just like I do now: Simply send mail to
<bugnumber>-<email address hidden>.=20

Happy TeXing,
Frank
--=20
Frank K=FCster
Inst. f. Biochemie der Univ. Z=FCrich
Debian Developer

Revision history for this message
Tollef Fog Heen (tfheen) wrote :

Local misconfiguration, so closing (following Debian bug)

Changed in tetex-bin:
status: Unconfirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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