From 10d347dc6a44635443157f23b12405e8b20c4b5e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Otto=20Kek=C3=A4l=C3=A4inen?= Date: Wed, 8 Aug 2018 12:06:01 +0300 Subject: [PATCH] Deb: Make libmariadb3 Breaks+Replaces libmariadbclient18 so upgrade pass The package libmariadbclient18 contains the dialog.so plugin, which also the new libmariadb3 ships. As they both use the exact same path the latter must be marked as a with Breaks and Replaces relations ship. Note: This fix is conservative hack for stable releases 10.2 and 10.3. In 10.4, the development release at the time, we will clean up how the libmariadb3 packaging and it's -compat packages are done to match that what is done in downstream Debian official. --- debian/control | 2 ++ 1 file changed, 2 insertions(+) diff --git a/debian/control b/debian/control index 2465cfd6b27..c23106b7694 100644 --- a/debian/control +++ b/debian/control @@ -105,6 +105,8 @@ Conflicts: libmariadbclient18 (<< 10.2.0), mariadb-server-5.2, mariadb-server-5.3, mariadb-server-5.5 (<< 5.5.33) +Breaks: libmariadbclient18 (<< ${source:Version}) +Replaces: libmariadbclient18 (<< ${source:Version}) Description: MariaDB database client library MariaDB is a fast, stable and true multi-user, multi-threaded SQL database server. SQL (Structured Query Language) is the most popular database query