Error installing default-mysql-server on fresh ubuntu 18.04.2 install
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mysql-defaults (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
After installing 18.04.3 I tried
sudo apt install default-
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
mysql-server-5.7 mysql-server-
Suggested packages:
mailx tinyca
The following NEW packages will be installed:
default-
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://
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-
(Reading database ... 197697 files and directories currently installed.)
Preparing to unpack .../mysql-
...
Unpacking mysql-server-
Selecting previously unselected package mysql-server-5.7.
Preparing to unpack .../mysql-
grep: /etc/mysql/: No such file or directory
Unpacking mysql-server-5.7 (5.7.26-
Selecting previously unselected package default-
Preparing to unpack .../default-
Unpacking default-
Processing triggers for ureadahead (0.100.0-21) ...
Setting up mysql-server-
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-
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] Fatal error in defaults handling. Program aborted!
Please take a look at https:/
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-
default-
Package mysql-server-5.7 is not configured yet.
dpkg: error processing package default-
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.
mysql-server-5.7
default-
E: Sub-process /usr/bin/dpkg returned an error code (1)
ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: default-
ProcVersionSign
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)
PackageArchitec
ProcEnviron:
TERM=xterm-
PATH=(custom, no user)
XDG_RUNTIME_
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: mysql-defaults
UpgradeStatus: No upgrade log present (probably fresh install)
summary: |
- Error installing default-mysql-server on fresh ubuntu 18.04.3 install + Error installing default-mysql-server on fresh ubuntu 18.04.2 install |
Sorry, meant 18.0.2...