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

Re: Bug#28345: xdm: doesn't check if in X



On Wed, Oct 21, 1998 at 07:53:26PM -0400, Branden Robinson wrote:

> > I just upgraded to the latest packages (using apt in X). The xdm
> > install/upgrade didn't check that it was in X, and went ahead, killing my X,
> > and leaving the packaging system in an inconsistent state (apt refused to
> > continue).
> 
> This is because when upgrading, the old prerm is used, which in this case
> is xbase's prerm.
> 
> The new xdm prerm is far more intelligent.  If you don't believe me, read
> it.
> 
> I'm open to suggestions regarding the upgrade procedure -- that do not
> include copying substantially all of the new xdm prerm into its preinst.

This will break lots and lots of people's machines during an upgrade -- not
really something we should accept.

If copying a lot of code into the preinst is the only way to fix it, then I
think you should seriously consider it.  As a programmer, I know how painful
that would be... but it's better than answering hate mail :)

That said, is there anything you can do to make xbase's prerm fail?  Can you
simply add an empty "placeholder" xbase package (required by the xdm
package) that can be removed later?  Ugly, but not as ugly as maintaining
the same code in two places.

Have fun,

Avery


Reply to: