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

Re: dpkg with new Essential (Was: pidof changing from sysvinit-devel to procps)



On Mon, Dec 09, 2013 at 11:42:13AM -0800, Steve Langasek wrote:
> You must use versioned Replaces, and *not* versioned Breaks, for the case of
> moving files between Essential packages.  Since (as others have mentioned)
> the version of sysvinit-utils that drops pidof needs to add a Pre-Dep ond
> procps-base, the Pre-Depends<->Breaks relationship makes it impossible for
That makes sense actually.
 Install procps-base first, the Replaces lets it replace pidof
 Install new sysvinit-utils, it pre-depends on procps-base so pidof
 is there.

It's not critical that the new procps-base gets installed, just that
either the old sysvinit-utils OR the new procps-base is there so we have
a pidof somewhere.

Thanks everyone for your comments.

 - Craig
-- 
Craig Small (@smallsees)   http://enc.com.au/       csmall at : enc.com.au
Debian GNU/Linux           http://www.debian.org/   csmall at : debian.org
GPG fingerprint:        5D2F B320 B825 D939 04D2  0519 3938 F96B DF50 FEA5


Reply to: