Bug#600012: texlive-base: Claims to recreate pdftexconfig.tex upon clean install
Hilmar Preusse <hille42@web.de> wrote:
> On 13.12.10 Robert Bihlmeyer (robbe@orcus.priv.at) wrote:
>
> Hi,
>
>> Summary: breaks lenny->sid upgrade; probably RC
>>
>> This also happens during an upgrade from lenny. Why? I guess
>> because this conffile was previously associated with
>> texlive-base-bin, which got removed (and the unchanged
>> pdftexconfig.tex with it).
Can you provide us with some logs, or some other way to investigate or
reproduce it?
> I didn't have a thorough look at that. I just want to remark that I
> did already a few upgrades form lenny to sid and never run into a
> problem.
So did I. However, there *is* something strange in
texlive-base.preinst:
# texlive-base preinst.post begin
# make sure that no strange old duplicate lines are hanging around in
# 10texlive-base.cnf
[...]
# Cleanup after Bug #420390 for sid users
resurrect_conffile_sid /etc/texmf/metafont/misc/modes.mf texlive-base "$1" "$2"
resurrect_conffile_sid /etc/texmf/tex/generic/config/pdftexconfig.tex texlive-base "$1" "$2"
# we do not ship config.ps currently, do we need to resurrect that one, too?
#resurrect_conffile_sid /etc/texmf/dvips/config/config.ps texlive-bin "$1" "$2"
# texlive-base preinst.post end
So there is no checking whether there is already an old version
installed. Even in postinst, we have a
case "$1" in
configure)
before the resurrect code. We should at least have a check whether we
are uprgrading, and what the previous version was.
And remove the code as soon as squeeze is released...
Regards, Frank
--
Dr. Frank Küster
VCD Miltenberg, ADFC Aschaffenburg-Miltenberg
B90/Grüne KV Miltenberg
Debian Developer (TeXLive)
Reply to: