首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >安装Galera但mariadb存在于系统上

安装Galera但mariadb存在于系统上
EN

Database Administration用户
提问于 2015-10-28 09:03:51
回答 1查看 424关注 0票数 0

我试图在ubuntu14.04系统上安装galera。它已经有了mariadb,而且还在工作。我怎么安装它?

我的命令:

代码语言:javascript
复制
sudo apt-get install -y rsync galera-3 mariadb-galera-server

它会产生错误

代码语言:javascript
复制
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.
EN

回答 1

Database Administration用户

回答已采纳

发布于 2015-10-28 10:57:58

试着用天赋来代替apt。它更聪明。它不仅会为您处理降级冲突的包,而且会提出一系列建议,询问您可能建议的工作方案中的哪一个。例如:

代码语言:javascript
复制
sudo aptitude install rsync galera-3 mariadb-galera-server

如果你还没有能力在你的机器上,得到它与

代码语言:javascript
复制
sudo apt-get install aptitude
票数 1
EN
页面原文内容由Database Administration提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://dba.stackexchange.com/questions/119396

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档