[debian-mysql] Bug#852267: Bug#852267: upgrading mariadb-server-10.0 to mariadb-server-10.1 removed it instead of upgrading

Otto Kekäläinen otto at debian.org
Mon Jan 23 11:53:26 UTC 2017


2017-01-23 0:48 GMT+02:00 Jean-Marc <jean-marc at 6jf.be>:
> On 21/01, a dist-upgrade replaced mariadb 10.0 with 10.1.
>
> It removed mariadb-server-10.0:amd64 (10.0.28-2), mariadb-client-10.0:amd64 (10.0.28-2), mariadb-client-core-10.0:amd64 (10.0.28-2) but just installed mariadb-client-10.1:amd64 (10.1.20-3, automatic), mariadb-client-core-10.1:amd64 (10.1.20-3, automatic).
>
> So, no server anymore breaking my dolibarr instance.
>
> Manually installing mariadb-server-10.1 worked like a charm and solved the dolibarr issue, also replacing mariadb-server-core-10.0 (still installed after the mariadb-server-10.0 removal) with mariadb-client-core-10.1.
>
> Another strange behavior: this dist-upgrade upgraded the default-mysql-client from 1.0.1 but removed the
> default-mysql-server instead of upgrading it.


Can you provide me steps on how to reproduce this? What packages
exactly did you have installed before the upgrade (mariadb-*,
default-mysql-server, something that depends on mariadb-* or mysql-*)?


When I tested dist-upgrade today, it does not even install
mariadb-server automatically (due to the removes of old packages) and
I needed to apt install it manually. When done so, everything removed
and upgraded as expected.


1610:~# apt-get dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
  mariadb-server
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.


# apt install mariadb-server
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
  galera-3 libjemalloc1 mariadb-client-10.1 mariadb-client-core-10.1
mariadb-server-10.1 mariadb-server-core-10.1 socat
Suggested packages:
  mailx mariadb-test tinyca
The following packages will be REMOVED:
  mariadb-client-10.0 mariadb-client-core-10.0 mariadb-server-10.0
mariadb-server-core-10.0
The following NEW packages will be installed:
  galera-3 libjemalloc1 mariadb-client-10.1 mariadb-client-core-10.1
mariadb-server-10.1 mariadb-server-core-10.1 socat
The following packages will be upgraded:
  mariadb-server



More information about the pkg-mysql-maint mailing list