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

Bug#2498: sysvinit should conflict with last



You (Dirk.Eddelbuettel@qed.econ.queensu.ca) wrote:
> Package: sysvinit
> Version: 2.59-1
>
> The last package is being replaced by a last binary contained in the new
> sysvinit. But sysvinit fails to tell dpkg about a Conflicts: last so that the
> last package remains in a half-installed state after sysvinit-2.59-1 is
> installed:

My old dpkg said "Yes, removing last in favour of sysvinit" but the newer
one doesn't. In fact, with a Conflicts: line you have to de-install the
old last first.

This happens when the control file has the Conflicts: line in it:

[Q:root](/project/debian)> dpkg -i sysvinit-2.59-1.deb
dpkg: regarding sysvinit-2.59-1.deb containing sysvinit:
 sysvinit conflicts with last
  last (version 5-13) is installed.
dpkg: error processing sysvinit-2.59-1.deb (--install):
 conflicting packages - not installing sysvinit
Errors were encountered while processing:
 sysvinit-2.59-1.deb

I've also tried a "Provides: last" line, but nothing works satisfactory.

We need a Replaces: line, I think. I understand the next version of
dpkg will provide this. Then, with both a Conflicts: and a Replaces:
line dpkg will take care of it automatically.

Mike.
--
  Miquel van    | Cistron Internet Services   --    Alphen aan den Rijn.
  Smoorenburg,  | mailto:info@cistron.nl          http://www.cistron.nl/
miquels@het.net | Tel: +31-172-419445 (Voice) 430979 (Fax) 442580 (Data)


Reply to: