[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#894587: kdepim-addons: File conflict with akonadi-contacts-data 4:17.08.3-2



Control: tags -1 patch

On Mon, 02 Apr 2018 08:16:12 +0800 Boyuan Yang wrote:
> Preparing to unpack .../6-kdepim-addons_17.12.3-1_amd64.deb ...
> Unpacking kdepim-addons:amd64 (17.12.3-1) over (17.08.3-2) ...
> dpkg: error processing archive /tmp/apt-dpkg-install-zBVare/6-kdepim-
> addons_17.12.3-1_amd64.deb (--unpack):
>  trying to overwrite
> '/usr/share/contacteditor/grantleetheme/default/addresseslocation.css', which
> is also in package akonadi-contacts-data 4:17.08.3-2
> dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
> Errors were encountered while processing:
>  /tmp/apt-dpkg-install-zBVare/6-kdepim-addons_17.12.3-1_amd64.deb

The attached patch fixes the issue by adding the appropriate
Breaks/Replaces.

Kind Regards,

Bas
diff -Nru kdepim-addons-17.12.3/debian/changelog kdepim-addons-17.12.3/debian/changelog
--- kdepim-addons-17.12.3/debian/changelog	2018-03-31 18:23:58.000000000 +0200
+++ kdepim-addons-17.12.3/debian/changelog	2018-04-02 12:04:17.000000000 +0200
@@ -1,3 +1,11 @@
+kdepim-addons (17.12.3-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Add Breaks/Replaces on akonadi-contacts-data (<= 4:17.08.3-2).
+    (closes: #894587)
+
+ -- Bas Couwenberg <sebastic@debian.org>  Mon, 02 Apr 2018 12:04:17 +0200
+
 kdepim-addons (17.12.3-1) unstable; urgency=medium
 
   * Team upload.
diff -Nru kdepim-addons-17.12.3/debian/control kdepim-addons-17.12.3/debian/control
--- kdepim-addons-17.12.3/debian/control	2018-03-31 15:52:04.000000000 +0200
+++ kdepim-addons-17.12.3/debian/control	2018-04-02 12:04:16.000000000 +0200
@@ -67,13 +67,15 @@
          qml-module-qtquick-layouts,
          ${misc:Depends},
          ${shlibs:Depends},
-Breaks: kaddressbook (<= 4:16.04),
+Breaks: akonadi-contacts-data (<= 4:17.08.3-2),
+        kaddressbook (<= 4:16.04),
         kmail (<= 4:16.08),
         korganizer (<= 4:16.04),
         libkf5messageviewer5 (<< 4:16.12.0),
         libkf5pimcommon5 (<= 4:16.04),
         ${kde-l10n:all},
-Replaces: kaddressbook (<= 4:16.04),
+Replaces: akonadi-contacts-data (<= 4:17.08.3-2),
+          kaddressbook (<= 4:16.04),
           kmail (<= 4:16.08),
           korganizer (<= 4:16.04),
           libkf5messageviewer5 (<< 4:16.12.0),

Reply to: