Re: Improving in-place upgrades of Ada packages from Lenny to Squeeze
(better late than never)
2010/6/1 Jacob Sparre Andersen <firstname.lastname@example.org>:
> David Kalnischkies wrote:
>> 2010/5/31 Ludovic Brenta <email@example.com>:
>>> Question 2: if I add Breaks: to a -dev package, which ones of Conflicts:
>>> and Replaces: should I also specify? (currently, both are specified; the new
>>> packages replace almost all files of the old packages).
>> You want only Breaks or Conflicts. Breaks is in general the nicer Conflict
>> - in some way they are the negative version of Depends and Pre-Depends:
>> Conflicts must be satisfied before the package is unpacked - so both
>> packages can't be in unpack (or higher) at the same time, while Breaks only
>> says that both can't be in installed at the same time.
> So if there are common files, conflicts is required?
You can still add Replaces to replace these files.
Conflicts is now that we have Breaks more for cases in which the
presence of a package will change the behavior of your package or
in situations two packages providing the same functionality in
completely different incompatible ways (e.g. sysvinit vs. upstart).