When upgrading from 10.1.16 to 10.1.17 on Debian Jessie i've received the following error:
dpkg: error processing package mariadb-server-10.1 (--configure):
subprocess installed post-installation script returned error exit status 1
Processing triggers for libc-bin (2.19-18+deb8u4) ...
Errors were encountered while processing:
mariadb-server-10.1
E: Sub-process /usr/bin/dpkg returned an error code (1)
Failed to perform requested operation on package. Trying to recover:
Setting up mariadb-server-10.1 (10.1.17+maria-1~jessie) ...
dpkg: error processing package mariadb-server-10.1 (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
mariadb-server-10.1
Current status: 0 updates [-14]
Was able to fix by running.
And running the upgrade again.
See attached full logs.