package mysql-server-5.7 5.7.17-0ubuntu0.16.04.2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

Bug #1680747 reported by Ali SH
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
mysql-5.7 (Ubuntu)
Confirmed
High
Unassigned

Bug Description

Im not an expert so i don't know technical information.i was trying to upgrade mysql with update manager and it failed in installation or post installation.
ubuntu version : Ubuntu 16.04.2 LTS
package : mysql 5.7 5.7 17-ubuntu...

ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: mysql-server-5.7 5.7.17-0ubuntu0.16.04.2
ProcVersionSignature: Ubuntu 4.8.0-46.49~16.04.1-generic 4.8.17
Uname: Linux 4.8.0-46-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.5
Architecture: amd64
Date: Fri Apr 7 12:55:48 2017
ErrorMessage: subprocess installed post-installation script returned error exit status 1
InstallationDate: Installed on 2017-02-20 (45 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: ['sys', 'django_tutorial', 'ib_logfile1', 'mysql', 'auto.cnf', 'ibdata1', 'performance_schema', 'ib_logfile0', 'ib_buffer_pool', 'phpmyadmin', 'debian-5.7.flag', 'eghtesad_dan', 'ghresume_bot']
ProcCmdline: BOOT_IMAGE=/boot/vmlinuz-4.8.0-46-generic root=UUID=8c7347d4-6f59-4c4c-8bd1-8d2b14771ada ro quiet splash vt.handoff=7
RelatedPackageVersions:
 dpkg 1.18.4ubuntu1.1
 apt 1.2.19
SourcePackage: mysql-5.7
Title: package mysql-server-5.7 5.7.17-0ubuntu0.16.04.2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
UpgradeStatus: No upgrade log present (probably fresh install)
upstart.mysql.override: manual

Revision history for this message
Ali SH (ashmadl) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in mysql-5.7 (Ubuntu):
status: New → Confirmed
Changed in mysql-5.7 (Ubuntu):
importance: Undecided → High
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

Based on this I am going to dup this with: LP: #1592669 if you disagree please feel free to include additional information.

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.