【发布时间】:2019-09-08 23:16:43
【问题描述】:
我一直尝试在全新安装的 Debian 10 上安装 MySql 或 MariaDb。应该是一个简单的过程,(sudo apt-get install mariadb-server mariadb-client) 但我不断收到此错误:
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:
mariadb-client : Depends: mariadb-client-10.4 (>=
1:10.4.7+maria~buster) but it is not going to be installed
mariadb-server : Depends: mariadb-server-10.4 (>=
1:10.4.7+maria~buster) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
这是全新安装。已安装 PHP 和 Apache2。我已经尝试过多次使用第一个 MySql,然后当它不起作用时,我尝试使用 MariaDb,但仍然得到相同的错误。不知道还能做什么。我尝试了谷歌搜索,唯一关闭的建议是确保它没有安装,甚至清除任何以前的安装。我试过了,还是不行。
【问题讨论】: