[debian-mysql] Bug#926231: mariadb-server-10.3: dpkg configure error - upgrade from mysql
Graham Cobb
g+debian at cobb.uk.net
Tue Apr 2 11:55:50 BST 2019
Package: mariadb-server-10.3
Version: 1:10.3.13-1
Severity: important
Dear Maintainer,
mariadb-server-10.3 will not configure on my debian testing (buster) system.
The system previously used mysql (I do not remember exacty which version but I can find out if necessary).
Since that was replaced with mariadb, apt fails to configure mariadb-server. Here is the output from dpkg --configure mariadb-server-10.3
Setting up mariadb-server-10.3 (1:10.3.13-1) ...
dpkg: error processing package mariadb-server-10.3 (--configure):
installed mariadb-server-10.3 package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
mariadb-server-10.3
The last part of the output of
DEBIAN_SCRIPT_DEBUG=1 dpkg --configure --debug=2 mariadb-server-10.3
shows:
++ /bin/echo -e 'USE mysql;\n' 'SET sql_log_bin=0;\n' 'ALTER TABLE user CHANGE Password Password char(41) character set latin1 collate latin1_bin DEFAULT '\'''\'' NOT NULL;'
+ password_column_fix_query='USE mysql;
SET sql_log_bin=0;
ALTER TABLE user CHANGE Password Password char(41) character set latin1 collate latin1_bin DEFAULT '\'''\'' NOT NULL;'
+ /usr/sbin/mysqld --bootstrap --user=mysql --disable-log-bin --skip-grant-tables --default-storage-engine=myisam
+ echo 'USE mysql;
SET sql_log_bin=0;
ALTER TABLE user CHANGE Password Password char(41) character set latin1 collate latin1_bin DEFAULT '\'''\'' NOT NULL;'
+ logger -p daemon.err -t mariadb-server-10.3.postinst -i
dpkg: error processing package mariadb-server-10.3 (--configure):
installed mariadb-server-10.3 package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
mariadb-server-10.3
-- System Information:
Debian Release: buster/sid
APT prefers testing
APT policy: (900, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.19.0-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_IE.utf8, LC_CTYPE=en_IE.utf8 (charmap=UTF-8) (ignored: LC_ALL set to en_IE.utf8), LANGUAGE=en_GB (charmap=UTF-8) (ignored: LC_ALL set to en_IE.utf8)
Shell: /bin/sh linked to /bin/bash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages mariadb-server-10.3 depends on:
ii adduser 3.118
ii debconf [debconf-2.0] 1.5.71
ii galera-3 25.3.25-1
ii gawk 1:4.2.1+dfsg-1
ii iproute2 4.20.0-2
ii libc6 2.28-8
ii libdbi-perl 1.642-1+b1
ii libgnutls30 3.6.6-2
ii libpam0g 1.3.1-5
ii libstdc++6 8.3.0-2
ii lsb-base 10.2019031300
ii lsof 4.91+dfsg-1
ii mariadb-client-10.3 1:10.3.13-1
ii mariadb-common 1:10.3.13-1
ii mariadb-server-core-10.3 1:10.3.13-1
ii passwd 1:4.5-1.1
ii perl 5.28.1-5
ii psmisc 23.2-1
ii rsync 3.1.3-6
ii socat 1.7.3.2-2
ii zlib1g 1:1.2.11.dfsg-1
Versions of packages mariadb-server-10.3 recommends:
ii libhtml-template-perl 2.97-1
Versions of packages mariadb-server-10.3 suggests:
ii bsd-mailx [mailx] 8.1.2-0.20180807cvs-1
ii mailutils [mailx] 1:3.5-3
ii mailx 1:20081101-2
pn mariadb-test <none>
ii netcat-openbsd 1.195-2
ii tinyca 0.7.5-6
-- debconf information:
mariadb-server-10.3/postrm_remove_databases: false
mariadb-server-10.3/old_data_directory_saved:
mariadb-server-10.3/nis_warning:
More information about the pkg-mysql-maint
mailing list