Comment 8 for bug 300814

Revision history for this message
Jonas Pedersen (jonasped) wrote : Re: [Bug 300814] Re: please sync hdapsd 1:0.0.20081004-1 from Debian/experimental

Evgeni Golov wrote:
> On Thu, 26 Feb 2009 20:24:41 -0000 Jonas Pedersen wrote:
>
>> Breaks: udev (<< 136-1)
>
> Shouldn't that be Conflicts: udev (...)?

I don't think so. I just copied the Breaks part from the existing
version in Ubuntu. Looked at bit in the documentation and below quotes
are from the documentation.

"A Conflicts entry should almost never have an "earlier than" version
clause. This would prevent dpkg from upgrading or installing the package
which declared such a conflict until the upgrade or removal of the
conflicted-with package had been completed. Instead, Breaks may be used
(once Breaks is supported by the stable release of Debian). "

Above is from the Conflicts parts. This Breaks have an "earlier than" part.

"Normally a Breaks entry will have an "earlier than" version clause;
such a Breaks is introduced in the version of an (implicit or explicit)
dependency which violates an assumption or reveals a bug in earlier
versions of the broken package. This use of Breaks will inform
higher-level package management tools that broken package must be
upgraded before the new one. "

And above is from the Breaks part of the debian-policy documentation.