package mysql-server-8.0 8.0.30-0ubuntu0.22.04.1 failed to install/upgrade: o subprocesso instalado, do pacote mysql-server-8.0, o script post-installation retornou erro do status de saída 1

Bug #1987183 reported by carlos alberto b. de s.
22
This bug affects 5 people
Affects Status Importance Assigned to Milestone
mysql-8.0 (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

i can't install mysql

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
AptOrdering: NULL: ConfigurePending
Architecture: amd64
CasperMD5json:
 {
   "result": "skip"
 }
Date: Sat Aug 20 18:50:58 2022
ErrorMessage: o subprocesso instalado, do pacote mysql-server-8.0, o script post-installation retornou erro do status de saída 1
InstallationDate: Installed on 2022-08-20 (0 days ago)
InstallationMedia: Ubuntu 21.10 "Impish Indri" - Release amd64 (20211012)
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: ['binlog.index', '#ib_16384_0.dblwr', 'ibdata1', 'debian-5.7.flag', 'ibtmp1', 'auto.cnf', 'mysql', '#innodb_temp', 'mysql.ibd', '#ib_16384_1.dblwr', 'undo_001', 'performance_schema', '#innodb_redo', 'undo_002']
ProcCmdline: BOOT_IMAGE=/boot/vmlinuz-5.15.0-46-generic root=UUID=09aa0221-3e91-4aaf-83b9-1c252178a37f ro quiet splash vt.handoff=7
Python3Details: /usr/bin/python3.10, Python 3.10.4, python3-minimal, 3.10.4-0ubuntu2
PythonDetails: N/A
SourcePackage: mysql-8.0
Title: package mysql-server-8.0 8.0.30-0ubuntu0.22.04.1 failed to install/upgrade: o subprocesso instalado, do pacote mysql-server-8.0, o script post-installation retornou erro do status de saída 1
UpgradeStatus: Upgraded to jammy on 2022-08-20 (0 days ago)

Revision history for this message
carlos alberto b. de s. (prof-carlospopo) 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-08-20T21:50:08.817754Z 1 [ERROR] [MY-012960] [InnoDB] Cannot create redo log files because data files are corrupt or the database was not shut down cleanly after creating the data files.
2022-08-20T21:50:09.310150Z 1 [ERROR] [MY-010334] [Server] Failed to initialize DD Storage Engine

It seems mysql may have been interrupted in some way during install. This can probably be fixed with a reinstall using the following commands:

sudo apt purge mysql*
sudo apt install mysql-server

Let me know if this fixes your issue.

Thanks!

Changed in mysql-8.0 (Ubuntu):
status: Confirmed → 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
Jens Elkner (jelmd) wrote :

innodb_fast_shutdown = 2 ? If so, set to 1.

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.