summaryrefslogtreecommitdiffstats
path: root/tags/c/conflicts-with-version.tag
diff options
context:
space:
mode:
Diffstat (limited to 'tags/c/conflicts-with-version.tag')
-rw-r--r--tags/c/conflicts-with-version.tag11
1 files changed, 11 insertions, 0 deletions
diff --git a/tags/c/conflicts-with-version.tag b/tags/c/conflicts-with-version.tag
new file mode 100644
index 0000000..0692972
--- /dev/null
+++ b/tags/c/conflicts-with-version.tag
@@ -0,0 +1,11 @@
+Tag: conflicts-with-version
+Severity: info
+Check: fields/package-relations
+See-Also: debian-policy 7.4
+Explanation: An earlier-than version clause is normally an indication that Breaks
+ should be used instead of Conflicts. Breaks is a weaker requirement that
+ provides the package manager more leeway to find a valid upgrade path.
+ Conflicts should only be used if two packages can never be unpacked at
+ the same time, or for some situations involving virtual packages (where a
+ version clause is not appropriate). In particular, when moving files
+ between packages, use Breaks plus Replaces, not Conflicts plus Replaces.