[debian-mysql] Bug#988089: mariadb-server: MariaDB uninstalled on dist-upgrade Debian 10 -> 11

Olaf van der Spek olafvdspek at gmail.com
Wed May 5 10:05:20 BST 2021


Package: mariadb-server
Version: 1:10.5.9-1
Severity: normal
X-Debbugs-Cc: olafvdspek at gmail.com

Dear Maintainer,

Installed Debian 10, installed mariadb-server and some other stuff.
Updated sources.list to reference bullseye.
Did apt update
Did apt upgrade

# apt dist-upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
  bsdmainutils cpp-8 galera-3 geoip-database libaio1 libasan5 libbind9-161 libcgi-fast-perl libcgi-pm-perl libclone-perl libconfig-inifiles-perl libdbd-mysql-perl libdbi-perl libdns1104 libdns1110 libencode-locale-perl libevent-2.1-6 libevent-2.1-7
  libfam0 libfcgi-bin libfcgi-perl libfcgi0ldbl libgeoip1 libgmp-dev libgmpxx4ldbl libgnutls-dane0 libgnutls-openssl27 libgnutls28-dev libgnutlsxx28 libhtml-parser-perl libhtml-tagset-perl libhtml-template-perl libhttp-date-perl libhttp-message-perl
  libicu63 libidn2-dev libio-html-perl libisc1100 libisc1105 libisccc161 libisccfg163 libisl19 libjsoncpp1 liblwp-mediatypes-perl liblwres161 libmpdec2 libmpx2 libp11-kit-dev libperl5.28 libpython2-stdlib libpython3.7-minimal libpython3.7-stdlib
  libreadline5 libreadline7 libsnappy1v5 libtasn1-6-dev libtasn1-doc libterm-readkey-perl libtimedate-perl libunbound8 liburi-perl nettle-dev python2 python2-minimal python3.7-minimal rsync socat
Use 'apt autoremove' to remove them.
The following packages will be REMOVED:
  g++-8 gcc-8 libboost1.67-dev libgcc-8-dev libpython-stdlib libstdc++-8-dev mariadb-client-10.3 mariadb-client-core-10.3 mariadb-server mariadb-server-10.3 mariadb-server-core-10.3 php7.3-cli php7.3-common php7.3-fpm php7.3-json php7.3-opcache
  php7.3-readline python python-minimal python3.7
The following NEW packages will be installed:
  cpp-10 fontconfig-config fonts-dejavu-core g++-10 gcc-10 libasan6 libboost1.74-dev libbpf0 libbrotli1 libc-devtools libcbor0 libclone-perl libcrypt-dev libcrypt1 libdeflate0 libfcgi-bin libfcgi0ldbl libfido2-1 libfontconfig1 libgcc-10-dev libgd3
  libicu67 libip4tc2 libip6tc2 libisl23 libjbig0 libjpeg62-turbo libmpdec3 libnsl-dev libnss-nis libnss-nisplus libperl5.32 libpython3.9-minimal libpython3.9-stdlib libreadline8 libstdc++-10-dev libtiff5 libtirpc-dev libwebp6 libxpm4
  lighttpd-mod-deflate lighttpd-mod-openssl perl-modules-5.32 php7.4-cli php7.4-common php7.4-fpm php7.4-json php7.4-opcache php7.4-readline python3.9 python3.9-minimal runit-helper systemd-timesyncd
The following packages will be upgraded:
  cpp g++ galera-3 gawk gcc groff-base iproute2 iptables libboost-dev libc-bin libc-dev-bin libc6 libc6-dev libcurl3-gnutls libcurl4 libdbd-mysql-perl libdbi-perl libfcgi-perl libfreetype6 libhtml-parser-perl libhttp-message-perl libiptc0
  liblocale-gettext-perl libnss-systemd libpam-modules libpam-modules-bin libpam-systemd libpng16-16 libpython2-stdlib libpython2.7-minimal libpython2.7-stdlib libpython3-stdlib libslang2 libsqlite3-0 libsystemd-dev libsystemd0 libterm-readkey-perl
  libtext-charwidth-perl libtext-iconv-perl libudev1 libxml2 libxtables12 lighttpd lighttpd-modules-ldap lighttpd-modules-mysql locales login mawk openssh-client openssh-server openssh-sftp-server passwd perl perl-base php-common php-fpm python2
  python2-minimal python2.7 python2.7-minimal python3 python3-apt python3-minimal python3-pycurl rsyslog systemd udev util-linux util-linux-locales
69 upgraded, 53 newly installed, 20 to remove and 0 not upgraded.
Need to get 124 MB of archives.
After this operation, 29.3 MB of additional disk space will be used.
Do you want to continue? [Y/n]

Here mariadb (10.3) is to be REMOVED, but 10.5 doesn't appear to get installed.

Before dist-upgrade:
# dpkg -l|grep mariadb
ii  libmariadb-dev                  1:10.5.9-1                     i386         MariaDB database development files
ii  libmariadb-dev-compat:i386      1:10.5.9-1                     i386         MariaDB Connector/C, compatibility symlinks
ii  libmariadb3:i386                1:10.5.9-1                     i386         MariaDB database client library
ii  mariadb-client-10.3             1:10.3.27-0+deb10u1            i386         MariaDB database client binaries
ii  mariadb-client-core-10.3        1:10.3.27-0+deb10u1            i386         MariaDB database core client binaries
ii  mariadb-common                  1:10.5.9-1                     all          MariaDB common configuration files
ii  mariadb-server                  1:10.3.27-0+deb10u1            all          MariaDB database server (metapackage depending on the latest version)
ii  mariadb-server-10.3             1:10.3.27-0+deb10u1            i386         MariaDB database server binaries
ii  mariadb-server-core-10.3        1:10.3.27-0+deb10u1            i386         MariaDB database core server files

After apt dist-upgrade:
# dpkg -l|grep mariadb
ii  libmariadb-dev                  1:10.5.9-1                     i386         MariaDB database development files
ii  libmariadb-dev-compat:i386      1:10.5.9-1                     i386         MariaDB Connector/C, compatibility symlinks
ii  libmariadb3:i386                1:10.5.9-1                     i386         MariaDB database client library
rc  mariadb-client-10.3             1:10.3.27-0+deb10u1            i386         MariaDB database client binaries
ii  mariadb-common                  1:10.5.9-1                     all          MariaDB common configuration files
rc  mariadb-server-10.3             1:10.3.27-0+deb10u1            i386         MariaDB database server binaries

mariadb-server can be installed again afterwards, maybe apt has trouble with galera-3?

# apt install mariadb-server
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  galera-4 mariadb-client-10.5 mariadb-client-core-10.5 mariadb-server-10.5 mariadb-server-core-10.5
Suggested packages:
  mailx mariadb-test netcat-openbsd
The following packages will be REMOVED:
  galera-3
The following NEW packages will be installed:
  galera-4 mariadb-client-10.5 mariadb-client-core-10.5 mariadb-server mariadb-server-10.5 mariadb-server-core-10.5
0 upgraded, 6 newly installed, 1 to remove and 0 not upgraded.
Need to get 13.8 MB of archives.
After this operation, 135 MB of additional disk space will be used.
Do you want to continue? [Y/n] 



Greetings,

Olaf


-- System Information:
Debian Release: bullseye/sid
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 5.10.0-6-686-pae (SMP w/1 CPU thread)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages mariadb-server depends on:
ii  mariadb-server-10.5  1:10.5.9-1

mariadb-server recommends no packages.

mariadb-server suggests no packages.

-- no debconf information



More information about the pkg-mysql-maint mailing list