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

Bug#334613: tetex-bin: same problem still exists



Kenward Vaughan <kay_jay@earthlink.net> wrote:

> On Mon, Nov 07, 2005 at 10:29:25AM +0100, Frank Küster wrote:
>> Kenward Vaughan <kay_jay@earthlink.net> wrote:
>> 
>> > Package: tetex-bin
>> > Version: 3.0-10.1
>> > Followup-For: Bug #334613
>> >
>> >
>> > I haven't upgraded Sid in several weeks--is it possible that something's
>> > significantly different in the conf files such that choosing to keep my
>> > old one is a problem?
>> 
>> Yes, the old conffiles will never work.  If you choose to keep them upon
>> upgrade, you have to go through the differences and merge the important
>> changes - especially the setting of the TEXMF variable in
>> texmf.d/05TeXMF.cnf and the variables that form its parts.
>
> I am not sure what differences there are, if any.  I'm a
> user/hobbyist... :-(
>
> It would seem appropriate to have a big splash screen explaining what's
> going on, and some kind of script which could manage changing those
> parts known to it (with a list of unknown parts being generated).  With
> such a warning, I'd always choose "use the new conf files" instead of
> the default "keep the old ones."

"keep the old ones" is only the default if the conffiles have been
changed on the system.  And if they are, we assume that the local admin
had some idea why he did it, and can judge whether he still needs the
changes, and merge them if needed.  If you didn't change the file and
still get the question, it's a bug somewhere.  A list of files with
extension dpkg-dist or dpkg-old below /etc/texmf would help to give some
substance to this discussion.

>> > Hmm.  I see in the tetex files under /tmp that the map files have changed 
>> > locations, and that I shouldn't touch anything as it's a Debian-installed
>> > package.   How can I fix this?
>> 
>> map files at the old locations, if from a Debian package, should not be
>> a problem - just wait for the Debian package to be fixed.  If there's
>> not just a warning, but an error that causes the postinst to fail, you
>> have local changes in your conffiles and should merge them.
>
> I can't address this last possibility as I don't know what in those
> files could be changed.
>
> Where are they?  I'll certainly send them along.  

Let's look at the script you attached.  

updmap failed. Output has been stored in.
/tmp/tetex.updmap.XX9gEZvh.
Please include this file if you report a bug..
[...]
hpotter:/home/daddy# cat /tmp/tetex.updmap.XX9gEZvh.
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..

It doesn't hurt if the file is still at the old place, but the one at
the new place must be there, too, and should be found before it.  What's
the output of

ls -ld /usr/share/texmf/fonts/map/dvips # without trailing "/"
ls /usr/share/texmf/fonts/map/dvips/tetex/
kpsewhich --format=map dvips35.map
kpsewhich --show-path map

.
!!! ERROR! The map file `vnr.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.

It looks as if tetex-base wasn't configured correctly, although the dpkg
output says it is.  Are there any files in /etc/texmf with extension
"dpkg-new"? 

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




Reply to: