![mysql-server:依赖:mysql-server-5.1 但是它将不会被安装](https://linux22.com/image/640744/mysql-server%EF%BC%9A%E4%BE%9D%E8%B5%96%EF%BC%9Amysql-server-5.1%20%E4%BD%86%E6%98%AF%E5%AE%83%E5%B0%86%E4%B8%8D%E4%BC%9A%E8%A2%AB%E5%AE%89%E8%A3%85.png)
我想在 Squeeze(Debian)上安装 MySQL,但是从 apt 收到此错误消息:
mysql-server : Depends: mysql-server-5.1 but it is not going to be installed
我尝试使用其他来源,但问题仍然存在。
源.列表:
deb http://ftp.de.debian.org/debian squeeze main
deb-src http://ftp.de.debian.org/debian squeeze main
我猜这是一个依赖性问题,但我不知道哪些存储库没问题。
root@10909-05:/archiv# apt-get install mysql-server-5.1
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
mysql-server-5.1 : Depends: mysql-client-5.1 (>= 5.1.73-1) but it is not going to be installed <br>
Depends: libdbi-perl but it is not going to be installed
E: Broken packages
编辑:我升级到了 wheezy,现在我可以安装 mysql-server。