package mysql-server-5.7 5.7.21-0ubuntu0.17.10.1 failed to install/upgrade: subprocess instaliran post-installation skripta returned error exit status 1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mysql-5.7 (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
on a clean install (no /etc/mysql folder, no /var/lib/mysql folder), installer complains that folder /etc/mysql/conf.d doesn't exist?
ProblemType: Package
DistroRelease: Ubuntu 17.10
Package: mysql-server-5.7 5.7.21-
ProcVersionSign
Uname: Linux 4.13.0-32-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.7-0ubuntu3.7
AptOrdering:
mysql-
mysql-
mysql-
NULL: ConfigurePending
Architecture: amd64
Date: Mon Feb 12 13:48:54 2018
DistributionCha
# This is a distribution channel descriptor
# For more information see http://
canonical-
ErrorMessage: subprocess instaliran post-installation skripta returned error exit status 1
InstallationDate: Installed on 2014-03-20 (1425 days ago)
InstallationMedia: Ubuntu 12.04 "Precise" - Build amd64 LIVE Binary 20130203-13:50
Logs.var.
MySQLConf.
[mysqld_safe]
syslog
MySQLVarLibDirL
ProcCmdline: BOOT_IMAGE=
Python3Details: /usr/bin/python3.6, Python 3.6.3, python3-minimal, 3.6.3-0ubuntu2
PythonDetails: /usr/bin/python2.7, Python 2.7.14, python-minimal, 2.7.14-2ubuntu1
RelatedPackageV
dpkg 1.18.24ubuntu1
apt 1.5.1
SourcePackage: mysql-5.7
Title: package mysql-server-5.7 5.7.21-
UpgradeStatus: Upgraded to artful on 2017-10-03 (132 days ago)
Thanks for taking the time to file a bug and even read through your error messages :)
Looking at your dpkg history log, it shows you purging mysql-server right before installing. I tried this same ordering and did not come across this issue:
https:/ /paste. ubuntu. com/p/C6dW4f9TR W/
I believe we have seen this before, but without steps to reproduce it is difficult to know how to work further on this bug.