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 #1893739 reported by Sahil Shaikh
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
mysql-8.0 (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

I having issue in mysql server

ProblemType: Package
DistroRelease: Ubuntu 20.04
Package: mysql-server-8.0 8.0.21-0ubuntu0.20.04.4
ProcVersionSignature: Ubuntu 5.4.0-45.49-generic 5.4.55
Uname: Linux 5.4.0-45-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.20.11-0ubuntu27.8
Architecture: amd64
CasperMD5CheckResult: skip
Date: Mon Aug 31 21:52:30 2020
ErrorMessage: installed mysql-server-8.0 package post-installation script subprocess returned error exit status 1
InstallationDate: Installed on 2020-08-29 (2 days ago)
InstallationMedia: Ubuntu 20.04.1 LTS "Focal Fossa" - Release amd64 (20200731)
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
MySQLVarLibDirListing: ['ib_buffer_pool', 'debian-5.7.flag', '#ib_16384_1.dblwr', 'performance_schema', 'binlog.000004', 'undo_001', 'binlog.000003', 'client-cert.pem', 'ib_logfile0', 'ibdata1', 'server-key.pem', 'sahil-Inspiron-3542.pid', '#innodb_temp', 'ibtmp1', 'binlog.000001', 'binlog.index', 'ca.pem', 'mysql', 'private_key.pem', 'binlog.000002', 'client-key.pem', 'auto.cnf', '#ib_16384_0.dblwr', 'public_key.pem', 'server-cert.pem', 'ib_logfile1', 'mysql.ibd', 'binlog.000008', 'binlog.000007', 'binlog.000005', 'undo_002', 'binlog.000006', 'ca-key.pem', 'sys']
ProcCmdline: BOOT_IMAGE=/boot/vmlinuz-5.4.0-45-generic root=UUID=12d17ed8-bc71-4357-a435-f0fbdeece348 ro quiet splash vt.handoff=7
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
Sahil Shaikh (sahilshaikh029) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Rafael David Tinoco (rafaeldtinoco) wrote :

Thank you for taking the time to file a bug report.

Because of the following log contents:

2020-08-31T16:22:28.991838Z 0 [ERROR] [MY-010262] [Server] Can't start server: Bind on TCP/IP port: Address already in use
2020-08-31T16:22:28.992428Z 0 [ERROR] [MY-010257] [Server] Do you already have another mysqld server running on port: 3306 ?
2020-08-31T16:22:28.993537Z 0 [ERROR] [MY-010119] [Server] Aborting

It looks like the instance you had running could not be stopped within expected timeout. Unfortunately logs point to no specific reason the instance could not be stopped AND, judging the remaining logs, it appears that the situation has been mitigated as the database instance has been restarted multiple times after this incident.

Since it seems likely to me that this is a local configuration problem,
rather than a bug in Ubuntu, I am marking this bug as 'Incomplete'.

However, if you believe that this is really a bug in Ubuntu, then we would
be grateful if you would provide a more complete description of the problem
with steps to reproduce, explain why you believe this is a bug in Ubuntu
rather than a problem specific to your system, and then change the bug
status back to "New".

For local configuration issues, you can find assistance here:
http://www.ubuntu.com/support/community

Changed in mysql-8.0 (Ubuntu):
status: New → Incomplete
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
Christian Ehrhardt  (paelzer) wrote :

@Eduardo - your bug 1899075 actually is bug 1612517 which you assumed already. But this bug here is not showing the the issue of "old configs no more working on upgrade" in the logs.

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
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.