On 2015-06-11 19:16, Andreas Beckmann wrote:
> Package: stun-client,stun-server
> Version: 0.97~dfsg-2
> Severity: serious
> User: debian...@lists.debian.org
> Usertags: piuparts
> 
> Hi,
> 
> during a test with piuparts I noticed your package fails to upgrade from
> 'testing'.
> It installed fine in 'testing', then the upgrade to 'sid' fails
> because it tries to overwrite other packages files without declaring a
> Breaks+Replaces relation.
> 
> See policy 7.6 at
> https://www.debian.org/doc/debian-policy/ch-relationships.html#s-replaces

I have done an NMU to fix this long standing issue. Please find the
corresponding patch attached.

Aurelien

-- 
Aurelien Jarno                          GPG: 4096R/1DDD8C9B
aurel...@aurel32.net                 http://www.aurel32.net
diff -Nru stun-0.97~dfsg/debian/changelog stun-0.97~dfsg/debian/changelog
--- stun-0.97~dfsg/debian/changelog	2014-12-22 00:22:26.000000000 +0000
+++ stun-0.97~dfsg/debian/changelog	2016-02-14 18:20:17.000000000 +0000
@@ -1,3 +1,10 @@
+stun (0.97~dfsg-2.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Add breaks and replaces stun (<< 0.97~dfsg-1).  Closes: #788470.
+
+ -- Aurelien Jarno <aure...@debian.org>  Sun, 14 Feb 2016 19:20:14 +0100
+
 stun (0.97~dfsg-2) unstable; urgency=medium
 
   * Fix init script PID file location and make variable handling somewhat more
diff -Nru stun-0.97~dfsg/debian/control stun-0.97~dfsg/debian/control
--- stun-0.97~dfsg/debian/control	2014-12-21 22:41:12.000000000 +0000
+++ stun-0.97~dfsg/debian/control	2016-02-14 18:19:15.000000000 +0000
@@ -13,6 +13,8 @@
 Architecture: any
 Depends: ${shlibs:Depends}, ${misc:Depends}
 Recommends: stun-client
+Replaces: stun (<< 0.97~dfsg-1)
+Breaks: stun (<< 0.97~dfsg-1)
 Provides: stun
 Description: Server daemon for STUN
  The STUN protocol (Simple Traversal of UDP through NATs) is described in the
@@ -26,6 +28,8 @@
 Package: stun-client
 Architecture: any
 Depends: ${shlibs:Depends}, ${misc:Depends}
+Replaces: stun (<< 0.97~dfsg-1)
+Breaks: stun (<< 0.97~dfsg-1)
 Suggests: stun-server
 Description: Test client for STUN
  The STUN protocol (Simple Traversal of UDP through NATs) is described in the

Reply via email to