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

Bug #1702074 reported by sambo63
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
mysql-5.7 (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

Failed to configure server after it was installed. Said I had changed the config file but do not know what changed and when this happened.

ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: mysql-server-5.7 5.7.18-0ubuntu0.16.04.1
ProcVersionSignature: Ubuntu 4.4.0-83.106-generic 4.4.70
Uname: Linux 4.4.0-83-generic i686
NonfreeKernelModules: nvidia_uvm nvidia
ApportVersion: 2.20.1-0ubuntu2.8
Architecture: i386
Date: Mon Jul 3 22:00:20 2017
DpkgHistoryLog:
 Start-Date: 2017-07-03 21:59:21
 Commandline: /usr/sbin/synaptic
 Requested-By: stanman7 (1000)
 Install: kdbg:i386 (2.5.4-1), nemiver:i386 (0.9.6-1build2), libgtksourceviewmm-3.0-0v5:i386 (3.18.0-1, automatic)
ErrorMessage: subprocess installed post-installation script returned error exit status 1
InstallationDate: Installed on 2013-11-12 (1329 days ago)
InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Release i386 (20131016.1)
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: ['ibdata1', 'test', 'ib_logfile0', 'cake_schema', 'sys', 'debian-5.7.flag', 'performance_schema', 'ib_buffer_pool', 'mysql', 'auto.cnf', 'debian-5.5.flag', 'mysql_upgrade_info', 'cake_blog', 'ib_logfile1']
ProcCmdline: BOOT_IMAGE=/boot/vmlinuz-4.4.0-83-generic root=UUID=494a45c6-d555-48f1-a9d2-01d5264e5b52 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.18-0ubuntu0.16.04.1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
UpgradeStatus: No upgrade log present (probably fresh install)
modified.conffile..etc.init.mysql.conf: [modified]
mtime.conffile..etc.init.mysql.conf: 2017-04-03T00:59:08.734247
upstart.mysql.override: manual

Revision history for this message
sambo63 (ridge1234-au) wrote :
Revision history for this message
Andreas Hasenack (ahasenack) wrote :

Thanks for filing this bug in Ubuntu.

Unfortunately it's unclear from the logs why mysql wasn't running.

Could you try the following command and see if the error happens again, and then one more time attach /var/log/mysql/* please?

sudo apt update
sudo apt install --reinstall mysql-server-5.7

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.