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

Bug #1973224 reported by Kamran Narimanli
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
mysql-8.0 (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

.

ProblemType: Package
DistroRelease: Ubuntu 22.04
Package: mysql-server-8.0 8.0.29-0ubuntu0.22.04.2
ProcVersionSignature: Ubuntu 5.15.0-27.28-generic 5.15.30
Uname: Linux 5.15.0-27-generic x86_64
ApportVersion: 2.20.11-0ubuntu82
Architecture: amd64
CasperMD5CheckResult: pass
Date: Thu May 12 20:13:04 2022
ErrorMessage: installed mysql-server-8.0 package post-installation script subprocess returned error exit status 1
InstallationDate: Installed on 2022-05-12 (0 days ago)
InstallationMedia: Ubuntu 22.04 LTS "Jammy Jellyfish" - Release amd64 (20220419)
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: Error: [Errno 40] Too many levels of symbolic links: '/etc/mysql/my.cnf'
MySQLVarLibDirListing: ['performance_schema', 'undo_001', 'client-key.pem', 'undo_002', '#ib_16384_1.dblwr', '#ib_16384_0.dblwr', 'binlog.000002', 'ib_buffer_pool', 'sys', 'auto.cnf', 'server-cert.pem', 'private_key.pem', 'ibdata1', 'ca.pem', 'ib_logfile1', 'debian-5.7.flag', 'server-key.pem', 'ca-key.pem', 'mysql.ibd', 'mysql', 'ib_logfile0', 'binlog.index', 'public_key.pem', '#innodb_temp', 'client-cert.pem', 'binlog.000001']
ProcCmdline: BOOT_IMAGE=/boot/vmlinuz-5.15.0-27-generic root=UUID=b452a364-30ba-435a-a599-53e232375595 ro quiet splash vt.handoff=7
Python3Details: /usr/bin/python3.10, Python 3.10.4, python3-minimal, 3.10.4-0ubuntu2
PythonDetails: N/A
RelatedPackageVersions:
 dpkg 1.21.1ubuntu2
 apt 2.4.5
SourcePackage: mysql-8.0
Title: 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
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Kamran Narimanli (kamran132) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in mysql-8.0 (Ubuntu):
status: New → Confirmed
Revision history for this message
Lena Voytek (lvoytek) wrote :

Hello,

From your logs I see:

2022-05-12T16:13:02.801632Z 0 [ERROR] [MY-010262] [Server] Can't start server: Bind on TCP/IP port: Address already in use
2022-05-12T16:13:02.801675Z 0 [ERROR] [MY-010257] [Server] Do you already have another mysqld server running on port: 3306 ?

This error matches that of https://bugs.launchpad.net/ubuntu/+source/mysql-8.0/+bug/1921378 along with several others, as such I will mark this as a duplicate. If you have additional info please post it on 1921378's page. This confirms that the issue shows up in Jammy too, so I will mark that there.

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.