I encountered this problem on upgrade from 15.10 to 16.04. However, in my case I had the mysql.service disabled. After enabling the service (even with it stopped) the mysql_upgrade process ran correctly. I'm not sure why the service isn't started, being disabled shouldn't make a difference.
I note that Tango had the service enabled, so perhaps something else can inhibit it being started from inside dpkg. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1584287 Title: postinst fails with: mysql_upgrade failed with exit status 11 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mysql-5.7/+bug/1584287/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs