package mysql-server-5.7 5.7.24-0ubuntu0.18.04.1 failed to install/upgrade: installed mysql-server-5.7 package post-installation script subprocess returned error exit status 1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mysql-5.7 (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
Mysql server crashes.
ProblemType: Package
DistroRelease: Ubuntu 18.04
Package: mysql-server-5.7 5.7.24-
ProcVersionSign
Uname: Linux 4.15.0-39-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.5
AptOrdering:
mysql-
mysql-
mysql-
NULL: ConfigurePending
Architecture: amd64
Date: Fri Nov 16 10:09:02 2018
ErrorMessage: installed mysql-server-5.7 package post-installation script subprocess returned error exit status 1
InstallationDate: Installed on 2018-09-20 (56 days ago)
InstallationMedia: Ubuntu 18.04.1 LTS "Bionic Beaver" - Release amd64 (20180725)
Logs.var.
MySQLConf.
MySQLConf.
[mysqld_safe]
syslog
MySQLConf.
MySQLConf.
[mysqld_safe]
syslog
MySQLVarLibDirL
ProcCmdline: BOOT_IMAGE=
Python3Details: /usr/bin/python3.6, Python 3.6.6, python3-minimal, 3.6.5-3ubuntu1
PythonDetails: /usr/bin/python2.7, Python 2.7.15rc1, python-minimal, 2.7.15~rc1-1
RelatedPackageV
dpkg 1.19.0.5ubuntu2.1
apt 1.6.6
SourcePackage: mysql-5.7
Title: package mysql-server-5.7 5.7.24-
UpgradeStatus: No upgrade log present (probably fresh install)
tags: | removed: need-duplicate-check |
Thanks for filing this bug in Ubuntu.
This is the error that was logged:
ERROR: Unable to start MySQL server: conf.d/ ' (Errcode: 2 - No such file or directory)
mysqld: Can't read dir of '/etc/mysql/
Tthe missing directory /etc/mysql/conf.d/ is part of mysql-common: https:/ /packages. ubuntu. com/bionic/ all/mysql- common/ filelist
If you don't have that installed, then maybe you purged packages that you shouldn't (like mysql-common), or ran rm -rf in some mysql directory in /etc. It's not clear.
I suggest you start from a clean state, as I cannot reproduce that problem with a fresh bionic container.