我正在尝试在 Ubuntu 12.04 LTS 上安装 MariaDB。
我已按照https://askubuntu.com/questions/64772/how-to-install-mariadb和 MariaDB.org 提供的说明进行操作,这些说明会在您选择下载时出现。
最后一步是sudo apt-get install mariadb-server
返回:
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:
mariadb-server : Depends: mariadb-server-5.5 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
依赖问题是一个确认问题(https://mariadb.atlassian.net/browse/MDEV-3882),但我相信损坏的包阻止我解决这个问题。
如果我尝试安装 libmariadbclient18,我会得到以下信息:
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:
libmariadbclient18 : Depends: libmysqlclient18 (= 5.5.30-mariadb1~precise) but 5.5.31-0ubuntu0.12.04.1 is to be installed
E: Unable to correct problems, you have held broken packages.
我尝试使用 纠正损坏的包sudo apt-get install -f
,但我仍然无法安装 mariadb-server 或 libmariadbclient18。