postinst fails: configure-symlinks missing even though mysql-common appears installed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mysql-5.7 (Ubuntu) |
Invalid
|
Low
|
Unassigned |
Bug Description
Ubuntu 16.04
mysql-server not successfully installed.
Output of the installation process in screenshot is below.
Plus: when I run the command ' sudo dpkg-reconfigure mysql-server-5.7 ' it says '/usr/sbin/
ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: mysql-server-5.7 5.7.12-0ubuntu1
ProcVersionSign
Uname: Linux 4.4.0-22-generic x86_64
ApportVersion: 2.20.1-0ubuntu2
Architecture: amd64
Date: Tue May 24 13:33:13 2016
ErrorMessage: subprocess installed post-installation script returned error exit status 1
InstallationDate: Installed on 2015-12-09 (167 days ago)
InstallationMedia: Ubuntu-GNOME 15.10 "Wily Werewolf" - Release amd64 (20151021)
Logs.var.
MySQLConf.
ProcCmdline: BOOT_IMAGE=
RelatedPackageV
dpkg 1.18.4ubuntu1.1
apt 1.2.10ubuntu1
SourcePackage: mysql-5.7
Title: package mysql-server-5.7 5.7.12-0ubuntu1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
UpgradeStatus: No upgrade log present (probably fresh install)
From log:
Setting up mysql-server-5.7 (5.7.12-0ubuntu1) ... dpkg/info/ mysql-server- 5.7.postinst: line 112: /usr/share/ mysql-common/ configure- symlinks: No such file or directory
/var/lib/
dpkg: error processing package mysql-server-5.7 (--configure):
subprocess installed post-installation script returned error exit status 1
Except that in the same log, previously, we see:
Preparing to unpack .../mysql- common_ 5.7.12- 0ubuntu1_ all.deb ... 0ubuntu0. 15.10.1) ...
Unpacking mysql-common (5.7.12-0ubuntu1) over (5.6.30-
...
Setting up mysql-common (5.7.12-0ubuntu1) ...