Package mariadb-server-5.5 is not configured yet

December 15, 2015 5.4k views
Ubuntu MySQL MariaDB LEMP


i am having the following error on my ubuntu server whenever i run

apt-get update && apt-get upgrade

The following errors occur....

Setting up mariadb-server-5.5 (5.5.47+maria-1~trusty) ...
 * Stopping MariaDB database server mysqld                               [ OK ]
 * Starting MariaDB database server mysqld                               [fail]
invoke-rc.d: initscript mysql, action "start" failed.
dpkg: error processing package mariadb-server-5.5 (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of mariadb-server:
 mariadb-server depends on mariadb-server-5.5 (= 5.5.47+maria-1~trusty); however                                                                                        :
  Package mariadb-server-5.5 is not configured yet.

dpkg: error processing package mariadb-server (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup erro                                                                                        r from a previous failure.
                          Errors were encountered while processing:
E: Sub-process /usr/bin/dpkg returned an error code (1)
1 Answer

It seems to be the result of a muddled setup between installing mariadb and mysql. Rebooting the machine and running apt-get again solved the issue for me.

Have another answer? Share your knowledge.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!