package mysql-server-5.7 5.7.18-0ubuntu0.16.10.1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1. Occured during "sudo do-release-upgrade -d" when upgrading from 16.10 to current version (17.04)

Bug #1690745 reported by Jakub Sawczuk
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
mysql-5.7 (Ubuntu)
New
Undecided
Unassigned

Bug Description

package mysql-server-5.7 5.7.18-0ubuntu0.16.10.1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1. Occured during "sudo do-release-upgrade -d" when upgrading from 16.10 to current version (17.04)

MariaDB was installed and removed from the system, then MySQL installed and was working properly.

ProblemType: Package
DistroRelease: Ubuntu 16.10
Package: mysql-server-5.7 5.7.18-0ubuntu0.16.10.1
ProcVersionSignature: Ubuntu 4.8.0-51.54-generic 4.8.17
Uname: Linux 4.8.0-51-generic x86_64
ApportVersion: 2.20.3-0ubuntu8.2
Architecture: amd64
Date: Mon May 15 09:17:54 2017
ErrorMessage: subprocess installed post-installation script returned error exit status 1
InstallationDate: Installed on 2017-03-08 (67 days ago)
InstallationMedia: Ubuntu 16.04.2 LTS "Xenial Xerus" - Release amd64 (20170215.2)
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', 'ib_logfile0', 'crm1', 'ibtmp1', 'ibdata1', 'aff', 'crm2', 'ib_buffer_pool', 'tests', 'auto.cnf', 'ib_logfile1', 'sys', 'performance_schema', 'debian-5.7.flag']
ProcCmdline: BOOT_IMAGE=/boot/vmlinuz-4.8.0-51-generic root=UUID=0bacaca1-8728-412b-a202-4e20c189041c ro quiet splash
RelatedPackageVersions:
 dpkg 1.18.10ubuntu1.1
 apt 1.3.5
SourcePackage: mysql-5.7
Title: package mysql-server-5.7 5.7.18-0ubuntu0.16.10.1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
UpgradeStatus: Upgraded to yakkety on 2017-05-15 (0 days ago)

Revision history for this message
Jakub Sawczuk (jakubsawczuk) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Joshua Powers (powersj) wrote :

From log:

mysql_upgrade: Got error: 2002: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) while connecting to the MySQL server
Upgrade process encountered error and will not continue.
mysql_upgrade failed with exit status 11

Revision history for this message
Joshua Powers (powersj) wrote :

Hi,

Thanks for the bug report. I believe this to be a duplicate of LP: #1670629. If you disagree or have additional information that shows otherwise please add it here for consideration. Thanks again.

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.