Public bug reported: If you disabled the service to start during boot using systemd:
systemctl disable mysql The upgrade script does not work even if mysql is started manually. ProblemType: Package DistroRelease: Ubuntu 16.04 Package: mysql-server-5.7 5.7.12-0ubuntu1.1 Uname: Linux 4.6.2-pcipatch3-i7 x86_64 ApportVersion: 2.20.1-0ubuntu2.1 Architecture: amd64 Date: Wed Jun 22 16:31:02 2016 ErrorMessage: subprocess installed post-installation script returned error exit status 1 InstallationDate: Installed on 2016-05-26 (27 days ago) InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Release amd64 (20160420.1) Logs.var.log.daemon.log: MySQLConf.etc.mysql.conf.d.mysql.cnf: [mysql] MySQLConf.etc.mysql.conf.d.mysqldump.cnf: [mysqldump] quick quote-names max_allowed_packet = 16M MySQLConf.etc.mysql.mysql.conf.d.mysqld_safe_syslog.cnf: [mysqld_safe] syslog MySQLVarLibDirListing: ['sys', 'auto.cnf', 'ib_logfile0', 'ib_buffer_pool', 'ib_logfile1', 'debian-5.7.flag', 'ibdata1', 'mysql', 'performance_schema', 'vulns', 'ibtmp1', 'phpmyadmin'] ProcCmdline: BOOT_IMAGE=/vmlinuz-4.6.2-pcipatch3-i7 root=/dev/mapper/ubuntu--vg-root ro quiet splash vt.handoff=7 RelatedPackageVersions: dpkg 1.18.4ubuntu1.1 apt 1.2.12~ubuntu16.04.1 SourcePackage: mysql-5.7 Title: package mysql-server-5.7 5.7.12-0ubuntu1.1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1 UpgradeStatus: No upgrade log present (probably fresh install) modified.conffile..etc.mysql.mysql.conf.d.mysqld.cnf: [modified] mtime.conffile..etc.mysql.mysql.conf.d.mysqld.cnf: 2016-06-16T12:13:40.984718 upstart.mysql.override: manual ** Affects: mysql-5.7 (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-package need-duplicate-check xenial -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1595208 Title: package mysql-server-5.7 5.7.12-0ubuntu1.1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mysql-5.7/+bug/1595208/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs