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


Reply via email to