我在努力
# sudo apt get install mysql-server-5.6执行此查询将显示
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
mysql-server : Depends: mysql-server-5.5 but it is not going to be installed
mysql-server-5.6 : Depends: mysql-client-5.6 (>= 5.6.19-0ubuntu0.14.04.1) but it is not going to be installed
Depends: mysql-server-core-5.6 (= 5.6.19-0ubuntu0.14.04.1) but it is not going to be installed
Recommends: mysql-common-5.6 but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).我正在跟踪这个教程。
如何安装这个??
发布于 2015-08-25 09:55:23
您必须首先确保您的系统已经更新。要做到这一点,请运行:
$ sudo apt-获取更新 $ sudo apt-获得升级 $ sudo apt-获取dist-升级
最后一个命令对于解决这个问题非常重要..。我也遇到了类似的问题,这个命令就是其中的诀窍
如果在此阶段没有报告错误,请运行:
$安装mysql-server
如果错误仍然存在,请运行:
$ sudo apt -f安装mysql-server
注意:不要指定版本
发布于 2015-08-25 09:43:08
您必须安装一些依赖项,如下所示:
The following packages have unmet dependencies:
mysql-server : Depends: mysql-server-5.5 but it is not going to be installed
mysql-server-5.6 : Depends: mysql-client-5.6 (>= 5.6.19-0ubuntu0.14.04.1) but it is not going to be installed
Depends: mysql-server-core-5.6 (= 5.6.19-0ubuntu0.14.04.1) but it is not going to be installed
Recommends: mysql-common-5.6 but it is not going to be installed首先您必须安装依赖项:
sudo apt-get install mysql-server-5.5
sudo apt-get install mysql-common-5.6最终可以安装mysql-服务器:
sudo apt-get install mysql-server-5.6https://stackoverflow.com/questions/32200422
复制相似问题