From e06e455eeaffa04fd551eb0012cd256480b2552a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Otto=20Kek=C3=A4l=C3=A4inen?= Date: Thu, 24 Nov 2016 23:38:59 +0100 Subject: Deb: make server core package breaks/replaces earlier client packages This is required, as the innochecksum binary has moved package. Without this change the following error would be emitted: Unpacking mariadb-server-core-10.2 (10.2.3+maria~jessie) over (10.2.2+maria-1~jessie) ... dpkg: error processing archive /var/cache/apt/archives/mariadb-server-core-10.2_10.2.3+maria~jessie_amd64.deb (--unpack): trying to overwrite '/usr/bin/innochecksum', which is also in package mariadb-client-10.2 10.2.2+maria-1~jessie --- debian/control | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'debian') diff --git a/debian/control b/debian/control index 8e5b5eb9928..f2beb786aa2 100644 --- a/debian/control +++ b/debian/control @@ -303,8 +303,14 @@ Conflicts: mariadb-server-core-10.0, mysql-server-core-5.6, mysql-server-core-5.7, virtual-mysql-server-core -Breaks: mariadb-server-10.2 (<< ${source:Version}) -Replaces: mariadb-server-10.2 (<< ${source:Version}), +Breaks: mariadb-server-10.2 (<< ${source:Version}), + mariadb-client-10.2 (<< ${source:Version}), + mariadb-client-10.1, + mariadb-client-10.0 +Replaces: mariadb-client-10.2 (<< ${source:Version}), + mariadb-client-10.1, + mariadb-client-10.0, + mariadb-server-10.2 (<< ${source:Version}), mariadb-server-core-10.0, mariadb-server-core-10.1, mariadb-server-core-5.1, -- cgit v1.2.1