package mysql-server-8.0 8.0.37-0ubuntu0.24.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) |
New
|
Undecided
|
Unassigned |
Bug Description
Created symlink /etc/systemd/
Job for mysql.service failed because the control process exited with error code.
See "systemctl status mysql.service" and "journalctl -xeu mysql.service" for details.
invoke-rc.d: initscript mysql, action "start" failed.
● mysql.service - MySQL Community Server
Loaded: loaded (/usr/lib/
Active: activating (auto-restart) (Result: exit-code) since Sat 2024-07-27 17:10:16 BST; 6ms ago
Process: 12460 ExecStartPre=
Process: 12469 ExecStart=
Main PID: 12469 (code=exited, status=1/FAILURE)
Status: "Server shutdown complete"
Error: 98 (Address already in use)
CPU: 665ms
dpkg: error processing package mysql-server-8.0 (--configure):
installed mysql-server-8.0 package post-installation script subprocess returned error exit status 1
No apport report written because the error message indicates its a followup error from a previous failure.
mysql-server depends on mysql-server-8.0; however:
Package mysql-server-8.0 is not configured yet.
dpkg: error processing package mysql-server (--configure):
dependency problems - leaving unconfigured
Processing triggers for man-db (2.12.0-4build2) ...
Processing triggers for libc-bin (2.39-0ubuntu8.2) ...
Errors were encountered while processing:
mysql-server-8.0
mysql-server
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@dave-
Job for mysql.service failed because the control process exited with error code.
See "systemctl status mysql.service" and "journalctl -xeu mysql.service" for details.
ProblemType: Package
DistroRelease: Ubuntu 24.04
Package: mysql-server-8.0 8.0.37-
ProcVersionSign
Uname: Linux 6.8.0-39-generic x86_64
ApportVersion: 2.28.1-0ubuntu3
Architecture: amd64
CasperMD5CheckR
Date: Sat Jul 27 17:10:16 2024
ErrorMessage: installed mysql-server-8.0 package post-installation script subprocess returned error exit status 1
InstallationDate: Installed on 2024-07-26 (1 days ago)
InstallationMedia: Ubuntu 24.04 LTS "Noble Numbat" - Release amd64 (20240424)
Logs.var.
MySQLConf.
MySQLConf.
[mysqldump]
quick
quote-names
max_allowed_packet = 16M
MySQLConf.
MySQLConf.
[mysqld]
skip-grant-
ProcCmdline: BOOT_IMAGE=
Python3Details: /usr/bin/
PythonDetails: N/A
RelatedPackageV
dpkg 1.22.6ubuntu6
apt 2.7.14build2
SourcePackage: mysql-8.0
Title: package mysql-server-8.0 8.0.37-
UpgradeStatus: No upgrade log present (probably fresh install)
tags: | removed: need-duplicate-check |