我尝试在 ubuntu 14.04 系统上安装 galera。它已经有了 mariadb 并且正在运行。我该如何安装它?
我的命令:
sudo apt-get install -y rsync galera-3 mariadb-galera-server
它给出了错误
Reading package lists... Done
Building dependency tree
Reading state information... Done
rsync is already the newest version.
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-galera-server : Depends: mariadb-galera-server-5.5 (= 5.5.46+maria-1~trusty) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
尝试使用 aptitude 而不是 apt-get。它更聪明。它不仅会为您处理降级冲突包,还会提出一系列建议,询问您想要哪些可能的建议工作场景。例如
如果您的机器上还没有 aptitude,请使用