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

Re: Replaces: line (was: Re: Bug#2582: last is obsolete)



On Tue, 2 Apr 1996, Miquel van Smoorenburg wrote:

> You (Dirk Eddelbuettel) wrote:
> > The problem is not with last or dpkg, but with sysvinit. Miquel should
> > have put a Conflicts: last in the control file. AKAIUI dpkg then removes
> > last, and removes all of it, before sysvinit with it's last binary and
> > man page get installed.
> 
> It has a "Replaces: last" which should work fine with newer dpkg's.
> Read: should. I don't think it works allright yet. I've filed bug
> reports about this but they never showed up (wasn't that when Ian
> was moving the bugs stuff around?).

The problem is not the impossibility of installing last.  The problem
is that a mostly empty last package hangs around, containing nothing
but the copyright notice and directories.

Putting in a Conflicts: line will *not* solve the problem, AFAIK.  That
will prevent dselect from installing the sysvinit package at all.  What
we want is automatic purging of the last package.

One way is for the sysvinit to simply purge the last package in its
postinst.

That is what I plan to do for the new miscutils replacing packages.
miscutils and chfn will go away, *but* dpkg won't eliminate them
because the package is not empty of files - it contains copyright and
doc files which are not replaced because the package name has changed.

Any suggestions?

Guy



Reply to: