Comment 30 for bug 24478

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