Thanks for filing this bug in Ubuntu. No idea what happened: 2018-08-25T04:40:38.044455Z 4 [ERROR] InnoDB: Operating system error number 17 in a file operation. 2018-08-25T04:40:38.044493Z 4 [ERROR] InnoDB: Error number 17 means 'File exists' 2018-08-25T04:40:38.044505Z 4 [Note] InnoDB: Some operating system error numbers are described at http://dev.mysql.com/doc/refman/5.7/en/operating-system-error-codes.html 2018-08-25T04:40:38.044515Z 4 [ERROR] InnoDB: Cannot create file './mysql/innodb_table_stats.ibd' 2018-08-25T04:40:38.044525Z 4 [ERROR] InnoDB: The file './mysql/innodb_table_stats.ibd' already exists though the corresponding table did not exist in the InnoDB data dictionary. Have you moved InnoDB .ibd files around without using the SQL commands DISCARD TABLESPACE and IMPORT TABLESPACE, or did mysqld crash in the middle of CREATE TABLE? You can resolve the problem by removing the file './mysql/innodb_table_stats.ibd' under the 'datadir' of MySQL. 2018-08-25T04:41:14.564124Z 6 [ERROR] InnoDB: Table `mysql`.`innodb_table_stats` not found. 2018-08-25T04:41:14.564157Z 6 [ERROR] InnoDB: Fetch of persistent statistics requested for table `badincdailylogs2018`.`important_info` but the required system tables mysql.innodb_table_stats and mysql.innodb_index_stats are not present or have unexpected structure. Using transient stats instead. 2018-08-25T04:46:12.616491Z 61 [ERROR] InnoDB: Table `mysql`.`innodb_table_stats` not found. 2018-08-25T04:46:12.616538Z 61 [ERROR] InnoDB: Fetch of persistent statistics requested for table `blueclub-insight`.`tbl_admin_user` but the required system tables mysql.innodb_table_stats and mysql.innodb_index_stats are not present or have unexpected structure. Using transient stats instead. 2018-08-25T04:46:12.631123Z 61 [ERROR] InnoDB: Table `mysql`.`innodb_table_stats` not found. 2018-08-25T04:46:12.631159Z 61 [ERROR] InnoDB: Fetch of persistent statistics requested for table `blueclub-insight`.`tbl_log_admin` but the required system tables mysql.innodb_table_stats and mysql.innodb_index_stats are not present or have unexpected structure. Using transient stats instead.
Maybe different directories were specified, and that broke the mysql upgrade script? ** Changed in: mysql-5.7 (Ubuntu) Status: New => Incomplete -- You received this bug notification because you are a member of Ubuntu Server, which is subscribed to mysql-5.7 in Ubuntu. Matching subscriptions: main https://bugs.launchpad.net/bugs/1788983 Title: package mysql-server-5.7 5.7.23-0ubuntu0.16.04.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/1788983/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs