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

Re: Bug#557091: texlive-binaries: fmtutil-sys failed during upgrade from texlive 2007



On Do, 26 Nov 2009, Frank Küster wrote:
> Frank Küster <frank@debian.org> wrote:
> >>> > # The following added lines have been transferred from
> >>> > # /etc/texmf/fmt.d/10texlive-base-bin.cnf

Ok, it is us ... and it was present in the upgrade code rom 2005 to
2007, and is still present in texlive-base.postinst of 2007:

....
# take over changes to entries which were handled by texlive-base-bin
# in etch (see bugs #454324/454344)
confd=/etc/texmf/fmt.d
oldfile=$confd/10texlive-base-bin.cnf
newfile=$confd/10texlive-base.cnf
...
  if [ "$numberoflines" -ne 0 ]; then
    echo >> $newfile
    echo "# The following added lines have been transferred from" >> $newfile
    echo "# $oldfile" >> $newfile
    echo "#They take precedence over earlier entries" >> $newfile
    echo $addedlines >> $newfile
  fi


Now ... who wants to step forward to write texlive-base.postinst code
that fixes that fix for a fix that fixes a fix that aaahhhhhhhhhhhhhhhhhh
svn blameing texlive-new/trunk/texlive-base/debian/texlive-base.postinst.pre
I see many many many "frank"s in these lines (only)....

Frank ... you want to come up with a nice idea ;-)))))

Anyway, who is getting earlier at it.

I would say we should somehow trigger an upgrade of that file.

All the files I have seen are in a way that the cahnges we made were NOT
taken over!?!? My file looks like:
--------------------------------
# 10texlive-base.cnf
# You can change/add entries to this file and changes will be preserved
# over upgrades, even if you have removed the main package prior
# (not if you purged it). You should leave the following pseudo comment
# present in the file!
# -_- DebPkgProvidedMaps -_-
# 
etex pdftex language.def -translate-file=cp227.tcx *etex.ini
pdfetex pdftex language.def -translate-file=cp227.tcx *pdfetex.ini
luatex luatex language.def luatex.ini
dviluatex luatex language.def dviluatex.ini
pdftex pdftex language.def -translate-file=cp227.tcx *pdfetex.ini
mf mf-nowin - -translate-file=cp227.tcx mf.ini
tex tex - tex.ini
----------------------------

And so it should be.....

I tend to rename the old unconditionally and install the new one
as it should be, and warn the user that if they made changes they
have to redo it.


Best wishes

Norbert
------------------------------------------------------------------------
Norbert Preining            preining@{jaist.ac.jp, logic.at, debian.org}
JAIST, Japan            TU Wien, Austria           Debian TeX Task Force
DSA: 0x09C5B094   fp: 14DF 2E6C 0307 BE6D AD76  A9C0 D2BF 4AA3 09C5 B094
------------------------------------------------------------------------
BOTCHERBY
The principle by which British roads are signposted.
			--- Douglas Adams, The Meaning of Liff


Reply to: