Issue
"yum update"shown an error:
# yum update
This system is receiving updates from CloudLinux Network server.
...
Error:
Problem 1: package libstdc++-devel-8.5.0-16.el8_7.alma.x86_64 requires libstdc++(x86-64) = 8.5.0-16.el8_7.alma, but none of the providers can be installed
- cannot install both libstdc++-8.5.0-18.el8.alma.x86_64 and libstdc++-8.5.0-16.el8_7.alma.x86_64
- cannot install the best update candidate for package libstdc++-devel-8.5.0-16.el8_7.alma.x86_64
- cannot install the best update candidate for package libstdc++-8.5.0-16.el8_7.alma.x86_64
Environment
- Yum/Dnf
- CloudLinux OS
- CloudLinux OS 8
Solution
- Check for presence "BaseOS" repository automatically generated with DNF.
# yum repolist | grep -i "cloudlinux_8_BaseOS_x86_64"
...
repo.cloudlinux.com_cloudlinux_8_BaseOS_x86_64_os_ created by dnf config-manager from https://repo.cloudlinux.com/cloudlinux/8/BaseOS/x86_64/os/ - Remove the repository file and clean yum's cache:
# mv /etc/yum.repos.d/repo.cloudlinux.com_cloudlinux_8_BaseOS_x86_64_os_.repo{,.old}
# yum clean all
# yum makecache
Cause
The leftover BaseOS repository that was used before the registration procedure contains outdated packages.
Comments
0 comments
Please sign in to leave a comment.