Control: tags -1 + patch

On 2014-11-05 04:13:50, Andreas Beckmann wrote:
> Package: connman-vpn
> Version: 1.21-1.1
> Severity: serious
> User: debian...@lists.debian.org
> Usertags: piuparts
> 
> Hi,
> 
> during a test with piuparts I noticed your package fails to upgrade from
> 'wheezy'.
> It installed fine in 'wheezy', then the upgrade to 'jessie' fails
> because it tries to overwrite other packages files without declaring a
> Breaks+Replaces relation.
> 
> See policy 7.6 at
> http://www.debian.org/doc/debian-policy/ch-relationships.html#s-replaces
> 
> >From the attached log (scroll to the bottom...):
> 
>   Selecting previously unselected package connman-vpn.
>   Unpacking connman-vpn (from .../connman-vpn_1.21-1.1_amd64.deb) ...
>   dpkg: error processing 
> /var/cache/apt/archives/connman-vpn_1.21-1.1_amd64.deb (--unpack):
>    trying to overwrite 
> '/usr/lib/x86_64-linux-gnu/connman/scripts/openvpn-script', which is also in 
> package connman 1.0-1.1+wheezy1+b1
>   dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
>   Errors were encountered while processing:
>    /var/cache/apt/archives/connman-vpn_1.21-1.1_amd64.deb

The file was moved in 1.21-1. The attached patch should fix this bug.

Cheers
-- 
Sebastian Ramacher
diff -Nru connman-1.21/debian/changelog connman-1.21/debian/changelog
--- connman-1.21/debian/changelog       2014-08-15 14:38:20.000000000 +0200
+++ connman-1.21/debian/changelog       2014-11-11 14:21:20.000000000 +0100
@@ -1,3 +1,11 @@
+connman (1.21-1.2) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * debian/control: Add Breaks+Replaces: connman (<< 1.21-1) to connman-vpn.
+    (Closes: #768116)
+
+ -- Sebastian Ramacher <sramac...@debian.org>  Tue, 11 Nov 2014 14:08:49 +0100
+
 connman (1.21-1.1) unstable; urgency=medium
 
   * Non-maintainer upload.
diff -Nru connman-1.21/debian/control connman-1.21/debian/control
--- connman-1.21/debian/control 2014-08-15 14:39:21.000000000 +0200
+++ connman-1.21/debian/control 2014-11-11 14:12:22.000000000 +0100
@@ -50,6 +50,8 @@
 Architecture: any
 Depends: ${shlibs:Depends}, ${misc:Depends}
 Recommends: connman (=${source:Version})
+Breaks: connman (<< 1.21-1)
+Replaces: connman (<< 1.21-1)
 Description: Intel Connection Manager daemon - VPN daemon
  The Linux Connection Manager project provides a daemon for managing
  Internet connections within embedded devices running the Linux

Attachment: signature.asc
Description: Digital signature

Reply via email to