package mysql-server-8.0 8.0.29-0ubuntu0.22.04.2 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
Warning: Unable to start the server.
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 (/lib/systemd/
Active: activating (auto-restart) (Result: exit-code) since Mon 2022-06-13 20:36:35 -03; 6ms ago
Process: 139215 ExecStartPre=
Process: 139223 ExecStart=
Main PID: 139223 (code=exited, status=1/FAILURE)
Status: "Server startup in progress"
Error: 22 (Invalid argument)
CPU: 339ms
dpkg: error processing package mysql-server-8.0 (--configure):
installed mysql-server-8.0 package post-installation script subprocess returned error exit status 1
Setting up zlib1g-dev:amd64 (1:1.2.
Setting up libmysqlclient-dev (8.0.29-
dpkg: dependency problems prevent configuration of mysql-server:
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
No apport report written because the error message indicates its a followup error from a previous failure.
Processing triggers for libc-bin (2.35-0ubuntu3) ...
Errors were encountered while processing:
mysql-server-8.0
mysql-server
E: Sub-process /usr/bin/dpkg returned an error code (1)
ProblemType: Package
DistroRelease: Ubuntu 22.04
Package: mysql-server-8.0 8.0.29-
ProcVersionSign
Uname: Linux 5.15.0-37-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.11-0ubuntu82.1
Architecture: amd64
CasperMD5CheckR
Date: Mon Jun 13 20:36:35 2022
ErrorMessage: installed mysql-server-8.0 package post-installation script subprocess returned error exit status 1
InstallationDate: Installed on 2022-06-13 (0 days ago)
InstallationMedia: Ubuntu 22.04 LTS "Jammy Jellyfish" - Release amd64 (20220419)
Logs.var.
MySQLConf.
MySQLConf.
[mysqldump]
quick
quote-names
max_allowed_packet = 16M
MySQLConf.
MySQLVarLibDirL
ProcCmdline: BOOT_IMAGE=
Python3Details: /usr/bin/
PythonDetails: N/A
RelatedPackageV
dpkg 1.21.1ubuntu2.1
apt 2.4.5
SourcePackage: mysql-8.0
Title: package mysql-server-8.0 8.0.29-
UpgradeStatus: No upgrade log present (probably fresh install)
Hello,
Thank you for submitting this report. I see you are using zfs and from your error.log file I see:
[ERROR] [MY-012963] [InnoDB] Log file ./ib_logfile1 is of different size 0 bytes than other log files 18874368 bytes!
This matches an existing bug with zfs in Ubuntu 22.04 where fallocate fails to create a properly sized file, with a fix that will be released soon. I'll mark this as a duplicate of the existing bug.
Thanks!