M
M
Marty McFly2018-12-20 13:51:03
MySQL
Marty McFly, 2018-12-20 13:51:03

How to install mysql ubuntu 18?

Hello!
Please help raise mysql.
I type:
sudo apt install mysql-server
I get:

dpkg: dependency problems prevent configuration of mysql-server:
 mysql-server depends on mysql-server-5.7; however:
  Package mysql-server-5.7 is not installed.

dpkg: error processing package mysql-server (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
                          Errors were encountered while processing:
 mysql-server
E: Sub-process /usr/bin/dpkg returned an error code (1)

Says install 5.7, well, okay - sudo apt install mysql-server-5.7
I get:
mysql-server-5.7 is already the newest version (5.7.24-0ubuntu0.18.04.1).
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
2 not fully installed or removed.
Need to get 0 B/3 193 kB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] Y
dpkg: dependency problems prevent configuration of mysql-server:
 mysql-server depends on mysql-server-5.7; however:
  Package mysql-server-5.7 is not installed.

dpkg: error processing package mysql-server (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
                          Errors were encountered while processing:
 mysql-server
E: Sub-process /usr/bin/dpkg returned an error code (1)

Answer the question

In order to leave comments, you need to log in

2 answer(s)
K
Kadet77Rus, 2018-12-21
@alex_shevch

sudo apt-get install -f

A
Andy Larkin, 2018-12-20
@bestking5236

apt install mysql-server-5.7

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question