package mysql-server-8.0 8.0.22-0ubuntu0.20.04.3 failed to install/upgrade: installed mysql-server-8.0 package post-installation script subprocess returned error exit status 127

Bug #1906612 reported by ANKIT KUMAR KASYAP
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
mysql-8.0 (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

I have encountered this bug while upgrading from ubuntu 18 to ubuntu 20 LTS.

ProblemType: Package
DistroRelease: Ubuntu 20.04
Package: mysql-server-8.0 8.0.22-0ubuntu0.20.04.3
ProcVersionSignature: Ubuntu 4.15.0-126.129-generic 4.15.18
Uname: Linux 4.15.0-126-generic x86_64
ApportVersion: 2.20.11-0ubuntu27.13
Architecture: amd64
CasperMD5CheckResult: skip
Date: Thu Dec 3 12:40:03 2020
DuplicateSignature:
 package:mysql-server-8.0:8.0.22-0ubuntu0.20.04.3
 Installing new version of config file /etc/mysql/mysql.conf.d/mysqld.cnf ...
 /var/lib/dpkg/info/mysql-server-8.0.postinst: line 191: /usr/share/mysql-common/configure-symlinks: No such file or directory
 dpkg: error processing package mysql-server-8.0 (--configure):
  installed mysql-server-8.0 package post-installation script subprocess returned error exit status 127
ErrorMessage: installed mysql-server-8.0 package post-installation script subprocess returned error exit status 127
InstallationDate: Installed on 2019-02-05 (666 days ago)
InstallationMedia: Ubuntu 16.04.2 LTS "Xenial Xerus" - Release amd64 (20170215.2)
Logs.var.log.daemon.log:

MySQLVarLibDirListing: ['test', 'feeder_db', 'lnct', 'ca-key.pem', 'ibdata1', 'client-key.pem', 'performance_schema', 'private_key.pem', 'ib_logfile1', 'mysql.ibd', 'auto.cnf', 'undo_002', 'binlog.000539', 'ib_buffer_pool', 'stud_mgmt_sys', 'public_key.pem', 'client-cert.pem', 'binlog.000540', 'server-key.pem', 'lncts', 'ca.pem', 'scholarship_portal', 'binlog.000538', 'mysql', 'book_sys', 'server-cert.pem', 'Library', '#innodb_temp', 'undo_001', 'sys', 'binlog.000537', 'bill_system', 'binlog.index', 'ib_logfile0']
ProcCmdline: BOOT_IMAGE=/boot/vmlinuz-4.15.0-126-generic root=UUID=6d20c3bf-1140-4685-ae0d-2ebccb7d6954 ro quiet splash vt.handoff=1
Python3Details: /usr/bin/python3.8, Python 3.8.5, python3-minimal, 3.8.2-0ubuntu2
PythonDetails: /usr/bin/python2.7, Python 2.7.18, python-is-python2, 2.7.17-4
RelatedPackageVersions:
 dpkg 1.19.7ubuntu3
 apt 2.0.2ubuntu0.1
SourcePackage: mysql-8.0
Title: package mysql-server-8.0 8.0.22-0ubuntu0.20.04.3 failed to install/upgrade: installed mysql-server-8.0 package post-installation script subprocess returned error exit status 127
UpgradeStatus: Upgraded to focal on 2020-12-03 (0 days ago)

Revision history for this message
ANKIT KUMAR KASYAP (aktkasyap) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

Hi Ankit,
I'll mark this as a dup of bug 1771630 and comment there for you.
Because this is "another, but still similar case" to that other bug.
Please read there for what this is about and how to resolve.

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