Re: Policy consensus on transition when removing initscripts.
Simon Richter <sjr@debian.org> writes:
> On 6/28/23 02:31, Russ Allbery wrote:
>> Normally Conflicts is always added with Replaces because otherwise you can
>> have the following situation:
>> * Package A version 1.0-1 is installed providing file F.
>> * File F is moved to package B as of package A 1.0-3.
>> * User installs package B, which replaces the file in package A.
>> * User upgrades package A to version 1.0-2 (*not* 1.0-3). Or, rather,
>> tries, because this will fail with an error due to the file conflict.
> No, that is fine. "Replaces: A (<< 1.0-3)" is sufficient here that the
> file is not unpacked from A 1.0-2.
Oh! Of course. Okay.
In that case, I don't actually know why we usually use Conflicts with
Replaces. Maybe we don't really need to?
--
Russ Allbery (rra@debian.org) <https://www.eyrie.org/~eagle/>
Reply to: