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

Bug #1987068 reported by meghal patel
94
This bug affects 22 people
Affects Status Importance Assigned to Milestone
mysql-8.0 (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

This is installing time error

ProblemType: Package
DistroRelease: Ubuntu 22.04
Package: mysql-server-8.0 8.0.30-0ubuntu0.22.04.1
ProcVersionSignature: Ubuntu 5.15.0-46.49-generic 5.15.39
Uname: Linux 5.15.0-46-generic x86_64
ApportVersion: 2.20.11-0ubuntu82.1
Architecture: amd64
CasperMD5CheckResult: pass
Date: Fri Aug 19 16:13:51 2022
ErrorMessage: installed mysql-server-8.0 package post-installation script subprocess returned error exit status 1
InstallationDate: Installed on 2022-08-18 (1 days ago)
InstallationMedia: Ubuntu 22.04.1 LTS "Jammy Jellyfish" - Release amd64 (20220809.1)
Logs.var.log.daemon.log:

Logs.var.log.mysql.error.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/mariadb.cnf
MySQLVarLibDirListing: ['binlog.index', 'aria_log.00000001', 'performance_schema', 'aria_log_control', 'ib_buffer_pool', 'meghal-HP-EliteBook-840-G2.err', 'ibdata1', 'sys', 'auto.cnf', 'test', 'debian-5.7.flag', 'ib_logfile0', 'multi-master.info', 'mysql_upgrade_info', 'mysql']
ProcCmdline: BOOT_IMAGE=/boot/vmlinuz-5.15.0-46-generic root=UUID=2338c34f-841d-46db-b1bc-f3c5761268ad 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.1
 apt 2.4.7
SourcePackage: mysql-8.0
Title: package mysql-server-8.0 8.0.30-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
meghal patel (meghal-72925) wrote :
Revision history for this message
Seth Arnold (seth-arnold) wrote : Bug is not a security issue

Thanks for taking the time to report this bug and helping to make Ubuntu better. We appreciate the difficulties you are facing, but this appears to be a "regular" (non-security) bug. I have unmarked it as a security issue since this bug does not show evidence of allowing attackers to cross privilege boundaries nor directly cause loss of data/privacy. Please feel free to report any other bugs you may find.

information type: Private Security → Public
Revision history for this message
Lena Voytek (lvoytek) wrote :

Thank you for the bug report. From your logs I see that you installed mariadb-server and mariadb-client prior to installing mysql-server. Unfortunately the two applications are incompatible, and the failure was likely caused by that. If you would rather use mysql you can try to reinstall it by running the following commands:

sudo apt purge mysql* mariadb*
sudo apt install mysql-server

If this works please let me know

Changed in mysql-8.0 (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for mysql-8.0 (Ubuntu) because there has been no activity for 60 days.]

Changed in mysql-8.0 (Ubuntu):
status: Incomplete → Expired
Revision history for this message
RastaPopoulos (flbl) wrote :

same but with 8.0 8.0.31

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.