diff options
author | Otto Kekäläinen <otto@mariadb.org> | 2016-11-24 23:38:59 +0100 |
---|---|---|
committer | Otto Kekäläinen <otto@mariadb.org> | 2016-11-25 08:50:58 +0100 |
commit | e06e455eeaffa04fd551eb0012cd256480b2552a (patch) | |
tree | 4cee794acbf5a6ab476cc7d7e2df453b0be5fcd9 /debian | |
parent | 89236a8ad93bbfa39b935afc8eabdaab5a1e2474 (diff) | |
download | mariadb-git-e06e455eeaffa04fd551eb0012cd256480b2552a.tar.gz |
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
Diffstat (limited to 'debian')
-rw-r--r-- | debian/control | 10 |
1 files changed, 8 insertions, 2 deletions
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, |