Public bug reported:

After installing 18.04.3 I tried 
sudo apt install default-mysql-server
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  mysql-server-5.7 mysql-server-core-5.7
Suggested packages:
  mailx tinyca
The following NEW packages will be installed:
  default-mysql-server mysql-server-5.7 mysql-server-core-5.7
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 3,520 B/11.0 MB of archives.
After this operation, 94.6 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://us.archive.ubuntu.com/ubuntu bionic/universe amd64 default-mysql-se
rver all 1.0.4 [3,520 B]
Fetched 3,520 B in 0s (11.2 kB/s)               
Preconfiguring packages ...
Selecting previously unselected package mysql-server-core-5.7.
(Reading database ... 197697 files and directories currently installed.)
Preparing to unpack .../mysql-server-core-5.7_5.7.26-0ubuntu0.18.04.1_amd64.deb 
...
Unpacking mysql-server-core-5.7 (5.7.26-0ubuntu0.18.04.1) ...
Selecting previously unselected package mysql-server-5.7.
Preparing to unpack .../mysql-server-5.7_5.7.26-0ubuntu0.18.04.1_amd64.deb ...
grep: /etc/mysql/: No such file or directory
Unpacking mysql-server-5.7 (5.7.26-0ubuntu0.18.04.1) ...
Selecting previously unselected package default-mysql-server.
Preparing to unpack .../default-mysql-server_1.0.4_all.deb ...
Unpacking default-mysql-server (1.0.4) ...
Processing triggers for ureadahead (0.100.0-21) ...
Setting up mysql-server-core-5.7 (5.7.26-0ubuntu0.18.04.1) ...
Processing triggers for systemd (237-3ubuntu10.21) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
Setting up mysql-server-5.7 (5.7.26-0ubuntu0.18.04.1) ...
update-alternatives: using /etc/mysql/mysql.cnf to provide /etc/mysql/my.cnf 
(my.cnf) in auto mode
Renaming removed key_buffer and myisam-recover options (if present)
ERROR: Unable to start MySQL server:
mysqld: Can't read dir of '/etc/mysql/conf.d/' (Errcode: 2 - No such file or 
directory)
mysqld: [ERROR] Fatal error in defaults handling. Program aborted!
Please take a look at https://wiki.debian.org/Teams/MySQL/FAQ for tips on 
fixing common upgrade issues.
Once the problem is resolved, run apt-get --fix-broken install to retry.
dpkg: error processing package mysql-server-5.7 (--configure):
 installed mysql-server-5.7 package post-installation script subprocess 
returned error exit status 1
dpkg: dependency problems prevent configuration of default-mysql-server:
 default-mysql-server depends on mysql-server-5.7; however:
  Package mysql-server-5.7 is not configured yet.

dpkg: error processing package default-mysql-server (--configure):
 dependency problems - leaving unconfigured
Processing triggers for ureadahead (0.100.0-21) ...
Processing triggers for systemd (237-3ubuntu10.21) ...
No apport report written because the error message indicates its a followup 
error from a previous failure.
                       Errors were encountered while processing:
 mysql-server-5.7
 default-mysql-server
E: Sub-process /usr/bin/dpkg returned an error code (1)

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: default-mysql-server 1.0.4
ProcVersionSignature: Ubuntu 4.15.0-48.51-generic 4.15.18
Uname: Linux 4.15.0-48-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.6
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Mon May 13 14:46:45 2019
InstallationDate: Installed on 2019-05-13 (0 days ago)
InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426)
PackageArchitecture: all
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: mysql-defaults
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: mysql-defaults (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug bionic

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1828878

Title:
  Error installing default-mysql-server on fresh ubuntu 18.04.3 install

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mysql-defaults/+bug/1828878/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to