]> git.donarmstrong.com Git - debian/debian-policy.git/commitdiff
Breaks/Conflicts should not be used unless necessary
authorRuss Allbery <rra@debian.org>
Sat, 3 Jul 2010 20:24:03 +0000 (13:24 -0700)
committerRuss Allbery <rra@debian.org>
Sat, 3 Jul 2010 20:27:51 +0000 (13:27 -0700)
State explicitly that Breaks and Conflicts should only be used where
needed, and should not be used if two packages merely provide similar
functionality.

policy.sgml

index bad28af4257fb481693ce342af8a6b13fffdc4db..efda2a100d307fa889a75d7b7add76c872779295 100644 (file)
@@ -4777,6 +4777,15 @@ Build-Depends: foo [linux-any], bar [any-i386], baz [!linux-any]
          example, <ref id="binaries">.
        </p>
 
+       <p>
+         Neither <tt>Breaks</tt> nor <tt>Conflicts</tt> should be used
+         unless two packages cannot be installed at the same time or
+         installing them both causes one of them to be broken or
+         unusable.  Having similar functionality or performing the same
+         tasks as another package is not sufficient reason to
+         declare <tt>Breaks</tt> or <tt>Conflicts</tt> with that package.
+       </p>
+
        <p>
          A <tt>Conflicts</tt> entry may have an "earlier than" version
          clause if the reason for the conflict is corrected in a later