package mysql-server-8.0 8.0.31-0ubuntu0.22.04.1 failed to install/upgrade: "Can't read dir of '/etc/mysql/conf.d/'"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mysql-8.0 (Ubuntu) |
Incomplete
|
Undecided
|
Unassigned |
Bug Description
dpkg: dependency problems prevent mysql-server from being configured
ProblemType: Package
DistroRelease: Ubuntu 22.04
Package: mysql-server-8.0 8.0.31-
ProcVersionSign
Uname: Linux 5.15.0-57-generic x86_64
ApportVersion: 2.20.11-0ubuntu82.3
Architecture: amd64
CasperMD5CheckR
Date: Fri Jan 13 15:51:54 2023
ErrorMessage: installed mysql-server-8.0 package post-installation script subprocess returned error exit status 1
InstallationDate: Installed on 2023-01-09 (3 days ago)
InstallationMedia: Ubuntu 22.04.1 LTS "Jammy Jellyfish" - Release amd64 (20220809.1)
Logs.var.
Logs.var.
MySQLConf.
MySQLVarLibDirL
ProcCmdline: BOOT_IMAGE=
Python3Details: /usr/bin/
PythonDetails: N/A
RebootRequiredPkgs: Error: path contained symlinks.
RelatedPackageV
dpkg 1.21.1ubuntu2.1
apt 2.4.8
SourcePackage: mysql-8.0
Title: package mysql-server-8.0 8.0.31-
UpgradeStatus: No upgrade log present (probably fresh install)
[DpkgTerminalLog]
/lib/mecab/
Paramétrage de mysql-server-8.0 (8.0.31-
update-
update-
update-
Renaming removed key_buffer and myisam-recover options (if present)
ERROR: Unable to start MySQL server:
mysqld: Can't read dir of '/etc/mysql/
mysqld: [ERROR] Stopped processing the 'includedir' directive in file /etc/mysql/my.cnf at line 20.
mysqld: [ERROR] Fatal error in defaults handling. Program aborted!
description: | updated |
summary: |
package mysql-server-8.0 8.0.31-0ubuntu0.22.04.1 failed to - install/upgrade: installed mysql-server-8.0 package post-installation - script subprocess returned error exit status 1 + install/upgrade: "Can't read dir of '/etc/mysql/conf.d/'" |
Thank you for taking the time to file a bug report.
From the logs attached to this bug:
ERROR: Unable to start MySQL server: conf.d/ ' (OS errno 2 - No such file or directory)
mysqld: Can't read dir of '/etc/mysql/
mysqld: [ERROR] Stopped processing the 'includedir' directive in file /etc/mysql/my.cnf at line 20.
mysqld: [ERROR] Fatal error in defaults handling. Program aborted!
It seems like the /etc/mysql/conf.d/ directory might have been manually removed before attempting to install the MySQL package. Could you confirm if that was indeed the case, please?
Since it seems likely to me that this is a local configuration problem,
rather than a bug in Ubuntu, I am marking this bug as 'Incomplete'.
However, if you believe that this is really a bug in Ubuntu, then we would
be grateful if you would provide a more complete description of the problem
with steps to reproduce, explain why you believe this is a bug in Ubuntu
rather than a problem specific to your system, and then change the bug
status back to "New".
For local configuration issues, you can find assistance here: www.ubuntu. com/support/ community
http://