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

Re: Use "Replaces"?



On Tue, 15 Mar 2005 10:30:13 +0100, Frank Küster wrote:
> Thomas Hood <jdthood@aglu.demon.nl> schrieb:
>> Original package is foo 1.0.  This is split up into two packages: foo
>> 2.0, bar 2.0.
>>
>>     Package: bar
>>     Version: 2.0
>>     Conflicts: foo (<< 2.0)
>>
>> Should bar also have this?:
>>
>>     Replaces: foo (<< 2.0)
> 
> Only if it replaces *files* in foo << 2.0, see
> file:///usr/share/doc/debian-policy/policy.html/ch-relationships.html#s-replaces


First of all, thanks for the response.

My case is a 7.5.2 case, not a 7.5.1 case.  bar Conflicts with foo (<< 2.0)
so the meaning of 'Replaces' would be to tell dpkg not to abort when bar
2.0 is installed and foo 1.0 is already present.

What I am not sure about is whether adding 'Replaces' would have other
unwanted effects.
-- 
Thomas Hood



Reply to: