*** This bug is a duplicate of bug 1771630 ***
https://bugs.launchpad.net/bugs/1771630
** This bug has been marked a duplicate of bug 1771630
package mysql-server-5.7 (not installed) failed to install/upgrade:
installed mysql-server-5.7 package post-installation script subprocess returned
I'm getting this too. Google is ranking this search.
/usr/share/mysql-common contains only the "internal-use-only" directory.
We somehow had
http://mariadb.mirror.digitalpacific.com.au/repo/10.2/ubuntu xenial/main
amd64 as the source. (10.2.6+maria~xenial)
Commenting this out for "stock" 5.7.
Thank you for taking the time to report this bug and helping to make
Ubuntu better. Reviewing your dmesg attachment in this bug report it
seems that there is a problem with your hardware. I recommend
performing a back up and then investigating the situation. Measures you
might take include check