package mysql-server-5.7 5.7.23-0ubuntu0.18.04.1 failed to install/upgrade: Unterprozess installed mysql-server-5.7 package post-installation script gab den Fehler-Ausgangsstatus 127 zurück

Bug #1789078 reported by Bernd Kühn
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
mysql-5.7 (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

installation aborted.

Ubuntu 18.04.1 LTS

ProblemType: Package
DistroRelease: Ubuntu 18.04
Package: mysql-server-5.7 5.7.23-0ubuntu0.18.04.1
ProcVersionSignature: Ubuntu 4.15.0-33.36-generic 4.15.18
Uname: Linux 4.15.0-33-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.20.9-0ubuntu7.2
AptOrdering:
 mysql-client-5.7:amd64: Install
 libevent-core-2.1-6:amd64: Install
 mysql-server-5.7:amd64: Install
 mysql-server:amd64: Install
 NULL: ConfigurePending
Architecture: amd64
Date: Sun Aug 26 10:50:58 2018
ErrorMessage: Unterprozess installed mysql-server-5.7 package post-installation script gab den Fehler-Ausgangsstatus 127 zurück
InstallationDate: Installed on 2018-08-18 (8 days ago)
InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426)
Logs.var.log.daemon.log:

MySQLConf.etc.mysql.my.cnf: Error: [Errno 2] Datei oder Verzeichnis nicht gefunden: '/etc/mysql/my.cnf'
ProcCmdline: BOOT_IMAGE=/boot/vmlinuz-4.15.0-33-generic root=UUID=dd17e9cf-06dd-4d2e-bcf2-fbac46738440 ro quiet splash vt.handoff=1
Python3Details: /usr/bin/python3.6, Python 3.6.5, python3-minimal, 3.6.5-3ubuntu1
PythonDetails: /usr/bin/python2.7, Python 2.7.15rc1, python-minimal, 2.7.15~rc1-1
RelatedPackageVersions:
 dpkg 1.19.0.5ubuntu2
 apt 1.6.3ubuntu0.1
SourcePackage: mysql-5.7
Title: package mysql-server-5.7 5.7.23-0ubuntu0.18.04.1 failed to install/upgrade: Unterprozess installed mysql-server-5.7 package post-installation script gab den Fehler-Ausgangsstatus 127 zurück
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Bernd Kühn (camaxtli) wrote :
Revision history for this message
Andreas Hasenack (ahasenack) wrote :

Thanks for filing this bug in Ubuntu.

I don't know what you did, but somehow you ended up missing an important file:
/var/lib/dpkg/info/mysql-server-5.7.postinst: Zeile 191: /usr/share/mysql-common/configure-symlinks: Datei oder Verzeichnis nicht gefunden
dpkg: Fehler beim Bearbeiten des Paketes mysql-server-5.7 (--configure):
 Unterprozess installed mysql-server-5.7 package post-installation script gab den Fehler-Ausgangsstatus 127 zurück

That file (configure-symlinks) is part of the mysql-common package.

I suggest you try to install, or reinstall, it. Something like:

sudo apt update
sudo apt install mysql-common

or

sudo apt install --reinstall mysql-common

and finally

sudo apt -f install

Other than that, there isn't much else that can be suggested because there is no clear indication of a bug here, with steps to reproduce it, just a support request.

Changed in mysql-5.7 (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for mysql-5.7 (Ubuntu) because there has been no activity for 60 days.]

Changed in mysql-5.7 (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.