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

Bug #1687193 reported by José Manuel Ferrer
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
mysql-5.7 (Ubuntu)
New
Undecided
Unassigned

Bug Description

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

Revision history for this message
José Manuel Ferrer (jmfo1982) wrote :
Revision history for this message
Joshua Powers (powersj) wrote :

Thanks for the bug report. As you noticed this is happening with each upgrade and I this has been seen by many other people. LP: #1592669 is attempting to track this and resolve it, as such I am going to dup this bug with that one.

If you disagree feel free to say so, but I think it is the same issue.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.