package mysql-server-5.7 5.7.16-0ubuntu0.16.04.1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mysql-5.7 (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
Impossible to upgrade MySQL when upgrading from Ubuntu 15.10 to 16.04.
Furthermore MySQL is broken now.
ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: mysql-server-5.7 5.7.16-
ProcVersionSign
Uname: Linux 4.2.0-42-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.4
Architecture: amd64
Date: Thu Jan 5 16:20:03 2017
ErrorMessage: subprocess installed post-installation script returned error exit status 1
Logs.var.
MySQLConf.
MySQLConf.
[mysqldump]
quick
quote-names
max_allowed_packet = 16M
MySQLConf.
[mysqld_safe]
syslog
MySQLVarLibDirL
ProcCmdline: BOOT_IMAGE=
RelatedPackageV
dpkg 1.18.4ubuntu1.1
apt 1.2.15ubuntu0.2
SourcePackage: mysql-5.7
Title: package mysql-server-5.7 5.7.16-
UpgradeStatus: Upgraded to xenial on 2017-01-05 (0 days ago)
modified.
mtime.conffile.
Thank you for your report.
From the log: queries= /var/log/ mysql/mysql- slow.log'
2017-01-05 09:34:00 57613 [ERROR] /usr/sbin/mysqld: unknown variable 'log_slow_
This is a config that the newer server doesn't understand anymore. dev.mysql. com/doc/ refman/ 5.7/en/ server- options. html#option_ mysqld_ log-slow- queries
Deprecated in 5.1 IIRC http://
But it just has a new name.
You'd have to adapt your config and retry.
This looks like a local configuration problem, rather than a bug in Ubuntu.
You can find pointers to get help for this sort of problem here: http:// www.ubuntu. com/support/ community
Since we use this bug tracker to track bugs in Ubuntu, rather than configuration problems, I'm marking this bug as Invalid. This helps us to focus on fixing bugs in Ubuntu.
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.