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

Re: Problem found, solution missing (was: conffile resurrection...)



Hi Frank,

On Son, 10 Jun 2007, Frank Küster wrote:
> [Bcc to the list for archiving]

same

> I have now found the problem: It is that pdftexconfig.tex (and probably
> other files) were not treated as conffiles in TL 2005.  But our code to
> handle the move of conffiles from /etc/texmf/texlive to
> /etc/texmf/<TDSlocation> is used for them, nevertheless.  This means

Yes, you introduced this in #2902 or #2912, when you introduced the
config-copy-move directive.

Before this pdftexconfig.tex and modes.mf were simply "move", ie where
NOT treated as conffile TO BE TRANSFERRED from previous versions (they
are conffiles!), because they haven't been conffiles in tl2005, nor
tetex.

> a) Make handle_config_file_preinst () even more complicated:  List any
>    new conffile there and just "return 0" if the first argument matches
>    anything in the list.
> 
> b) Note either all moved or all new conffiles in tpm2deb.cfg and change
>    the maintscript generation code in tpm2deb-bin.pl to not call
>    handle_config_file_preinst  for new conffiles.

I really now see the problem, or better, why you have changed modes.mf
and pdftexconfig.tex to the new directive? AFAIS none of the two files
have been conffiles in tetex/texlive2005 (at least searching for
/etc/texmf in the stable distribution does not give me occurrences of
these two files). So why treat them as conffiles to be transferred, 
these are NEW conffiles we introduce in 2007 and nothing has to be
transferred.

So the real solution would be to change the directive for modes.mf and
pdftexconfig.tex to something which does NOT create a
	handle_config_file_*
call. These calls are only for files which have to be transferred.

So this is how far I can see thtough the problem by now, please
enlighten me about any misunderstanding.

Best wishes from hot Nashville

Norbert

-------------------------------------------------------------------------------
Dr. Norbert Preining <preining@logic.at>        Vienna University of Technology
Debian Developer <preining@debian.org>                         Debian TeX Group
gpg DSA: 0x09C5B094      fp: 14DF 2E6C 0307 BE6D AD76  A9C0 D2BF 4AA3 09C5 B094
-------------------------------------------------------------------------------
POTT SHRIGLEY (n.)
Dried remains of a week-old casserole, eaten when extremely drunk at
two a.m.
			--- Douglas Adams, The Meaning of Liff



Reply to: