Debian apt-get install mysql-server error

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Debian apt-get install mysql-server error相关的知识,希望对你有一定的参考价值。

Hi, on my computer, I can input chinese,sorry, I use debian Linux OS, and when I install mysql, there is an errror:
root@debian:~# apt-get -f install mysql-server
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
python-software-properties : Depends: unattended-upgrades but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

使用 aptitude 可以处理包冲突。

sudo aptitude install -y mysql-server

会提示有冲突,然后选择一个解决方案。
参考技术A mysql 安装失败

以上是关于Debian apt-get install mysql-server error的主要内容,如果未能解决你的问题,请参考以下文章