Symptoms
When running "yum update" on an AlmaLinux 8 machine, you may be presented with the following error:
Problem 1: cannot install both glibc-devel-2.28-189.1.el8.x86_64 and glibc-devel-2.28-164.el8_5.3.x86_64
- package glibc-static-2.28-164.el8_5.3.x86_64 requires glibc-devel = 2.28-164.el8_5.3, but none of the providers can be installed
- cannot install the best update candidate for package glibc-devel-2.28-164.el8_5.3.x86_64
- problem with installed package glibc-static-2.28-164.el8_5.3.x86_64
Problem 2: package glibc-devel-2.28-164.el8_5.3.x86_64 requires glibc = 2.28-164.el8_5.3, but none of the providers can be installed
- package glibc-static-2.28-164.el8_5.3.x86_64 requires glibc-devel = 2.28-164.el8_5.3, but none of the providers can be installed
- cannot install both glibc-2.28-189.1.el8.x86_64 and glibc-2.28-164.el8_5.3.x86_64
- package libxcrypt-static-4.1.1-6.el8.x86_64 requires glibc-static(x86-64) >= 2.26.9000-46, but none of the providers can be installed
- cannot install the best update candidate for package glibc-2.28-164.el8_5.3.x86_64
- problem with installed package libxcrypt-static-4.1.1-6.el8.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 candidate packages)
Description
Although this issue with the AlmaLinux software, we're tracking this on our end with case UPS-458. Follow this article to receive an email notification when a solution is published in the product.
Workaround
You can run the following commands to resolve the issue on your server:
dnf clean all
yum update