package mysql-server-8.0 8.0.23-0ubuntu0.20.04.1 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) |
Incomplete
|
Undecided
|
Unassigned |
Bug Description
update
ProblemType: Package
DistroRelease: Ubuntu 20.04
Package: mysql-server-8.0 8.0.23-
ProcVersionSign
Uname: Linux 5.4.0-65-generic x86_64
ApportVersion: 2.20.11-
Architecture: amd64
CasperMD5CheckR
Date: Mon Feb 1 18:46:50 2021
DpkgHistoryLog:
Start-Date: 2021-02-01 18:34:05
Commandline: apt-get dist-upgrade
Requested-By: defensor (1000)
Upgrade: mysql-client-
ErrorMessage: installed mysql-server-8.0 package post-installation script subprocess returned error exit status 1
InstallationDate: Installed on 2020-03-28 (311 days ago)
InstallationMedia: Ubuntu 18.04.4 LTS "Bionic Beaver" - Release amd64 (20200203.1)
Logs.var.
MySQLConf.
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.4
SourcePackage: mysql-8.0
Title: package mysql-server-8.0 8.0.23-
UpgradeStatus: No upgrade log present (probably fresh install)
== Error Log ==
2021-02-
2021-02-
Thank you for taking the time to file a bug report.
Unfortunately, I am unable to reproduce it locally using a Focal container with the latest MySQL package installed. I could not find anything particularly wrong in your configuration files either, and, although your Logs.var. log.mysql. error.log. txt contains a few errors, they are not responsible for the problem you are experiencing.
We do have similar bugs reported against MySQL which contain a similar pattern found in your logs:
2021-02- 02T00:38: 01.105311Z 4 [System] [MY-013381] [Server] Server upgrade from '80022' to '80023' started. 02T00:45: 15.751998Z 4 [System] [MY-013381] [Server] Server upgrade from '80022' to '80023' completed.
2021-02-
The "Server upgrade" step is taking almost 8 minutes to complete, which can cause a problem with systemd's timeout (IIRC, it's set to 5 minutes by default). I'm not sure that you are experiencing same problem, though.
I would like to request a bit more information from you before we can proceed from the investigation. Could you post the contents of:
$ journalctl -u mysql.service
please? This will probably contain systemd-specific messages that might help us diagnose what's going on.
Since there is not enough information in your report to begin triage or to
differentiate between a local configuration problem and a bug in Ubuntu, I
am marking this bug as "Incomplete". We would be grateful if you would:
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".
For local configuration issues, you can find assistance here: www.ubuntu. com/support/ community
http://