My local install of mysql-community-server decided to fail today after applying some updates. I’m running Debian buster/sid so these kind of things are to be expected. But this was a totally new one to me.
Mysql failed to start so the update wouldn’t install.
Unpacking mysql-community-server (5.7.21-1debian9) ... Setting up mysql-community-client (5.7.21-1debian9) ... Setting up mysql-client (5.7.21-1debian9) ... Processing triggers for systemd (236-3) ... Processing triggers for man-db (18.104.22.168-4) ... Setting up mysql-community-server (5.7.21-1debian9) ... Job for mysql.service failed because the control process exited with error code. See "systemctl status mysql.service" and "journalctl -xe" for details. invoke-rc.d: initscript mysql, action "start" failed. ● mysql.service - MySQL Community Server Loaded: loaded (/lib/systemd/system/mysql.service; enabled; vendor preset: enabled) Active: activating (auto-restart) (Result: exit-code) since Thu 2018-01-18 08:54:36 GMT; 9ms ago Process: 11123 ExecStart=/usr/sbin/mysqld --daemonize --pid-file=/var/run/mysqld/mysqld.pid ^[[0;1;31m(code=exited, status=1/FAILURE)^[[0m Process: 11088 ExecStartPre=/usr/share/mysql/mysql-systemd-start pre (code=exited, status=0/SUCCESS) dpkg: error processing package mysql-community-server (--configure): installed mysql-community-server package post-installation script subprocess returned error exit status 1 Errors were encountered while processing: mysql-community-server Log ended: 2018-01-18 08:54:36
Then in my syslog file I saw lots of activity constantly trying to start and failing.