Comment 3 for bug 1605490

Revision history for this message
Hristian (hristian-carabulea) wrote : Re: package mysql-server-5.7 5.7.13-0ubuntu0.16.04.2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

I am not sure if this a correct alternate way out of the never-ending-bug. This is all I found when I googled the problem. I just did not want to have an unclosed update on my 16.04.01 32-bit machine. I followed these steps and had a full mysql reinstall.

sudo rm -rf /etc/mysql /var/lib/mysql
sudo apt-get purge mysql*
sudo apt-get autoremove
sudo apt-get autoclean
sudo apt-get dist-upgrade
sudo apt-get install mysql-server

Now when I type, "mysql -V" I get: mysql Ver 14.14 Distrib 5.7.13, for Linux (i686) using EditLine wrapper.

And when I do an update and upgrade is all OK now. Before I used to get constantly an error messagse of failed updates or something like that.