Hi !
I had the same issue and fixed it almost like Rick except I had to remove all 
the possible  my.cnf "alternatives".
Before that I purged mysql-server-5.7.
Then I was able to reinstall it. I checked again all my databases and 
everything was OK.

sudo apt-get purge mysql-server-5.7
cd /etc/mysql
sudo rm my.cnf my.cnf.fallback my.cnf.migrated my.cnf.wba.bak 
/etc/alternatives/my.cnf
sudo apt-get install mysql-server
sudo mysqlcheck --all-databases -p

I think I could just have reconfigured all (sudo dpkg --configure -a)
instead of purging sql-server-5.7 but after multiple trial and errors I
thought it was safer.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1573279

Title:
  package mysql-server-5.7 5.7.11-0ubuntu6 failed to install/upgrade:
  subprocess installed post-installation script returned error exit
  status 1 during release upgrade

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mysql-5.7/+bug/1573279/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to