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

Re: Release-critical Bugreport for February 7, 1999



On Mon, 8 Feb 1999, Enrique Zanardi wrote:

> On Mon, Feb 08, 1999 at 02:58:03PM +0100, Santiago Vila wrote:
> > On Sun, 7 Feb 1999, Hamish Moffatt wrote:
> > 
> > > On Sun, Feb 07, 1999 at 12:15:12AM -0600, BugScan reporter wrote:
> > > > Package: general (pseudo)
> > > > Maintainer: debian-devel@lists.debian.org
> > > >   32888  base: Removing "Obsolete" package base kills a system
> > > 
> > > Is this any more release-critical now than it was for bo or hamm
> > > (or even rex)? Removing the old timezone package can be pretty nasty too.
> > 
> > Would a new "base" package of extra priority which zeroes
> > /var/lib/dpkg/info/base.list in the *preinst* and contains absolutely no
> > files fix this bug?
> 
> I may be wrong, but if it contains absolutely no files, dpkg will erase
> the old files before installing the new package, isn't it?

No, because the preinst is executed before the unpacking.

This is intended to make dpkg to think there is nothing to remove from the
old base package before upgrading to the new one.

I think I will just implement it and see what happens (will put it in
my web page for testing, etc. etc.).

I will also create a dummy "base" package containing useless files to
check that none of them are removed when the new dummy base is
installed.

Thanks.

-- 
 "b93fb07e45cf375b7da011b098b90e4b" (a truly random sig)


Reply to: