According to the logs you have mysql-common 10.1.32+maria-1~xenial installed. This version is from an external source: it has never shipped with Ubuntu. The subsequent maintainer script failure is a consequence of this.
As this isn't caused by any bug in Ubuntu itself, I'm marking this bug as Invalid. You can find pointers to get help for this sort of problem here: http://www.ubuntu.com/support/community ** Changed in: mysql-5.7 (Ubuntu) Status: Incomplete => Invalid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1771630 Title: package mysql-server-5.7 (not installed) failed to install/upgrade: installed mysql-server-5.7 package post-installation script subprocess returned error exit status 127 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mysql-5.7/+bug/1771630/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
