试图修复损坏的 mysql 安装,这是在从 debian 6.0 升级到 7.0 之后发生的。我的 /etc/apt/sources.list 中有 dotdeb.org 包。
root@ginger:/var/log/mysql# apt-get install mysql-client
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-5.5 : Depends: mysql-client-5.5 (>= 5.5.31+dfsg-0+wheezy1) but 5.5.30-1~dotdeb.0 is to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
Run Code Online (Sandbox Code Playgroud)
运行 apt-get -f install 结果:
root@ginger:/var/log/mysql# apt-get install -f
Reading …Run Code Online (Sandbox Code Playgroud)