Public bug reported: This started to happen after xenity upgrade (I guess) My MySql data folder is different to "\var\lib\mysql" So after each mysql upgrade, apt gives me an error. after that I set "datadir" of mysql to "\var\lib\mysql" than I complete mysql upgrade. than I stop mysql service than I change "datadir" to normal value and last, I start the mysql service. . After this procedure, apt function completes the upgrade procedure.
ProblemType: Package DistroRelease: Ubuntu 16.10 Package: mysql-server-5.7 5.7.15-0ubuntu2 ProcVersionSignature: Ubuntu 4.8.0-22.24-generic 4.8.0 Uname: Linux 4.8.0-22-generic x86_64 ApportVersion: 2.20.3-0ubuntu8 Architecture: amd64 Date: Fri Oct 14 08:51:14 2016 ErrorMessage: subprocess installed post-installation script returned error exit status 1 InstallationDate: Installed on 2016-02-24 (232 days ago) InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Alpha amd64 (20160224) 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: ['mysql_upgrade_info', 'ib_logfile0', 'mysql', 'ib_buffer_pool', 'auto.cnf', 'performance_schema', 'debian-5.7.flag', 'sys', 'ibdata1', 'ib_logfile1'] ProcCmdline: BOOT_IMAGE=/boot/vmlinuz-4.8.0-22-generic root=UUID=f57f2a94-225d-470e-b0a0-f4b2d63b8aca ro quiet splash quiet splash modprobe radeon.modeset=1 vt.handoff=7 RelatedPackageVersions: dpkg 1.18.10ubuntu1 apt 1.3.1 SourcePackage: mysql-5.7 Title: package mysql-server-5.7 5.7.15-0ubuntu2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1 UpgradeStatus: Upgraded to yakkety on 2016-10-14 (0 days ago) modified.conffile..etc.mysql.mysql.conf.d.mysqld.cnf: [modified] mtime.conffile..etc.mysql.mysql.conf.d.mysqld.cnf: 2016-10-14T09:06:23.247145 ** Affects: mysql-5.7 (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-package yakkety -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1633340 Title: package mysql-server-5.7 5.7.15-0ubuntu2 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/1633340/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs