package mysql-server-8.0 8.0.36-0ubuntu0.22.04.1 failed to install/upgrade: installed mysql-server-8.0 package post-installation script subprocess returned error exit status 1

Bug #2060016 reported by Farhat Ullah
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
mysql-8.0 (Ubuntu)
New
Undecided
Unassigned

Bug Description

I received this error when tried to installed my-sql
 "dpkg: error processing package mysql-server (--configure):
 dependency problems - leaving unconfigured
Processing triggers for man-db (2.10.2-1) ...
No apport report written because the error message indicates its a followup erro
r from a previous failure.
                          Processing triggers for libc-bin (2.35-0ubuntu3.6) ...
Errors were encountered while processing:
 mysql-server-8.0
 mysql-server
E: Sub-process /usr/bin/dpkg returned an error code (1)
"

and through this command i tried to install my-SQL
"sudo apt install mysql-server
"

ProblemType: Package
DistroRelease: Ubuntu 22.04
Package: mysql-server-8.0 8.0.36-0ubuntu0.22.04.1
ProcVersionSignature: Ubuntu 6.5.0-26.26~22.04.1-generic 6.5.13
Uname: Linux 6.5.0-26-generic x86_64
ApportVersion: 2.20.11-0ubuntu82.5
Architecture: amd64
CasperMD5CheckMismatches: ./pool/main/l/linux-hwe-6.5/linux-modules-iwlwifi-6.5.0-18-generic_6.5.0-18.18~22.04.1_amd64.deb ./pool/main/l/llvm-toolchain-15/libllvm15_1%3a15.0.7-0ubuntu0.22.04.3_i386.deb ./pool/main/m/manpages/manpages-dev_5.10-1ubuntu1_all.deb ./pool/main/g/gcc-11/gcc-11_11.4.0-1ubuntu1~22.04_amd64.deb ./pool/main/o/openssl/libssl3_3.0.2-0ubuntu1.14_i386.deb ./pool/main/b/binutils/binutils-x86-64-linux-gnu_2.38-4ubuntu2.5_amd64.deb
CasperMD5CheckResult: fail
Date: Tue Apr 2 13:11:11 2024
ErrorMessage: installed mysql-server-8.0 package post-installation script subprocess returned error exit status 1
InstallationDate: Installed on 2024-03-25 (7 days ago)
InstallationMedia: Ubuntu 22.04.4 LTS "Jammy Jellyfish" - Release amd64 (20240220)
Logs.var.log.daemon.log:

MySQLConf.etc.mysql.conf.d.mysql.cnf: [mysql]
MySQLConf.etc.mysql.conf.d.mysqldump.cnf:
 [mysqldump]
 quick
 quote-names
 max_allowed_packet = 16M
MySQLConf.etc.mysql.my.cnf: my.cnf links to /etc/mysql/mysql.cnf
MySQLVarLibDirListing: ['mysql', 'undo_001', 'auto.cnf', 'ib_buffer_pool', 'server-key.pem', 'ibdata1', 'binlog.000002', '#ib_16384_0.dblwr', 'public_key.pem', 'binlog.index', 'ca.pem', 'debian-5.7.flag', 'undo_002', '#ib_16384_1.dblwr', 'mysql.ibd', 'performance_schema', 'private_key.pem', 'client-key.pem', 'sys', '#innodb_redo', 'client-cert.pem', 'server-cert.pem', 'ca-key.pem', '#innodb_temp', 'binlog.000001']
ProcCmdline: BOOT_IMAGE=/boot/vmlinuz-6.5.0-26-generic root=UUID=09a14943-55e2-4433-9023-d540c54b74a8 ro quiet splash vt.handoff=7
Python3Details: /usr/bin/python3.10, Python 3.10.12, python3-minimal, 3.10.6-1~22.04
PythonDetails: N/A
RelatedPackageVersions:
 dpkg 1.21.1ubuntu2.2
 apt 2.4.11
SourcePackage: mysql-8.0
Title: package mysql-server-8.0 8.0.36-0ubuntu0.22.04.1 failed to install/upgrade: installed mysql-server-8.0 package post-installation script subprocess returned error exit status 1
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Farhat Ullah (farhatullah) wrote :
Revision history for this message
Sergio Durigan Junior (sergiodj) wrote :

Thank you for reporting a bug.

This is a duplicate of bug #2019003, so I marked it as such. Please take a look at that other bug, there may be a workaround available for this case.

Thanks.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.