问题1:软件包corosync-3.1.5-1.el8.x86_64需要corosynclib(x86-64)= 3.1.5-1.el8,但没有一个提供商可以安装

发布于 2025-02-09 13:02:08 字数 5299 浏览 1 评论 0 原文

遵循指南安装Pacemaker& corosync 在Oracle Linux 8 VM上,该VM本质上可以执行以下操作以访问HA项目:

sudo dnf config-manager --enable ol8_appstream ol8_baseos_latest ol8_addons

这一切都很好并且安装了完美。但是,现在,当我尝试更新时,我会得到这个:

[root@private]# yum update
Last metadata expiration check: 0:01:41 ago on Mon 20 Jun 2022 10:41:09 EDT.
Error:
 Problem 1: package corosync-3.1.5-1.el8.x86_64 requires corosynclib(x86-64) = 3.1.5-1.el8, but none of the providers can be installed
  - cannot install both corosynclib-3.1.5-2.el8.x86_64 and corosynclib-3.1.5-1.el8.x86_64
  - cannot install the best update candidate for package corosynclib-3.1.5-1.el8.x86_64
  - cannot install the best update candidate for package corosync-3.1.5-1.el8.x86_64
 Problem 2: package pacemaker-2.1.0-8.0.1.el8.x86_64 requires pacemaker-cluster-libs(x86-64) = 2.1.0-8.0.1.el8, but none of the providers can be installed
  - cannot install both pacemaker-cluster-libs-2.1.2-4.0.1.el8.x86_64 and pacemaker-cluster-libs-2.1.0-8.0.1.el8.x86_64
  - cannot install the best update candidate for package pacemaker-cluster-libs-2.1.0-8.0.1.el8.x86_64
  - cannot install the best update candidate for package pacemaker-2.1.0-8.0.1.el8.x86_64
 Problem 3: package pacemaker-cli-2.1.0-8.0.1.el8.x86_64 requires pacemaker-libs(x86-64) = 2.1.0-8.0.1.el8, but none of the providers can be installed
  - cannot install both pacemaker-libs-2.1.2-4.0.1.el8.x86_64 and pacemaker-libs-2.1.0-8.0.1.el8.x86_64
  - cannot install the best update candidate for package pacemaker-libs-2.1.0-8.0.1.el8.x86_64
  - cannot install the best update candidate for package pacemaker-cli-2.1.0-8.0.1.el8.x86_64
 Problem 4: package pcs-0.10.12-6.0.1.el8_6.1.x86_64 requires pacemaker-cli >= 2.0.0, but none of the providers can be installed
  - package pacemaker-cli-2.1.0-8.0.1.el8.x86_64 requires pacemaker-libs(x86-64) = 2.1.0-8.0.1.el8, but none of the providers can be installed
  - package pacemaker-cli-2.0.5-9.0.1.el8_4.1.x86_64 requires pacemaker-libs(x86-64) = 2.0.5-9.0.1.el8_4.1, but none of the providers can be installed
  - package pacemaker-cli-2.0.5-9.0.1.el8_4.3.x86_64 requires pacemaker-libs(x86-64) = 2.0.5-9.0.1.el8_4.3, but none of the providers can be installed
  - package pacemaker-cli-2.0.2-3.el8_1.2.x86_64 requires pacemaker-libs(x86-64) = 2.0.2-3.el8_1.2, but none of the providers can be installed
  - package pacemaker-cli-2.0.3-5.el8.x86_64 requires pacemaker-libs(x86-64) = 2.0.3-5.el8, but none of the providers can be installed
  - package pacemaker-cli-2.0.3-5.el8_2.1.x86_64 requires pacemaker-libs(x86-64) = 2.0.3-5.el8_2.1, but none of the providers can be installed
  - package pacemaker-cli-2.0.4-6.el8.x86_64 requires pacemaker-libs(x86-64) = 2.0.4-6.el8, but none of the providers can be installed
  - package pacemaker-cli-2.0.4-6.el8_3.1.x86_64 requires pacemaker-libs(x86-64) = 2.0.4-6.el8_3.1, but none of the providers can be installed
  - package pacemaker-cli-2.0.4-6.el8_3.2.x86_64 requires pacemaker-libs(x86-64) = 2.0.4-6.el8_3.2, but none of the providers can be installed
  - package pacemaker-libs-2.1.0-8.0.1.el8.x86_64 requires pacemaker-schemas = 2.1.0-8.0.1.el8, but none of the providers can be installed
  - package pacemaker-libs-2.0.5-9.0.1.el8_4.1.x86_64 requires pacemaker-schemas = 2.0.5-9.0.1.el8_4.1, but none of the providers can be installed
  - package pacemaker-libs-2.0.5-9.0.1.el8_4.3.x86_64 requires pacemaker-schemas = 2.0.5-9.0.1.el8_4.3, but none of the providers can be installed
  - package sbd-1.5.1-1.el8.x86_64 conflicts with pacemaker-libs < 2.0.5-4 provided by pacemaker-libs-2.0.2-3.el8_1.2.x86_64
  - package sbd-1.5.1-1.el8.x86_64 conflicts with pacemaker-libs < 2.0.5-4 provided by pacemaker-libs-2.0.3-5.el8.x86_64
  - package sbd-1.5.1-1.el8.x86_64 conflicts with pacemaker-libs < 2.0.5-4 provided by pacemaker-libs-2.0.3-5.el8_2.1.x86_64
  - package sbd-1.5.1-1.el8.x86_64 conflicts with pacemaker-libs < 2.0.5-4 provided by pacemaker-libs-2.0.4-6.el8.x86_64
  - package sbd-1.5.1-1.el8.x86_64 conflicts with pacemaker-libs < 2.0.5-4 provided by pacemaker-libs-2.0.4-6.el8_3.1.x86_64
  - package sbd-1.5.1-1.el8.x86_64 conflicts with pacemaker-libs < 2.0.5-4 provided by pacemaker-libs-2.0.4-6.el8_3.2.x86_64
  - cannot install both pacemaker-schemas-2.1.2-4.0.1.el8.noarch and pacemaker-schemas-2.1.0-8.0.1.el8.noarch
  - cannot install both pacemaker-schemas-2.1.2-4.0.1.el8.noarch and pacemaker-schemas-2.0.5-9.0.1.el8_4.1.noarch
  - cannot install both pacemaker-schemas-2.1.2-4.0.1.el8.noarch and pacemaker-schemas-2.0.5-9.0.1.el8_4.3.noarch
  - cannot install the best update candidate for package sbd-1.5.1-1.el8.x86_64
  - cannot install the best update candidate for package pcs-0.10.12-6.0.1.el8_6.1.x86_64
  - cannot install the best update candidate for package pacemaker-schemas-2.1.0-8.0.1.el8.noarch
(try to add '--allowerasing' to command line to replace conflicting packages or '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)

Followed the guide to install pacemaker & corosync enter link description here on a Oracle Linux 8 VM which essentially does the below to access the HA items:

sudo dnf config-manager --enable ol8_appstream ol8_baseos_latest ol8_addons

Which is all fine and installed perfectly. However, now when i try to yum update i get this:

[root@private]# yum update
Last metadata expiration check: 0:01:41 ago on Mon 20 Jun 2022 10:41:09 EDT.
Error:
 Problem 1: package corosync-3.1.5-1.el8.x86_64 requires corosynclib(x86-64) = 3.1.5-1.el8, but none of the providers can be installed
  - cannot install both corosynclib-3.1.5-2.el8.x86_64 and corosynclib-3.1.5-1.el8.x86_64
  - cannot install the best update candidate for package corosynclib-3.1.5-1.el8.x86_64
  - cannot install the best update candidate for package corosync-3.1.5-1.el8.x86_64
 Problem 2: package pacemaker-2.1.0-8.0.1.el8.x86_64 requires pacemaker-cluster-libs(x86-64) = 2.1.0-8.0.1.el8, but none of the providers can be installed
  - cannot install both pacemaker-cluster-libs-2.1.2-4.0.1.el8.x86_64 and pacemaker-cluster-libs-2.1.0-8.0.1.el8.x86_64
  - cannot install the best update candidate for package pacemaker-cluster-libs-2.1.0-8.0.1.el8.x86_64
  - cannot install the best update candidate for package pacemaker-2.1.0-8.0.1.el8.x86_64
 Problem 3: package pacemaker-cli-2.1.0-8.0.1.el8.x86_64 requires pacemaker-libs(x86-64) = 2.1.0-8.0.1.el8, but none of the providers can be installed
  - cannot install both pacemaker-libs-2.1.2-4.0.1.el8.x86_64 and pacemaker-libs-2.1.0-8.0.1.el8.x86_64
  - cannot install the best update candidate for package pacemaker-libs-2.1.0-8.0.1.el8.x86_64
  - cannot install the best update candidate for package pacemaker-cli-2.1.0-8.0.1.el8.x86_64
 Problem 4: package pcs-0.10.12-6.0.1.el8_6.1.x86_64 requires pacemaker-cli >= 2.0.0, but none of the providers can be installed
  - package pacemaker-cli-2.1.0-8.0.1.el8.x86_64 requires pacemaker-libs(x86-64) = 2.1.0-8.0.1.el8, but none of the providers can be installed
  - package pacemaker-cli-2.0.5-9.0.1.el8_4.1.x86_64 requires pacemaker-libs(x86-64) = 2.0.5-9.0.1.el8_4.1, but none of the providers can be installed
  - package pacemaker-cli-2.0.5-9.0.1.el8_4.3.x86_64 requires pacemaker-libs(x86-64) = 2.0.5-9.0.1.el8_4.3, but none of the providers can be installed
  - package pacemaker-cli-2.0.2-3.el8_1.2.x86_64 requires pacemaker-libs(x86-64) = 2.0.2-3.el8_1.2, but none of the providers can be installed
  - package pacemaker-cli-2.0.3-5.el8.x86_64 requires pacemaker-libs(x86-64) = 2.0.3-5.el8, but none of the providers can be installed
  - package pacemaker-cli-2.0.3-5.el8_2.1.x86_64 requires pacemaker-libs(x86-64) = 2.0.3-5.el8_2.1, but none of the providers can be installed
  - package pacemaker-cli-2.0.4-6.el8.x86_64 requires pacemaker-libs(x86-64) = 2.0.4-6.el8, but none of the providers can be installed
  - package pacemaker-cli-2.0.4-6.el8_3.1.x86_64 requires pacemaker-libs(x86-64) = 2.0.4-6.el8_3.1, but none of the providers can be installed
  - package pacemaker-cli-2.0.4-6.el8_3.2.x86_64 requires pacemaker-libs(x86-64) = 2.0.4-6.el8_3.2, but none of the providers can be installed
  - package pacemaker-libs-2.1.0-8.0.1.el8.x86_64 requires pacemaker-schemas = 2.1.0-8.0.1.el8, but none of the providers can be installed
  - package pacemaker-libs-2.0.5-9.0.1.el8_4.1.x86_64 requires pacemaker-schemas = 2.0.5-9.0.1.el8_4.1, but none of the providers can be installed
  - package pacemaker-libs-2.0.5-9.0.1.el8_4.3.x86_64 requires pacemaker-schemas = 2.0.5-9.0.1.el8_4.3, but none of the providers can be installed
  - package sbd-1.5.1-1.el8.x86_64 conflicts with pacemaker-libs < 2.0.5-4 provided by pacemaker-libs-2.0.2-3.el8_1.2.x86_64
  - package sbd-1.5.1-1.el8.x86_64 conflicts with pacemaker-libs < 2.0.5-4 provided by pacemaker-libs-2.0.3-5.el8.x86_64
  - package sbd-1.5.1-1.el8.x86_64 conflicts with pacemaker-libs < 2.0.5-4 provided by pacemaker-libs-2.0.3-5.el8_2.1.x86_64
  - package sbd-1.5.1-1.el8.x86_64 conflicts with pacemaker-libs < 2.0.5-4 provided by pacemaker-libs-2.0.4-6.el8.x86_64
  - package sbd-1.5.1-1.el8.x86_64 conflicts with pacemaker-libs < 2.0.5-4 provided by pacemaker-libs-2.0.4-6.el8_3.1.x86_64
  - package sbd-1.5.1-1.el8.x86_64 conflicts with pacemaker-libs < 2.0.5-4 provided by pacemaker-libs-2.0.4-6.el8_3.2.x86_64
  - cannot install both pacemaker-schemas-2.1.2-4.0.1.el8.noarch and pacemaker-schemas-2.1.0-8.0.1.el8.noarch
  - cannot install both pacemaker-schemas-2.1.2-4.0.1.el8.noarch and pacemaker-schemas-2.0.5-9.0.1.el8_4.1.noarch
  - cannot install both pacemaker-schemas-2.1.2-4.0.1.el8.noarch and pacemaker-schemas-2.0.5-9.0.1.el8_4.3.noarch
  - cannot install the best update candidate for package sbd-1.5.1-1.el8.x86_64
  - cannot install the best update candidate for package pcs-0.10.12-6.0.1.el8_6.1.x86_64
  - cannot install the best update candidate for package pacemaker-schemas-2.1.0-8.0.1.el8.noarch
(try to add '--allowerasing' to command line to replace conflicting packages or '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)

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

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

发布评论

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

评论(1

愚人国度 2025-02-16 13:02:08

我自己今天经历了这个问题。该消息是冗长的,很难阅读。有一个可以更新的软件包(corosynclib),但其依赖关系(CoroSync)没有相应的更新。

本质上,CoroSync软件包位于OL8_ADDONS存储库中,CoroSynClib软件包位于OL8_APPSTREAM存储库中。当前,Corosynclib 3.1.5-2程序包中没有相应的CoroSync 3.1.5-2发布。

我从源(SRPM)软件包(作为测试)构建了CoroSync 3.1.5-2软件包并进行了安装。

rpmbuild --rebuild corosync-3.1.5-2.el8.src.rpm

dnf install corosync-3.1.5-2.el8.rpm

Oraclelinux缺少软件包的原因尚不清楚,也许是一个错误,需要向Oracle报告。

与CoroSync一样,OL8_ADDON和OL8_APPSTREAM存储库中都存在不同的Pacemaker包装版本。幸运的是,可以安装匹配的软件包版本。为了解决情况,我删除了所有起搏器软件包并重新安装:

dnf remove pacemaker*
dnf install pacemaker-2.1.2-4.0.1.el8_6.2

最后,应该进行更新,并且无错误:

dnf update

I have experienced this issue myself today. The message is verbose and hard to read. There is a package that can be updated (corosynclib) but its dependency (corosync) does not have a corresponding update.

Essentially, the corosync package is located in the ol8_addons repository and the corosynclib package is located in the ol8_appstream repository. Currently, there is no corresponding corosync 3.1.5-2 release required by the corosynclib 3.1.5-2 package.

I built the corosync 3.1.5-2 package from the source (SRPM) package (just as a test) and installed it.

rpmbuild --rebuild corosync-3.1.5-2.el8.src.rpm

dnf install corosync-3.1.5-2.el8.rpm

The reason for OracleLinux's missing package is not clear, perhaps it is a mistake and needs reporting to Oracle.

As with corosync, different pacemaker package versions exist in both ol8_addons and ol8_appstream repositories. Fortunately, matching package versions can be installed. To fix the situation I removed all pacemaker packages and installed afresh:

dnf remove pacemaker*
dnf install pacemaker-2.1.2-4.0.1.el8_6.2

Finally, an update should be possible and is error free:

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