AlmaLinux8 dnf problem cluster software

Hi,

I’m running a AlmaLinux 4.18.0-553.70.1.el8_10.x86_64 two node cluster using corosync/pacemaker/pcs.

Today I tried to update one of the node and run into this problem:

Problem 1: package pacemaker-2.1.7-5.2.el8_10.x86_64 from @System requires pacemaker-cluster-libs(x86-64) = 2.1.7-5.2.el8_10, but none of the providers can be installed - cannot install both pacemaker-cluster-libs-2.1.7-5.3.el8_10.x86_64 from appstream and pacemaker-cluster-libs-2.1.7-5.2.el8_10.x86_64 from @System - cannot install both pacemaker-cluster-libs-2.1.7-5.3.el8_10.x86_64 from appstream and pacemaker-cluster-libs-2.1.7-5.2.el8_10.x86_64 from appstream - cannot install the best update candidate for package pacemaker-cluster-libs-2.1.7-5.2.el8_10.x86_64 - problem with installed package pacemaker-2.1.7-5.2.el8_10.x86_64
Problem 2: package pacemaker-cli-2.1.7-5.2.el8_10.x86_64 from @System requires pacemaker-libs(x86-64) = 2.1.7-5.2.el8_10, but none of the providers can be installed - cannot install both pacemaker-libs-2.1.7-5.3.el8_10.x86_64 from appstream and pacemaker-libs-2.1.7-5.2.el8_10.x86_64 from @System - cannot install both pacemaker-libs-2.1.7-5.3.el8_10.x86_64 from appstream and pacemaker-libs-2.1.7-5.2.el8_10.x86_64 from appstream - cannot install the best update candidate for package pacemaker-libs-2.1.7-5.2.el8_10.x86_64 - problem with installed package pacemaker-cli-2.1.7-5.2.el8_10.x86_64
Problem 3: package pacemaker-cli-2.1.7-5.2.el8_10.x86_64 from @System requires pacemaker-libs(x86-64) = 2.1.7-5.2.el8_10, but none of the providers can be installed - package pacemaker-libs-2.1.7-5.2.el8_10.x86_64 from @System requires pacemaker-schemas = 2.1.7-5.2.el8_10, but none of the providers can be installed - package pacemaker-libs-2.1.7-5.2.el8_10.x86_64 from appstream requires pacemaker-schemas = 2.1.7-5.2.el8_10, but none of the providers can be installed - cannot install both pacemaker-schemas-2.1.7-5.3.el8_10.noarch from appstream and pacemaker-schemas-2.1.7-5.2.el8_10.noarch from @System - cannot install both pacemaker-schemas-2.1.7-5.3.el8_10.noarch from appstream and pacemaker-schemas-2.1.7-5.2.el8_10.noarch from appstream - package pcs-0.10.18-2.el8_10.2.alma.1.x86_64 from @System requires pacemaker-cli >= 2.0.0, but none of the providers can be installed -
cannot install the best update candidate for package pacemaker-schemas-2.1.7-5.2.el8_10.noarch - problem with installed package pcs-0.10.18-2.el8_10.2.alma.1.x86_64
(try to add ‘–allowerasing’ to command line to replace conflicting packages or ‘–skip-broken’ to skip u ninstallable packages or ‘–nobest’ to use not only best candidate packages)

So I tried:

sudo dnf clean all
sudo dnf distro-sync

did not work out, so I tried the “‘–allowerasing” which was not a good idea:

Removed:
kernel-4.18.0-553.47.1.el8_10.x86_64 kernel-core-4.18.0-553.47.1.el8_10.x86_64
kernel-modules-4.18.0-553.47.1.el8_10.x86_64 kernel-modules-extra-4.18.0-553.47.1.el8_10.x86_64
pacemaker-2.1.7-5.2.el8_10.x86_64 pacemaker-cli-2.1.7-5.2.el8_10.x86_64
pcs-0.10.18-2.el8_10.2.alma.1.x86_64 python3-pacemaker-2.1.7-5.2.el8_10.noarch

-So I lost pacemaker and pcs and the cluster stopped working on this node.

I was not able to reinstall the old packages because they were no more available.

The only thing that helped was a complete recovery from backup.

How can I fix this problem ?

Any suggestions are welcome.

Best regards

fatcharly

hi

Looking at the documentation here, DNF handles updates transactionally.

When updating multiple packages, could dependency conflicts be occurring between the old and new packages?
For example, if package A requires an older library B, multiple transactions might run simultaneously, causing dependency conflicts within the packages.

In that case, how about using yum check-update
to gradually update packages one by one to avoid dependency conflicts?

Thanks

※Please take a backup and then verify it.

There is no pacemaker in Alma’s repos?

# dnf -q list pacemaker\*
Available Packages
pacemaker-cluster-libs.i686             2.1.7-5.3.el8_10           appstream
pacemaker-cluster-libs.x86_64           2.1.7-5.3.el8_10           appstream
pacemaker-libs.i686                     2.1.7-5.3.el8_10           appstream
pacemaker-libs.x86_64                   2.1.7-5.3.el8_10           appstream
pacemaker-schemas.noarch                2.1.7-5.3.el8_10           appstream

Conclusions:

  • Alma has provided version 2.1.7-5.2.el8_10 of what it has, and now provides version 2.1.7-5.3.el8_10
  • The pacemaker is from somewhere else, and built with the 2.1.7-5.2.el8_10 libs.

Alma’s repos should have some older versions too:

# dnf -q list --showduplicates pacemaker\*
Available Packages
pacemaker-cluster-libs.i686             2.1.7-5.el8_10             appstream
pacemaker-cluster-libs.x86_64           2.1.7-5.el8_10             appstream
pacemaker-cluster-libs.i686             2.1.7-5.1.el8_10           appstream
pacemaker-cluster-libs.x86_64           2.1.7-5.1.el8_10           appstream
pacemaker-cluster-libs.i686             2.1.7-5.2.el8_10           appstream
pacemaker-cluster-libs.x86_64           2.1.7-5.2.el8_10           appstream
pacemaker-cluster-libs.i686             2.1.7-5.3.el8_10           appstream
pacemaker-cluster-libs.x86_64           2.1.7-5.3.el8_10           appstream
pacemaker-libs.i686                     2.1.7-5.el8_10             appstream
pacemaker-libs.x86_64                   2.1.7-5.el8_10             appstream
pacemaker-libs.i686                     2.1.7-5.1.el8_10           appstream
pacemaker-libs.x86_64                   2.1.7-5.1.el8_10           appstream
pacemaker-libs.i686                     2.1.7-5.2.el8_10           appstream
pacemaker-libs.x86_64                   2.1.7-5.2.el8_10           appstream
pacemaker-libs.i686                     2.1.7-5.3.el8_10           appstream
pacemaker-libs.x86_64                   2.1.7-5.3.el8_10           appstream
pacemaker-schemas.noarch                2.1.7-5.el8_10             appstream
pacemaker-schemas.noarch                2.1.7-5.1.el8_10           appstream
pacemaker-schemas.noarch                2.1.7-5.2.el8_10           appstream
pacemaker-schemas.noarch                2.1.7-5.3.el8_10           appstream

If I use:

[root@postpat1 ~]# yum check-update
ELevate 741 kB/s | 222 kB 00:00
AlmaLinux 8 - BaseOS 17 MB/s | 42 MB 00:02
AlmaLinux 8 - AppStream 13 MB/s | 21 MB 00:01
AlmaLinux 8 - Extras 26 kB/s | 14 kB 00:00
Backup Archiving Recovery Open Sourced (EL_8) 51 kB/s | 37 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 7.3 MB/s | 14 MB 00:01

NetworkManager.x86_64 1:1.40.16-20.el8_10 baseos
NetworkManager-initscripts-updown.noarch 1:1.40.16-20.el8_10 baseos
NetworkManager-libnm.x86_64 1:1.40.16-20.el8_10 baseos
NetworkManager-ppp.x86_64 1:1.40.16-20.el8_10 baseos
NetworkManager-team.x86_64 1:1.40.16-20.el8_10 baseos
NetworkManager-tui.x86_64 1:1.40.16-20.el8_10 baseos
bareos-common.x86_64 24.0.6~pre55.68b648fd2-103.el8 bareos
bareos-filedaemon.x86_64 24.0.6~pre55.68b648fd2-103.el8 bareos
bash.x86_64 4.4.20-6.el8_10 baseos
binutils.x86_64 2.30-127.el8_10 baseos
cpp.x86_64 8.5.0-28.el8_10.alma.1 baseos
cpp.x86_64 8.5.0-28.el8_10.alma.1 appstream
cups-libs.x86_64 1:2.2.6-63.el8_10 baseos
curl.x86_64 7.61.1-34.el8_10.8 baseos
dbus.x86_64 1:1.12.8-27.el8_10 baseos
dbus-common.noarch 1:1.12.8-27.el8_10 baseos
dbus-daemon.x86_64 1:1.12.8-27.el8_10 baseos
dbus-libs.x86_64 1:1.12.8-27.el8_10 baseos
dbus-tools.x86_64 1:1.12.8-27.el8_10 baseos
dnsmasq.x86_64 2.79-35.el8_10 appstream
e2fsprogs.x86_64 1.45.6-7.el8_10 baseos
e2fsprogs-libs.x86_64 1.45.6-7.el8_10 baseos
elfutils.x86_64 0.190-2.el8.alma.1 baseos
elfutils-debuginfod-client.x86_64 0.190-2.el8.alma.1 baseos
elfutils-default-yama-scope.noarch 0.190-2.el8.alma.1 baseos
elfutils-libelf.i686 0.190-2.el8.alma.1 baseos
elfutils-libelf.x86_64 0.190-2.el8.alma.1 baseos
elfutils-libs.i686 0.190-2.el8.alma.1 baseos
elfutils-libs.x86_64 0.190-2.el8.alma.1 baseos
file.x86_64 5.33-27.el8_10 baseos
file-libs.x86_64 5.33-27.el8_10 baseos
gcc.x86_64 8.5.0-28.el8_10.alma.1 baseos
gcc.x86_64 8.5.0-28.el8_10.alma.1 appstream
gcc-gdb-plugin.x86_64 8.5.0-28.el8_10.alma.1 appstream
gcc-plugin-annobin.x86_64 8.5.0-28.el8_10.alma.1 baseos
gcc-plugin-annobin.x86_64 8.5.0-28.el8_10.alma.1 appstream
gnutls.x86_64 3.6.16-8.el8_10.4 baseos
grub2-common.noarch 1:2.02-169.el8_10.alma.1 baseos
grub2-pc.x86_64 1:2.02-169.el8_10.alma.1 baseos
grub2-pc-modules.noarch 1:2.02-169.el8_10.alma.1 baseos
grub2-tools.x86_64 1:2.02-169.el8_10.alma.1 baseos
grub2-tools-efi.x86_64 1:2.02-169.el8_10.alma.1 baseos
grub2-tools-extra.x86_64 1:2.02-169.el8_10.alma.1 baseos
grub2-tools-minimal.x86_64 1:2.02-169.el8_10.alma.1 baseos
iwl100-firmware.noarch 39.31.5.1-133.el8_10.1 baseos
iwl1000-firmware.noarch 1:39.31.5.1-133.el8_10.1 baseos
iwl105-firmware.noarch 18.168.6.1-133.el8_10.1 baseos
iwl135-firmware.noarch 18.168.6.1-133.el8_10.1 baseos
iwl2000-firmware.noarch 18.168.6.1-133.el8_10.1 baseos
iwl2030-firmware.noarch 18.168.6.1-133.el8_10.1 baseos
iwl3160-firmware.noarch 1:25.30.13.0-133.el8_10.1 baseos
iwl3945-firmware.noarch 15.32.2.9-133.el8_10.1 baseos
iwl4965-firmware.noarch 228.61.2.24-133.el8_10.1 baseos
iwl5000-firmware.noarch 8.83.5.1_1-133.el8_10.1 baseos
iwl5150-firmware.noarch 8.24.2.2-133.el8_10.1 baseos
iwl6000-firmware.noarch 9.221.4.1-133.el8_10.1 baseos
iwl6000g2a-firmware.noarch 18.168.6.1-133.el8_10.1 baseos
iwl6000g2b-firmware.noarch 18.168.6.1-133.el8_10.1 baseos
iwl6050-firmware.noarch 41.28.5.1-133.el8_10.1 baseos
iwl7260-firmware.noarch 1:25.30.13.0-133.el8_10.1 baseos
kernel.x86_64 4.18.0-553.78.1.el8_10 baseos
kernel-core.x86_64 4.18.0-553.78.1.el8_10 baseos
kernel-headers.x86_64 4.18.0-553.78.1.el8_10 baseos
kernel-modules.x86_64 4.18.0-553.78.1.el8_10 baseos
kernel-modules-extra.x86_64 4.18.0-553.78.1.el8_10 baseos
kernel-tools.x86_64 4.18.0-553.78.1.el8_10 baseos
kernel-tools-libs.x86_64 4.18.0-553.78.1.el8_10 baseos
libcom_err.i686 1.45.6-7.el8_10 baseos
libcom_err.x86_64 1.45.6-7.el8_10 baseos
libcom_err-devel.x86_64 1.45.6-7.el8_10 baseos
libcurl.x86_64 7.61.1-34.el8_10.8 baseos
libgcc.i686 8.5.0-28.el8_10.alma.1 baseos
libgcc.x86_64 8.5.0-28.el8_10.alma.1 baseos
libgomp.x86_64 8.5.0-28.el8_10.alma.1 baseos
libss.x86_64 1.45.6-7.el8_10 baseos
libstdc++.i686 8.5.0-28.el8_10.alma.1 baseos
libstdc++.x86_64 8.5.0-28.el8_10.alma.1 baseos
libwbclient.x86_64 4.19.4-10.el8_10 baseos
libxslt.x86_64 1.1.32-6.3.el8_10 baseos
linux-firmware.noarch 20250916-133.gitf0f46349.el8_10 baseos
net-snmp-libs.x86_64 1:5.8-31.el8_10 baseos
nspr.x86_64 4.36.0-2.el8_10 appstream
nss.x86_64 3.112.0-4.el8_10 appstream
nss-softokn.x86_64 3.112.0-4.el8_10 appstream
nss-softokn-freebl.i686 3.112.0-4.el8_10 appstream
nss-softokn-freebl.x86_64 3.112.0-4.el8_10 appstream
nss-sysinit.x86_64 3.112.0-4.el8_10 appstream
nss-tools.x86_64 3.112.0-4.el8_10 appstream
nss-util.x86_64 3.112.0-4.el8_10 appstream
openssh.x86_64 8.0p1-26.el8_10 baseos
openssh-clients.x86_64 8.0p1-26.el8_10 baseos
openssh-server.x86_64 8.0p1-26.el8_10 baseos
pacemaker-cluster-libs.x86_64 2.1.7-5.3.el8_10 appstream
pacemaker-libs.x86_64 2.1.7-5.3.el8_10 appstream
pacemaker-schemas.noarch 2.1.7-5.3.el8_10 appstream
pam.i686 1.3.1-38.el8_10 baseos
pam.x86_64 1.3.1-38.el8_10 baseos
platform-python.x86_64 3.6.8-71.el8_10.alma.1 baseos
python3-cryptography.x86_64 3.2.1-8.el8_10 baseos
python3-libs.x86_64 3.6.8-71.el8_10.alma.1 baseos
python3-magic.noarch 5.33-27.el8_10 baseos
python3-perf.x86_64 4.18.0-553.78.1.el8_10 baseos
samba-client-libs.x86_64 4.19.4-10.el8_10 baseos
samba-common.noarch 4.19.4-10.el8_10 baseos
samba-common-libs.x86_64 4.19.4-10.el8_10 baseos
samba-libs.x86_64 4.19.4-10.el8_10 baseos
sos.noarch 4.10.0-4.el8_10 baseos
sudo.x86_64 1.9.5p2-1.el8_10.2 baseos
tar.x86_64 2:1.30-11.el8_10 baseos
which.x86_64 2.21-21.el8_10 baseos
Obsoleting Packages
grub2-tools.x86_64 1:2.02-169.el8_10.alma.1 baseos
grub2-tools.x86_64 1:2.02-167.el8_10.alma.1 @baseos
grub2-tools-efi.x86_64 1:2.02-169.el8_10.alma.1 baseos
grub2-tools.x86_64 1:2.02-167.el8_10.alma.1 @baseos
grub2-tools-extra.x86_64 1:2.02-169.el8_10.alma.1 baseos
grub2-tools.x86_64 1:2.02-167.el8_10.alma.1 @baseos
grub2-tools-minimal.x86_64 1:2.02-169.el8_10.alma.1 baseos
grub2-tools.x86_64 1:2.02-167.el8_10.alma.1 @baseos
kernel-headers.x86_64 4.18.0-553.71.1.el8_10 baseos
kernel-headers.x86_64 4.18.0-553.70.1.el8_10 @baseos
kernel-headers.x86_64 4.18.0-553.72.1.el8_10 baseos
kernel-headers.x86_64 4.18.0-553.70.1.el8_10 @baseos
kernel-headers.x86_64 4.18.0-553.74.1.el8_10 baseos
kernel-headers.x86_64 4.18.0-553.70.1.el8_10 @baseos
kernel-headers.x86_64 4.18.0-553.75.1.el8_10 baseos
kernel-headers.x86_64 4.18.0-553.70.1.el8_10 @baseos
kernel-headers.x86_64 4.18.0-553.76.1.el8_10 baseos
kernel-headers.x86_64 4.18.0-553.70.1.el8_10 @baseos
kernel-headers.x86_64 4.18.0-553.77.1.el8_10 baseos
kernel-headers.x86_64 4.18.0-553.70.1.el8_10 @baseos
kernel-headers.x86_64 4.18.0-553.78.1.el8_10 baseos
kernel-headers.x86_64 4.18.0-553.70.1.el8_10 @baseos

then it looks fine, but when I after this try:

yum update
Last metadata expiration check: 0:01:18 ago on Fri 10 Oct 2025 01:17:04 PM CEST.
Error:
Problem 1: package pacemaker-2.1.7-5.2.el8_10.x86_64 from @System requires pacemaker-cluster-libs(x86-64) = 2.1.7-5.2.el8_10, but none of the providers can be insta lled

  • cannot install both pacemaker-cluster-libs-2.1.7-5.3.el8_10.x86_64 from appstream and pacemaker-cluster-libs-2.1.7-5.2.el8_10.x86_64 from @System
  • cannot install both pacemaker-cluster-libs-2.1.7-5.3.el8_10.x86_64 from appstream and pacemaker-cluster-libs-2.1.7-5.2.el8_10.x86_64 from appstream
  • cannot install the best update candidate for package pacemaker-cluster-libs-2.1.7-5.2.el8_10.x86_64
  • problem with installed package pacemaker-2.1.7-5.2.el8_10.x86_64
    Problem 2: package pacemaker-cli-2.1.7-5.2.el8_10.x86_64 from @System requires pacemaker-libs(x86-64) = 2.1.7-5.2.el8_10, but none of the providers can be installed
  • cannot install both pacemaker-libs-2.1.7-5.3.el8_10.x86_64 from appstream and pacemaker-libs-2.1.7-5.2.el8_10.x86_64 from @System
  • cannot install both pacemaker-libs-2.1.7-5.3.el8_10.x86_64 from appstream and pacemaker-libs-2.1.7-5.2.el8_10.x86_64 from appstream
  • cannot install the best update candidate for package pacemaker-libs-2.1.7-5.2.el8_10.x86_64
  • problem with installed package pacemaker-cli-2.1.7-5.2.el8_10.x86_64
    Problem 3: package pacemaker-cli-2.1.7-5.2.el8_10.x86_64 from @System requires pacemaker-libs(x86-64) = 2.1.7-5.2.el8_10, but none of the providers can be installed
  • package pacemaker-libs-2.1.7-5.2.el8_10.x86_64 from @System requires pacemaker-schemas = 2.1.7-5.2.el8_10, but none of the providers can be installed
  • package pacemaker-libs-2.1.7-5.2.el8_10.x86_64 from appstream requires pacemaker-schemas = 2.1.7-5.2.el8_10, but none of the providers can be installed
  • cannot install both pacemaker-schemas-2.1.7-5.3.el8_10.noarch from appstream and pacemaker-schemas-2.1.7-5.2.el8_10.noarch from @System
  • cannot install both pacemaker-schemas-2.1.7-5.3.el8_10.noarch from appstream and pacemaker-schemas-2.1.7-5.2.el8_10.noarch from appstream
  • package pcs-0.10.18-2.el8_10.2.alma.1.x86_64 from @System requires pacemaker-cli >= 2.0.0, but none of the providers can be installed
  • cannot install the best update candidate for package pacemaker-schemas-2.1.7-5.2.el8_10.noarch
  • problem with installed package pcs-0.10.18-2.el8_10.2.alma.1.x86_64
    (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 can didate packages)

The Problem still exists. Is there maybye a problem with the two repos @System and appstream ?

Because nothing has been done to solve it yet.


Run these to get some more info:

dnf -q list --showduplicates pacemaker
dnf -q info pacemaker
dnf -q history list pacemaker

ok:

[root@postpat1 ~]# dnf -q list --showduplicates pacemaker
Installed Packages
pacemaker.x86_64 2.1.7-5.2.el8_10 @System
[root@postpat1 ~]# dnf -q info pacemaker
Installed Packages
Name : pacemaker
Version : 2.1.7
Release : 5.2.el8_10
Architecture : x86_64
Size : 1.3 M
Source : pacemaker-2.1.7-5.2.el8_10.src.rpm
Repository : @System
Summary : Scalable High-Availability cluster resource manager
URL : https://www.clusterlabs.org/
License : GPL-2.0-or-later AND LGPL-2.1-or-later
Description : Pacemaker is an advanced, scalable High-Availability cluster resource
: manager.
:
: It supports more than 16 node clusters with significant capabilities
: for managing resources and dependencies.
:
: It will run scripts at initialization, when machines go up or down,
: when related resources fail and can be configured to periodically check
: resource health.
:
: Available rpmbuild rebuild options:
: --with(out) : cibsecrets hardening nls pre_release profiling
: stonithd

[root@postpat1 ~]# dnf -q history list pacemaker

[root@postpat1 ~]#

no history list for pacemaker

You have pacemaker version 2.1.7-5.2.el8_10 installed.
The dnf does not know where it is installed from – it is in no currently known repo.
The dnf does not know when and how the package was installed.


Short-term, one can simply remove the pacemaker package to allow updates to everything else.
However, if you do need its functionality, then you have to figure out how to get that back.

so maybe I remove pacemaker do the updates and afterwards try to reinstall pacemaker from the normal alma repo ?

Yes, but there is no package pacemaker in “normal alma repo” …

Hi,

ok here is how I solved it:

dnf remove pacemaker

dnf remove pacemaker-libsdnf

remove pacemaker-schemas

→ so all packages with a problem have been removed.

dnf update

reboot

dnf config-manager --set-enabled ha
dnf install pcs pacemaker

and so all worked as before.

Thanks everybody for your input

Best regards

fatcharly