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

Bug #1654815 reported by datakid
44
This bug affects 9 people
Affects Status Importance Assigned to Milestone
mysql-5.7 (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

I am running the update from 16.04 to 16.10.

ProblemType: Package
DistroRelease: Ubuntu 16.10
Package: mysql-server-5.7 5.7.16-0ubuntu0.16.10.1
ProcVersionSignature: Ubuntu 4.4.0-58.79-generic 4.4.35
Uname: Linux 4.4.0-58-generic x86_64
NonfreeKernelModules: wl
ApportVersion: 2.20.3-0ubuntu8.2
Architecture: amd64
Date: Sun Jan 8 17:06:37 2017
ErrorMessage: subprocess installed post-installation script returned error exit status 1
InstallationDate: Installed on 2014-10-14 (816 days ago)
InstallationMedia: Ubuntu 14.04.1 LTS "Trusty Tahr" - Release amd64 (20140722.2)
Logs.var.log.daemon.log:

MySQLConf.etc.mysql.conf.d.mysql.cnf: [mysql]
MySQLConf.etc.mysql.conf.d.mysqld_safe_syslog.cnf:
 [mysqld_safe]
 syslog
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: ['performance_schema', 'austlit', 'ib_logfile1', 'auto.cnf', 'mysql_upgrade_info', 'mysql', 'rmh', 'debian-5.7.flag', 'phpmyadmin', 'sys', 'text_md', 'amyspiers_com_au', 'ib_logfile0', 'ibdata1', 'debian-5.5.flag', 'ib_buffer_pool']
ProcCmdline: BOOT_IMAGE=/vmlinuz-4.4.0-58-generic root=/dev/mapper/ubuntu--vg-root ro cgroup_enable=memory swapaccount=1 pcie_aspm=force i915.i915_enable_rc6=1 i915.i915_enable_fbc=1 i915.lvds_downclock=1 acpi_backlight=vendor
RelatedPackageVersions:
 dpkg 1.18.10ubuntu1
 apt 1.3.3
SourcePackage: mysql-5.7
Title: package mysql-server-5.7 5.7.16-0ubuntu0.16.10.1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
UpgradeStatus: Upgraded to yakkety on 2017-01-08 (0 days ago)
upstart.mysql.override: manual

Revision history for this message
datakid (datakid) wrote :
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 :

Thank you for taking the time to report this bug and helping to make Ubuntu better.

Since it seems likely to me that this is a local configuration problem, rather than a bug in Ubuntu, I'm marking this bug as 'Incomplete'. Are you sure mysql is even running? Or if it can even run in the first place?

If indeed this is a local configuration problem, you can find pointers to get help for this sort of problem here: http://www.ubuntu.com/support/community

Or if you believe that this is really a bug, then you may find it helpful to read "How to report bugs effectively" http://www.chiark.greenend.org.uk/~sgtatham/bugs.html. We'd be grateful if you would then provide a more complete description of the problem, explain why you believe this is a bug in Ubuntu rather than a problem specific to your system, and then change the bug status back to New.

Changed in mysql-5.7 (Ubuntu):
status: New → Incomplete
tags: removed: need-duplicate-check
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for mysql-5.7 (Ubuntu) because there has been no activity for 60 days.]

Changed in mysql-5.7 (Ubuntu):
status: Incomplete → Expired
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.