package mysql-server-5.7 5.7.21-1ubuntu1 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) |
New
|
Undecided
|
Unassigned |
Bug Description
Sub-process /usr/bin/dpkg returned an error code (1)
ProblemType: Package
DistroRelease: Ubuntu 18.04
Package: mysql-server-5.7 5.7.21-1ubuntu1
ProcVersionSign
Uname: Linux 4.15.0-20-generic x86_64
ApportVersion: 2.20.9-0ubuntu7
AptOrdering:
apache2:amd64: Install
apache2-bin:amd64: Install
apache2-
apache2-
NULL: ConfigurePending
Architecture: amd64
CasperVersion: 1.394
Date: Tue May 22 08:58:46 2018
ErrorMessage: installed mysql-server-5.7 package post-installation script subprocess returned error exit status 1
LiveMediaBuild: Ubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426)
Logs.var.
MySQLConf.
MySQLConf.
[mysqldump]
quick
quote-names
max_allowed_packet = 16M
MySQLConf.
[mysqld_safe]
syslog
MySQLVarLibDirL
ProcCmdline: BOOT_IMAGE=
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 5.7.21-1ubuntu1 failed to install/upgrade: installed mysql-server-5.7 package post-installation script subprocess returned error exit status 1
UpgradeStatus: No upgrade log present (probably fresh install)
From terminal log:
ERROR: Unable to start MySQL server: conf.d/ ' (Errcode: 13 - Permission denied)
mysqld: Can't read dir of '/etc/mysql/
mysqld: [ERROR] Fatal error in defaults handling. Program aborted!