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
mysql.service - MySQL Community Server
Loaded: loaded (/lib/systemd/
Active: activating (auto-restart) (Result: exit-code) since Mon 2022-07-04 10:31:45 IST; 10ms ago
Process: 18614 ExecStartPre=
Process: 18622 ExecStart=
Main PID: 18622 (code=exited, status=1/FAILURE)
Status: "Server startup in progress"
Error: 22 (Invalid argument)
CPU: 422ms
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.
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
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-39-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.11-0ubuntu82.1
Architecture: amd64
CasperMD5CheckR
Date: Mon Jul 4 10:21:16 2022
ErrorMessage: installed mysql-server-8.0 package post-installation script subprocess returned error exit status 1
InstallationDate: Installed on 2022-06-17 (16 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,
From your error log I see: 04T04:51: 15.536951Z 1 [ERROR] [MY-012963] [InnoDB] Log file ./ib_logfile1 is of different size 0 bytes than other log files 18874368 bytes!
2022-07-
This is due to an issue with zfs that will be fixed in the upcoming kernel update. I will mark this bug as a duplicate of that issue for further reference.
Thanks!