[debian-mysql] Bug#1010846: mariadb-common: Removes directory /etc/mysql/mariadb.conf.d during uninstall preventing mysql server from starting

Nick DeYarman 1nick1 at gmail.com
Wed May 11 14:39:00 BST 2022


Package: mariadb-common
Version: 1:10.5.15-0+deb11u1
Severity: normal
X-Debbugs-Cc: 1nick1 at gmail.com

After installing mailutils which uses mariadb-common as a
dependency, I uninstalled mailutils and ran `apt autoremove`
which removed mariadb-common. mysql server then ran into a fatal
error as /etc/mysql/my.cnf contains the line "!includedir /etc/mysql/mariadb.conf.d/" in its default configuration.

Re-making the directory /etc/mysql/mariadb.conf.d solves the issue.


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

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

Versions of packages mariadb-common depends on:
ii  mysql-common [mysql-common]  8.0.29-1debian11

mariadb-common recommends no packages.

mariadb-common suggests no packages.



More information about the pkg-mysql-maint mailing list