Public bug reported: It fails on each new version, on the configure step, and the cause seems to be because I changed the settings of the service so it doesn't start on boot by default. The configure script tries to connect to the database in order to check something, and it always fails, no matter if the service was running before configuring or not (if it was running, it stops it and doesn't run it again before the check, or at least it doesn't succeed in launching the service before that check).
ProblemType: Package DistroRelease: Ubuntu 16.04 Package: mysql-server-5.7 5.7.17-0ubuntu0.16.04.2 ProcVersionSignature: Ubuntu 4.4.0-75.96-generic 4.4.59 Uname: Linux 4.4.0-75-generic i686 NonfreeKernelModules: nvidia_drm nvidia_modeset nvidia ApportVersion: 2.20.1-0ubuntu2.5 Architecture: i386 Date: Sat Apr 29 13:30:36 2017 ErrorMessage: subprocess new pre-installation script returned error exit status 1 InstallationDate: Installed on 2015-08-05 (632 days ago) InstallationMedia: Lubuntu 15.04 "Vivid Vervet" - Release i386 (20150422) 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: ['auto.cnf', 'nubelist', 'nubelist_old', 'ibtmp1', 'viventia', 'mysql', 'sys', 'mysql_upgrade_info', 'ib_buffer_pool', 'debian-5.7.flag', 'ib_logfile1', 'performance_schema', 'padel', 'ib_logfile0', 'generador', 'debian-5.6.flag', 'ibdata1'] ProcCmdline: BOOT_IMAGE=/boot/vmlinuz-4.4.0-75-generic root=UUID=a77d1115-b8d2-4952-a6c1-169501e32026 ro quiet splash RelatedPackageVersions: dpkg 1.18.4ubuntu1.2 apt 1.2.20 SourcePackage: mysql-5.7 Title: package mysql-server-5.7 5.7.17-0ubuntu0.16.04.2 failed to install/upgrade: subprocess new pre-installation script returned error exit status 1 UpgradeStatus: Upgraded to xenial on 2016-04-22 (371 days ago) modified.conffile..etc.mysql.mysql.cnf: [modified] mtime.conffile..etc.mysql.mysql.cnf: 2015-11-19T23:33:02.457188 upstart.mysql.override: manual ** Affects: mysql-5.7 (Ubuntu) Importance: Undecided Status: New ** Tags: apparmor apport-package i386 need-duplicate-check third-party-packages xenial -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1687193 Title: package mysql-server-5.7 5.7.17-0ubuntu0.16.04.2 failed to upgrade: subprocess new pre-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/1687193/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs