From ace2e0301e5d0f8c5acf02e671b6a1f3dd7fb374 Mon Sep 17 00:00:00 2001 From: Tuukka Pasanen Date: Thu, 9 Jun 2022 10:43:44 +0300 Subject: MDEV-28666: Add correct 'Breaks' to make sure upgrade from 10.2 succeeds File '/usr/bin/mariadb_config' has been moved from Debian package libmariadbd-dev to libmariadb-dev since MariaDB version 10.2 this leads to situation where upgrade will no succeed but fail with this kind of error message * trying to overwrite '/usr/bin/mariadb_config', which is also in package libmariadbd-dev 1:10.2.44+maria~bionic Add libmariadbd-dev to libmariadb-dev Debian control files 'Breaks' solve situation and upgrading won't error anymore --- debian/control | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'debian') diff --git a/debian/control b/debian/control index dece7de2bd3..aed073e5c8c 100644 --- a/debian/control +++ b/debian/control @@ -179,7 +179,8 @@ Depends: libmariadb-dev (= ${binary:Version}), libmariadbd19 (= ${binary:Version}), ${misc:Depends}, ${shlibs:Depends} -Breaks: libmysqld-dev +Breaks: libmysqld-dev, + libmariadbd-dev (<= 10.2) Replaces: libmysqld-dev Description: MariaDB embedded database, development files MariaDB is a fast, stable and true multi-user, multi-threaded SQL database -- cgit v1.2.1