在ubuntu 16.04上安装Mysql

时间:2017-06-21 23:49:18

标签: mysql xampp lampp

我在Ubuntu 16上安装mysql 当我使用时:

sudo apt-get install mysql-server mysql-client
它给了我:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
mysql-client is already the newest version (5.7.18-1ubuntu16.04).
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
 mysql-client : Depends: mysql-community-client (= 5.7.18-1ubuntu16.04) but it is not going to be installed
 mysql-server : Depends: mysql-community-server (= 5.7.18-1ubuntu16.04) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

如何解决此问题。

0 个答案:

没有答案