Bug#420390: Purging tetex transition packages removes texlive configuration files
Hi Frank!
On Mon, 23 Apr 2007, Frank Küster wrote:
> [ writing this in the train, no idea when I'll be able to actually send
> this mail to the world - so the info might be outdated]
Seems to be that both of us like to triag this stuff on the train ;-)
> The basic problem is that tetex-base's postrm (from etch, upon purge)
> does some cleanup of files which were in /etc/texmf in woody and sarge
> and are useless now. But as it turns out, some have now been
> resurrected and are of vital importance in lenny.
Aehmmm. Damned. This could be an explanation.
> I think the solution would be to create a package tetex-base_2007-* from
> texlive-base-bin and give it a sane postrm - after that it can safely be
> purged.
But this will not solve the problem if someone upgrades from etch and at
the same time of installation texlive* purges the tetex packages. Am I
right?
> If we go that way and do the cleanup, we should test different upgrade
So we have to:
- create a new bin package tetex-base in texlive-base
done
- add a postrm which does some clean up.
added tetex-base.postrm.post but it is empty by now
Frank, please add your stuff there.
> scenarios. I still have tar.gz around for woody and sarge chroots, so I
> could in principle do that:
I would say "IN PRINCIPLE", woody I would left out, but sarge->etch->sid
would be good to test.
> > /etc/texmf/dvips/config/config.ps
>
> this is removed by tetex-base
Ouch.
> > /etc/texmf/fmt.d/01tetex.cnf (maybe)
>
> Didn't look at this - it's good when it's gone and maybe it's a texlive
> package which removes it.
Yes, it is texlive-common.postinst.post which calls
/usr/share/tex-common/tetex-bin-upgrade
What do to with this? Replace the call to tetex-bin-upgrade simply by
rm -f /etc/texmf/fmt.d/00tetex.cnf /etc/texmf/fmt.d/01tetex.cnf
???
> > /etc/texmf/metafont/misc/modes.mf
> > /etc/texmf/tex/generic/config/pdftexconfig.tex
> > /etc/texmf/tex/latex/config/color.cfg
> > /etc/texmf/tex/latex/config/graphics.cfg
> > /etc/texmf/tex/latex/config/hyperref.cfg
>
> These are all covered by my analysis and handled by tetex-base
As above.
> > /etc/texmf/web2c/mktex.cnf
>
> mktex.cnf is *not* handled by any of the tetexens' maintainer scripts.
> I'm puzzled how that could vanish.
Me too, this is tex-common stuff since quite some time.
Best wishes
Norbert
-------------------------------------------------------------------------------
Dr. Norbert Preining <preining@logic.at> Università di Siena
Debian Developer <preining@debian.org> Debian TeX Group
gpg DSA: 0x09C5B094 fp: 14DF 2E6C 0307 BE6D AD76 A9C0 D2BF 4AA3 09C5 B094
-------------------------------------------------------------------------------
KURDISTAN (n.)
Hard stare given by a husband to his wife when he notices a sharp
increase in the number of times he answers the phone to be told,
'Sorry, wrong number.'
--- Douglas Adams, The Meaning of Liff
Reply to: