Comment 2 for bug 739824

Revision history for this message
shankao (shankao) wrote : Re: package phpmyadmin 4:3.3.2-1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 2

After watching at the dpkg logs, it seems that mysql was not accessible at the moment of the phpadmin update. Can you check that it's running and try to reinstall the package? thanks!

Setting up phpmyadmin (4:3.3.2-1) ...
dbconfig-common: writing config to /etc/dbconfig-common/phpmyadmin.conf
Replacing config file /etc/phpmyadmin/config-db.php with new version
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2).
unable to connect to mysql server.
error encountered creating user:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)