安装 Cassandra 3.11.12 时出错,返回“处理冲突:cassandra22-2.2.7.1 与 cassandra 冲突”

发布于 2025-01-19 23:21:15 字数 770 浏览 3 评论 0 原文

我在将 Cassandra 版本从 2.2.x 升级到 3.11.x 时遇到问题。

我不明白为什么它是相同的 Cassandra 2.2.x,但是当使用包 cassandra-2.2.19-1.noarch.rpm ,可以正常升级,同时安装包 cassandra22-2.2.8-1.noarch.rpm,出现如下图所示的错误。 输入图片这里的描述

不幸的是,我的服务器正在安装 rpm 包 cassandra22-2.2.8-1.noarch.rpm。请帮我升级这个 Cassandra 版本。

输入图片此处描述

I have a problem with up upgrade the Cassandra version from 2.2.x to 3.11.x.

I don't understand why it's the same Cassandra 2.2.x, but when installing with package cassandra-2.2.19-1.noarch.rpm , it can upgrade normally, while installing with package cassandra22-2.2.8-1.noarch.rpm, it gives an error as figure below.
enter image description here

Unfortunately, my server is installing the rpm package cassandra22-2.2.8-1.noarch.rpm. Please help me upgrade this Cassandra version.

enter image description here

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

尹雨沫 2025-01-26 23:21:15

Cassandra222-2.2.7-1.noarch 不是一个有效的软件包,所以我的猜测是您从非官方来源下载了它。

您需要先卸载它,然后才能安装较新版本的Cassandra。然后,您需要将官方存储库添加到 /etc/yum.repos.d/cassandra/repo 。对于Cassandra 3.11,正确的回购是:

[cassandra]
name=Apache Cassandra
baseurl=https://downloads.apache.org/cassandra/redhat/311x/

然后,您应该能够安装最新版本的Cassandra 3.11。有关更多信息,请参见。干杯!

cassandra22-2.2.7-1.noarch is not a valid package so my guess is that you downloaded it from a non-official source.

You will need to uninstall it first before you can install a newer version of Cassandra. Then, you need to add the official repo to /etc/yum.repos.d/cassandra/repo. For Cassandra 3.11, the correct repo is:

[cassandra]
name=Apache Cassandra
baseurl=https://downloads.apache.org/cassandra/redhat/311x/

You should then be able to install the latest version of Cassandra 3.11. For more info, see Installing Cassandra 3.11. Cheers!

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文