我已经尽一切努力在干净的Ubuntu安装上安装MariaDB,但是我一直收到此错误,
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 (= 5.5.33a+maria-1~saucy)
but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
我已按照本指南尝试进行安装, http://www.unixmen.com/install-lemp-server-nginx-mysql-mariadb-php-ubuntu-13-10-server/
而且我还遵循了MariaDB下载页面上13.10版https://downloads.mariadb.org/mariadb/repositories/上的“官方”指南。
但是似乎没有任何作用。
编辑1
我都尝试过两种方法添加PPA后如何解决未满足的依赖关系?以及如何安装MariaDB?但这仍然给我我上面发布的错误。
这是全新的Ubuntu安装,几乎没有安装任何东西。
编辑2
所有复选框都是更新中的票证。我跑了:
sudo apt-get update && sudo apt-get -f install mariadb-server-5.5"=5.5.33a+maria-1~saucy"
它给了我这个错误:
The following packages have unmet dependencies:
mariadb-server-5.5 : Depends: mariadb-client-5.5 (>= 5.5.33a+maria-1~saucy)
but it is not going to be installed
Depends: mariadb-server-core-5.5 (>= 5.5.33a+maria-1~saucy)
but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
sudo apt-get -f install mariadb-server-5.5"=5.5.33a+maria-1~saucy mariadb-client-5.5"=5.5.33a+maria-1~saucy" mariadb-server-core-5.5"=5.5.33a+maria-1~saucy"
捕获我正在做的模式,因此,如果要安装更多软件包,则必须将其包含在同一行中,并遵循相同的模式。我知道这很困难,但希望对您有所帮助。回复。
libmariadbclient18 : Depends: libmysqlclient18 (= 5.5.33a+maria-1~saucy) but 5.5.34-0ubuntu0.13.10.1 is to be installed
sudo apt-get update && sudo apt-get -f install mariadb-server-5.5"=5.5.33a+maria-1~saucy"
确保已选中Software Sources中Updates选项卡下的所有复选框。要验证它是否运行,请执行以下操作:打开“ 软件源”。如果您在我上面提到的命令中遇到任何错误/消息,请将其发布在您的问题中。sudo software-properties-gtk