[debian-mysql] Bug#993219: mariadb-server-core: Akonadi database - mysql_upgrade fails always with "FATAL ERROR: Can't execute 'mysqlcheck'"

Ulrich Beckmann bequimao.de at googlemail.com
Sat Aug 28 18:51:15 BST 2021


Package: mariadb-server-core-10.5
Version: 1:10.5.11-1
Severity: normal
File: mariadb-server-core

Dear Maintainer,

   The redo log was corrupted before upgrade to Debian bullseye. Akonadi would not start.
   see https://debianforum.de/forum/viewtopic.php?f=29&t=181760&start=15#p1280104 (German language)

   I invoked mysql_upgrade to check and repair the MariaDB system tables
-----------------------------------------------------------------------------------------------------------------------------------------------------
bequimao at bullseye-kde:~$ mysql_upgrade --defaults-file=/home/bequimao/.local/share/akonadi/mysql.conf --socket=/run/user/1000/akonadi/mysql.socket -v
Looking for 'mysql' as: mysql
Looking for 'mysqlcheck' as: mysqlcheck
FATAL ERROR: Can't execute 'mysqlcheck'
-----------------------------------------------------------------------------------------------------------------------------------------------------
  NB. I repeated the test in a fresh install of Debian 11 KDE Plasma in a VM (Qemu/KVM) and Debian testing.
      Always had the same error message.


-- System Information:
Debian Release: 11.0
  APT prefers stable-security
  APT policy: (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.10.0-8-amd64 (SMP w/4 CPU threads)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages mariadb-server-core-10.5 depends on:
ii  libaio1         0.3.112-9
ii  libc6           2.31-13
ii  libcrypt1       1:4.4.18-4
ii  liblz4-1        1.9.3-2
ii  libpcre2-8-0    10.36-2
ii  libsnappy1v5    1.1.8-1
ii  libssl1.1       1.1.1k-1+deb11u1
ii  libstdc++6      10.2.1-6
ii  libsystemd0     247.3-6
ii  mariadb-common  1:10.5.11-1
ii  zlib1g          1:1.2.11.dfsg-2

mariadb-server-core-10.5 recommends no packages.

mariadb-server-core-10.5 suggests no packages.

-- no debconf information



More information about the pkg-mysql-maint mailing list