postinst fails: configure-symlinks missing even though mysql-common appears installed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mysql-5.7 (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
n/a
ProblemType: Package
DistroRelease: Ubuntu 18.04
Package: mysql-server-5.7 (not installed)
ProcVersionSign
Uname: Linux 4.15.0-20-generic x86_64
ApportVersion: 2.20.9-0ubuntu7
Architecture: amd64
Date: Wed May 9 01:14:31 2018
DuplicateSignature:
package:
Setting up mysql-server-5.7 (5.7.22-
/var/lib/
dpkg: error processing package mysql-server-5.7 (--configure):
installed mysql-server-5.7 package post-installation script subprocess returned error exit status 127
ErrorMessage: installed mysql-server-5.7 package post-installation script subprocess returned error exit status 127
InstallationDate: Installed on 2018-05-07 (9 days ago)
InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426)
Python3Details: /usr/bin/python3.6, Python 3.6.5, python3-minimal, 3.6.5-3
PythonDetails: /usr/bin/python2.7, Python 2.7.15rc1, python-minimal, 2.7.15~rc1-1
RelatedPackageV
dpkg 1.19.0.5ubuntu2
apt 1.6.1
SourcePackage: mysql-5.7
Title: package mysql-server-5.7 (not installed) failed to install/upgrade: installed mysql-server-5.7 package post-installation script subprocess returned error exit status 127
UpgradeStatus: No upgrade log present (probably fresh install)
tags: | removed: need-duplicate-check |
summary: |
- package mysql-server-5.7 (not installed) failed to install/upgrade: - installed mysql-server-5.7 package post-installation script subprocess - returned error exit status 127 + postinst fails: configure-symlinks missing even though mysql-common + appears installed |
Thanks for filing this bug in Ubuntu.
The error you got is unusual: dpkg/info/ mysql-server- 5.7.postinst: line 191: /usr/share/ mysql-common/ configure- symlinks: No such file or directory
/var/lib/
I suggest the following steps:
sudo apt update
sudo apt -f install