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

Bug #1898841 reported by Michael Wayne
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
mysql-8.0 (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

can't use mysql because installation isn't getting completed

ProblemType: Package
DistroRelease: Ubuntu 20.04
Package: mysql-server-8.0 8.0.21-0ubuntu0.20.04.4
ProcVersionSignature: Ubuntu 5.4.0-48.52-generic 5.4.60
Uname: Linux 5.4.0-48-generic x86_64
ApportVersion: 2.20.11-0ubuntu27.9
Architecture: amd64
CasperMD5CheckResult: skip
Date: Tue Oct 6 10:49:36 2020
ErrorMessage: installed mysql-server-8.0 package post-installation script subprocess returned error exit status 1
InstallationDate: Installed on 2020-08-27 (40 days ago)
InstallationMedia: Ubuntu 20.04.1 LTS "Focal Fossa" - Release amd64 (20200731)
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
MySQLVarLibDirListing: ['binlog.000014', 'undo_001', 'undo_002', 'binlog.000012', 'binlog.000008', 'binlog.000001', 'ca-key.pem', 'ib_logfile0', 'client-cert.pem', 'mysql.ibd', 'binlog.000005', 'binlog.000019', 'binlog.000002', 'binlog.000015', 'binlog.000007', 'server-cert.pem', 'client-key.pem', 'binlog.000006', 'private_key.pem', 'binlog.000003', 'binlog.000018', 'ib_buffer_pool', 'binlog.000013', 'ibdata1', 'demo', 'binlog.index', 'public_key.pem', 'debian-5.7.flag', 'ca.pem', 'performance_schema', 'binlog.000011', 'ib_logfile1', 'binlog.000004', 'sys', '#ib_16384_1.dblwr', 'binlog.000017', 'binlog.000020', 'binlog.000016', 'auto.cnf', 'flaskapp', 'binlog.000010', 'binlog.000009', 'server-key.pem', '#innodb_temp', '#ib_16384_0.dblwr']
ProcCmdline: BOOT_IMAGE=/boot/vmlinuz-5.4.0-48-generic root=UUID=c408072b-5e8b-4f2c-b185-9c8ea336a8ca ro quiet splash
Python3Details: /usr/bin/python3.8, Python 3.8.2, python3-minimal, 3.8.2-0ubuntu2
PythonDetails: N/A
RelatedPackageVersions:
 dpkg 1.19.7ubuntu3
 apt 2.0.2ubuntu0.1
SourcePackage: mysql-8.0
Title: package mysql-server-8.0 8.0.21-0ubuntu0.20.04.4 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
Michael Wayne (waynedev) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Paride Legovini (paride) wrote :

Hello Michael and thanks for this bug report.

I expected to see the /var/log/mysql/error.log file attached to this Apport generated bug report, but it's not there. Could you please check if the file exists and if it does attach it manually to this bug report?

I can't reproduce the problem on a fresh Focal system. Are you able to provide a minimal set of steps to reproduce the issue from scratch? Without steps to reproduce it's difficult for a developer to confirm this issue is a bug rather than a local configuration problem, and in general to begin working on it.

I'm setting the status of this report to Incomplete for the moment. Please change it back to New after commenting back and we'll look at it again. Thanks!

Revision history for this message
Eduardo Bonato (ebonato) wrote :

Please look at bug #1899075 if it look similar to your use case.

Revision history for this message
Bryce Harrington (bryce) wrote :

Thanks for filing this bug to help make Ubuntu better. Unfortunately there's not enough information to see what went wrong. The error log might have held some info but presumably by now that's no longer available. Please file a new bug if the issue occurs again.

Changed in mysql-8.0 (Ubuntu):
status: New → Invalid
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.