Re: x11-common preinst magic (was: X Strike Force X.Org X11 SVN commit: r621 - trunk/debian)
On Tue, Sep 27, 2005 at 07:54:20PM +0200, Andreas Metzler wrote:
> This won't work for two reasons:
>
> - sarge has no x11-common package, so on upgrading from sarge to etch
> "$2" in x11-common's preinst is empty.
>
> - The version check is too strict, we alreay have a security update in
> sarge (4.3.0.dfsg.1-14sarge1).
>
> I do not see a nice solution currently, fixing #1 by putting the magic
> in xfree86-common's mmaintainerscripts and making x11-common depend
> on xfree86-common (>=6.8.0) seems to be hideously ugly.
>
> How about simply removing the files on *fresh* installations of
> x11-common? ( [ "$2" = "" ], iirc)
Yeah, I think I'm going to go with this. The version check was originally
meant for stictness, but now I think that was a misguided decision. We
don't really need it. I like your suggestion (which was very close to the
alternate option I came up with too) so I'll go for it.
- David Nusinow
Reply to: