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

Bug #1800275 reported by MICHAEL HARBOUCHE
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
mysql-5.7 (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

Occured during ubutu 16.04.5 LTS install

Setting up mysql-server-5.7 (5.7.24-0ubuntu0.16.04.1) ...
Renaming removed key_buffer and myisam-recover options (if present)
ERROR: Unable to start MySQL server:
2018-10-27T09:39:34.293278Z 0 [ERROR] unknown variable 'log_slow_queries=/var/log/mysql/mysql-slow.log'
2018-10-27T09:39:34.298536Z 0 [ERROR] Aborting
Please take a look at https://wiki.debian.org/Teams/MySQL/FAQ for tips on fixing common upgrade issues.
Once the problem is resolved, run apt-get --fix-broken install to retry.
dpkg: error processing package mysql-server-5.7 (--configure):
 subprocess installed post-installation script returned error exit status 1
ERROR: Cannot create report: [Errno 17] File exists: '/var/crash/mysql-server-5.7.0.crash'
Exception during pm.DoInstall(): E:Sub-process /usr/bin/dpkg returned an error code (1)

ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: mysql-server-5.7 5.7.24-0ubuntu0.16.04.1
ProcVersionSignature: Ubuntu 3.13.0-55.94-generic 3.13.11-ckt20
Uname: Linux 3.13.0-55-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.18
Architecture: amd64
Date: Sat Oct 27 11:28:20 2018
ErrorMessage: subprocess installed post-installation script returned error exit status 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: ['performance_schema', 'ib_logfile0', 'ib_logfile1', 'hbi_tmpwork_dm', 'chart_analysis', 'si_pige_immo_cp', 'si_pige_immo', 'hbi_dm1', 'reqbo_tmpwork', 'hbi_src', 'hbi_src_tpl', 'si_frm', 'debian-5.5.flag', 'tmpwork_sipi', 'hbi_tmpwork', 'tmpwork', 'ibdata1', 'hbi_acp_cepidc_llc', 'bkp_pige_immo', 'mysql_upgrade_info', 'hbi_tmpwork_acp', 'mysql', 'hbi_publi_llc2', 'sipi_tmpwork']
ProcCmdline: BOOT_IMAGE=/boot/vmlinuz-3.13.0-55-generic root=UUID=ffa27525-e03c-46b6-9fdf-56f7ef6b5825 ro console=tty1 console=ttyS0
RelatedPackageVersions:
 dpkg 1.18.4ubuntu1.4
 apt 1.2.29
SourcePackage: mysql-5.7
Title: package mysql-server-5.7 5.7.24-0ubuntu0.16.04.1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
UpgradeStatus: Upgraded to xenial on 2018-10-27 (0 days ago)

Revision history for this message
MICHAEL HARBOUCHE (michaelharbouche) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Joshua Powers (powersj) wrote :

From terminal log:

2018-10-27T09:28:20.550355Z 0 [ERROR] unknown variable 'log_slow_queries=/var/log/mysql/mysql-slow.log'

Revision history for this message
Joshua Powers (powersj) wrote :

The log_slow_queries should be slow_query_log

Marking this incomplete as it is not a bug in Ubuntu.

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