我正在尝试在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。