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

Bug #2037601 reported by Dnyaneshwari Kolapkar
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
mysql-8.0 (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

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

ProblemType: Package
DistroRelease: Ubuntu 22.04
Package: mysql-server-8.0 8.0.34-0ubuntu0.22.04.1
ProcVersionSignature: Ubuntu 6.2.0-32.32~22.04.1-generic 6.2.16
Uname: Linux 6.2.0-32-generic x86_64
NonfreeKernelModules: sep5 socperf3 pax
ApportVersion: 2.20.11-0ubuntu82.5
Architecture: amd64
CasperMD5CheckResult: pass
Date: Thu Sep 28 08:52:12 2023
DuplicateSignature:
 package:mysql-server-8.0:8.0.34-0ubuntu0.22.04.1
 Setting up mysql-server-8.0 (8.0.34-0ubuntu0.22.04.1) ...
 /var/lib/dpkg/info/mysql-server-8.0.postinst: line 202: /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 2023-03-01 (210 days ago)
InstallationMedia: Ubuntu 22.04.1 LTS "Jammy Jellyfish" - Release amd64 (20220809.1)
Logs.var.log.daemon.log:

MySQLConf.etc.mysql.my.cnf: my.cnf links to /etc/mysql/mariadb.cnf
MySQLVarLibDirListing: []
ProcCmdline: BOOT_IMAGE=/boot/vmlinuz-6.2.0-32-generic root=UUID=679711a3-64fa-4a1c-a9b2-be8a9e355dfd ro quiet splash
Python3Details: /usr/bin/python3.10, Python 3.10.12, python3-minimal, 3.10.6-1~22.04
PythonDetails: N/A
RelatedPackageVersions:
 dpkg 1.21.1ubuntu2.2
 apt 2.4.10
SourcePackage: mysql-8.0
Title: package mysql-server-8.0 8.0.34-0ubuntu0.22.04.1 failed to install/upgrade: installed mysql-server-8.0 package post-installation script subprocess returned error exit status 127
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Dnyaneshwari Kolapkar (dnyank) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Mitchell Dzurick (mitchdz) wrote :

Thanks for reporting this bug Dnyansehwari! I just tested a fresh install of this package and it worked fine for me.

Did you modify anything about this package before attempting an upgrade or were you upgrading from a custom package?

Changed in mysql-8.0 (Ubuntu):
status: New → Incomplete
Revision history for this message
Sergio Durigan Junior (sergiodj) wrote :

Something else that caught my attention was the fact that unattended-upgrades failed to run a bunch of times before the user tried to install mysql. This may point to an underlying problem that is not clearly visible 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.