Package: gmp-ecm Version: 6.4.2-1 Severity: important Justification: policy ยง7.4 "Conflicts should be used unless ..." Tags: patch
Hi, gmp-ecm conflicts with ecm because historically they both provided "ecm" commands (bug#580548). Now that cmdpack ecm has been renamed to ecm-compress, gmp-ecm and ecm are coinstallable and the conflict can be made versioned. Policy explains: | However, normally the presence of an "earlier than" version clause | is a sign that Breaks should have been used instead. An "earlier | than" version clause in Conflicts prevents dpkg from upgrading or | installing the package which declares such a conflict until the | upgrade or removal of the conflicted-with package has been | completed, which is a strong restriction. so the patch below switches to a Breaks+Replaces. Seems to work ok. Thoughts? Jonathan --- debian/changelog | 8 ++++++++ debian/control | 3 ++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index ab7e432b..2d6998f8 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,11 @@ +gmp-ecm (6.4.2-1.1) local; urgency=low + + * Only break and replace the Error Code Modeler package from Debian + 6.0 (squeeze) that contains its own ecm command, instead of + conflicting with all versions. + + -- Jonathan Nieder <jrnie...@gmail.com> Thu, 11 Oct 2012 15:11:03 -0700 + gmp-ecm (6.4.2-1) unstable; urgency=low * New upstream release: diff --git a/debian/control b/debian/control index b70a6536..9f2a5897 100644 --- a/debian/control +++ b/debian/control @@ -9,7 +9,8 @@ Standards-Version: 3.9.1 Package: gmp-ecm Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} -Conflicts: ecm +Breaks: ecm (<< 1.00-2) +Replaces: ecm (<< 1.00-2) Description: Factor integers using the Elliptic Curve Method gmp-ecm is a free implementation of the Elliptic Curve Method (ECM) for integer factorization. -- 1.7.10.4 -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org