package mysql-server-8.0 8.0.22-0ubuntu0.20.04.3 failed to install/upgrade: installed mysql-server-8.0 package post-installation script subprocess returned error exit status 1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mysql-8.0 (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Errors were encountered while processing:
mysql-server-8.0
mysql-server
Exception during pm.DoInstall(): E:Sub-process /usr/bin/dpkg returned an error code (1)
ProblemType: Package
DistroRelease: Ubuntu 20.04
Package: mysql-server-8.0 8.0.22-
ProcVersionSign
Uname: Linux 4.15.0-126-generic x86_64
ApportVersion: 2.20.11-
Architecture: amd64
CasperMD5CheckR
Date: Fri Dec 4 17:13:25 2020
ErrorMessage: installed mysql-server-8.0 package post-installation script subprocess returned error exit status 1
InstallationDate: Installed on 2013-07-15 (2698 days ago)
InstallationMedia: Ubuntu-Server 12.04.2 LTS "Precise Pangolin" - Release amd64 (20130214)
Logs.var.
MySQLConf.
[mysqld]
sql_mode=
MySQLConf.
MySQLConf.
[mysqld_safe]
syslog
MySQLConf.
[mysqldump]
quick
quote-names
max_allowed_packet = 16M
MySQLConf.
[mysqld_safe]
syslog
MySQLVarLibDirL
ProcCmdline: BOOT_IMAGE=
Python3Details: /usr/bin/python3.8, Python 3.8.5, python3-minimal, 3.8.2-0ubuntu2
PythonDetails: /usr/bin/python2.7, Python 2.7.18, python-is-python2, 2.7.17-4
RelatedPackageV
dpkg 1.19.7ubuntu3
apt 2.0.2ubuntu0.1
SourcePackage: mysql-8.0
Title: package mysql-server-8.0 8.0.22-
UpgradeStatus: Upgraded to focal on 2020-12-04 (0 days ago)
tags: | removed: need-duplicate-check |
From your logs: 04T16:13: 25.340543Z 0 [Warning] [MY-011068] [Server] The syntax 'expire-logs-days' is deprecated and will be removed in a future release. Please use binlog_ expire_ logs_seconds instead. 04T16:13: 25.340557Z 0 [ERROR] [MY-000077] [Server] /usr/sbin/mysqld: Error while setting value 'IGNORE_ SPACE,ERROR_ FOR_DIVISION_ BY_ZERO, NO_AUTO_ CREATE_ USER,NO_ ENGINE_ SUBSTITUTION' to 'sql_mode'. 04T16:13: 25.341653Z 0 [ERROR] [MY-010119] [Server] Aborting
ERROR: Unable to start MySQL server:
2020-12-
2020-12-
2020-12-
2020-12- 04T15:43: 02.089483Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_ defaults_ for_timestamp server option (see documentation for more details). 04T15:43: 02.089558Z 0 [Warning] 'NO_ZERO_DATE', 'NO_ZERO_IN_DATE' and 'ERROR_ FOR_DIVISION_ BY_ZERO' sql modes should be used with strict mode. They will be merged with strict mode in a future release.
2020-12-
All those things indicate a configuration which has to be adapted after the upgrade to a new major version. /bugs.launchpad .net/ubuntu/ +source/ mysql-8. 0/+bug/ 1864958
For sql-mode in particular I'd look at
https:/
Since you have NO_AUTO_CREATE_USER I'd assume it is the same case.