On Wed, Aug 01, 2001 at 09:28:08PM -0400, Peter S Galbraith wrote:
> Should the new powstatd (say 1.5.1-2) have:
> 
>  Package: powstatd
>  Version: 1.5.1-2
>  Provides: ups-monitor
>  Conflicts: powstatd-crypt, ups-monitor
>  Replaces: powstatd-crypt (<< 1.5.1-2)
> 
> Does the version in the Replaces add anything since there will
> never be any higher version?  I'd guess not.
> 
> Should the new one "Provide: powstatd-crypt"?  Nothing depends on
> it.

Use this:

Replaces: powstatd-crypt (<< 1.5.1-2)
Conflicts: powstatd-crypt (<< 1.5.1-2), ups-monitor
Provides: powstatd-crypt

That way, the conflicts+replaces are the same, and provides is there, and
apt should be able to tell automatically that powstatd-crypt is to be
upgraded to powstatd.

And if not, with versioned confs+reps a dummy package would work, too.

-- 
Digital Electronic Being Intended for Assassination and Nullification

Reply via email to