[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#334658: Problem is back in latest unstable



At 15:51 2006-10-11, Florent Rougon wrote:
Moshe Yudkowsky <speech@pobox.com> wrote:

>> Setting up tex-common (0.33) ...
>> Replacing config file /etc/texmf/texmf.d/05TeXMF.cnf with new version
>> Replacing config file /etc/texmf/texmf.cnf with new version
>> Error: '/etc/texmf/web2c/updmap.cfg' should not exist when using the
>>        Debian teTeX or TeX Live packages. Presumably, you used updmap-sys
>>        in maintainance mode (options --edit, --syncwithtrees, etc.).
>>        This shouldn't be done with the Debian teTeX or TeX Live
>>        packages.
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

You did read that, right?

Yeah, but the bug reports showed that other people managed to get a fix by trying that, so I figured I'd give it a shot.


lm.map has been split into smaller files. Presumably, your
/etc/texmf/updmap.d/10lmodern.cfg points to this file, but it shouldn't.
Did you refuse a conffile upgrade?

If it was the default option, I probably refused it, and perhaps even if it were offered.

What is the output of:

  ls -l /etc/texmf/updmap.d/10lmodern.cfg*

-rw-r--r-- 1 root root 1247 Mar 20  2005 10lmodern.cfg
-rw-r--r-- 1 root root 1681 Jun 18 13:31 10lmodern.cfg.dpkg-dist

>> 594 apache2# updmap-sys --syncwithtrees

Noooooo!

You were told above that this command causes a mess on Debian. Don't use
it. Now you have to remove /etc/texmf/web2c/updmap.cfg again.

Done. However, I doubt I ever used it in the first place. If I had, I would not have written a bug report, I promise!



1. Don't use updmap-sys in maintainance mode.

I dunno... looks like fun from here. ;-) OK, I won't.

2. Have a look in your /etc/texmf/updmap.d/, check for .dpkg-dist files
   and such, clean it all up (be sure to end up with the latest versions
   of the conffiles, as shipped by the various packages), and then run
   update-updmap, mktexlsr and updmap-sys (as root).

Procedure:

* removed 10lmodern.cfg

* ran update-updmap and mktexlsr

* ran updmap-sys, got the warnings that I referenced earlier, ignored them

* copied 10lmodern.cfg.pkg-dist to 10lmodern.cfg

* ran apt-get -f install

Both remaining packages installed, including 10lmodern.cfg.

  If it worked (it should), you can then configure the packages that
   are still unconfigured, such as lmodern and tetex-extra.


Florent, thank you very much for your extremely complete answers. I have not deleted the obsolete map files; please let me know if you need anything from them, such as copies or timestamps, or if I can be of any further assistance in any way.

Regards,
 Moshe


--
 Moshe Yudkowsky
 Disaggregate
 2952 W Fargo
 Chicago, IL 60645 USA

 Work: www.Disaggregate.com
 Book: www.PebbleAndAvalanche.com

 speech@pobox.com
 +1 773 764 8727



Reply to: