package mysql-server-5.7 5.7.31-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
Trying to do an upgrade of my 14 system using sudo apt-get dist-upgrade
ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: mysql-server-5.7 5.7.31-
ProcVersionSign
Uname: Linux 3.13.0-182-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.25
Architecture: amd64
Date: Sun Oct 25 10:13:26 2020
ErrorMessage: subprocess installed post-installation script returned error exit status 1
InstallationDate: Installed on 2014-04-18 (2381 days ago)
InstallationMedia:
Logs.var.
MySQLConf.
MySQLConf.
[mysqld_safe]
syslog
MySQLConf.
[mysqld]
log_slow_queries = /var/log/
long_query_time = 0.1
#log-queries-
MySQLConf.
[mysqldump]
quick
quote-names
max_allowed_packet = 16M
MySQLConf.
[mysqld_safe]
syslog
MySQLVarLibDirL
ProcCmdline: BOOT_IMAGE=
RelatedPackageV
dpkg 1.18.4ubuntu1.6
apt 1.2.32ubuntu0.1
SourcePackage: mysql-5.7
Title: package mysql-server-5.7 5.7.31-
UpgradeStatus: Upgraded to xenial on 2020-10-25 (0 days ago)
tags: | removed: need-duplicate-check |
From your log:
ERROR: Unable to start MySQL server: 25T14:13: 25.927849Z 0 [ERROR] unknown variable 'log_slow_ queries= /var/log/ mysql/mysql- slow.log' 25T14:13: 25.932353Z 0 [ERROR] Aborting /wiki.debian. org/Teams/ MySQL/FAQ for tips on fixing common upgrade issues.
2020-10-
2020-10-
Please take a look at https:/
This is a confirugation error that the newer version doesn't support anymore. /stackoverflow. com/questions/ 20136926/ why-does- log-slow- queries- break-my- cnf
Answered plenty of times on the internet like (my first find) https:/