Issue
Unable to complete `yum update` due to package being provided by 2 repos:
# yum update
This system is receiving updates from CloudLinux Network server.
Last metadata expiration check: 0:10:06 ago on Thu 21 Nov 2024 12:15:09 PM EST.
Error:
Problem 1: package glibc-locale-source-2.34-100.el9_4.4.x86_64 from @System requires glibc-common = 2.34-100.el9_4.4, but none of the providers can be installed
- cannot install both glibc-common-2.34-125.el9_5.1.x86_64 from repo.cloudlinux.com_cloudlinux_9_BaseOS_x86_64_os_ and glibc-common-2.34-100.el9_4.4.x86_64 from @System
- cannot install both glibc-common-2.34-125.el9_5.1.x86_64 from repo.cloudlinux.com_cloudlinux_9_BaseOS_x86_64_os_ and glibc-common-2.34-100.el9_4.4.x86_64 from baseos
- cannot install the best update candidate for package glibc-locale-source-2.34-100.el9_4.4.x86_64
- cannot install the best update candidate for package glibc-common-2.34-100.el9_4.4.x86_64
Problem 2: package libstdc++-devel-11.4.1-3.el9.alma.1.x86_64 from @System requires libstdc++(x86-64) = 11.4.1-3.el9.alma.1, but none of the providers can be installed
- cannot install both libstdc++-11.5.0-2.el9.alma.1.x86_64 from repo.cloudlinux.com_cloudlinux_9_BaseOS_x86_64_os_ and libstdc++-11.4.1-3.el9.alma.1.x86_64 from @System
- cannot install both libstdc++-11.5.0-2.el9.alma.1.x86_64 from repo.cloudlinux.com_cloudlinux_9_BaseOS_x86_64_os_ and libstdc++-11.4.1-3.el9.alma.1.x86_64 from baseos
- cannot install the best update candidate for package libstdc++-devel-11.4.1-3.el9.alma.1.x86_64
- cannot install the best update candidate for package libstdc++-11.4.1-3.el9.alma.1.x86_64
Problem 3: package libtiff-devel-4.4.0-12.el9_4.1.x86_64 from @System requires libtiff(x86-64) = 4.4.0-12.el9_4.1, but none of the providers can be installed
- cannot install both libtiff-4.4.0-13.el9.x86_64 from repo.cloudlinux.com_cloudlinux_9_BaseOS_x86_64_os_ and libtiff-4.4.0-12.el9_4.1.x86_64 from @System
- cannot install both libtiff-4.4.0-13.el9.x86_64 from repo.cloudlinux.com_cloudlinux_9_BaseOS_x86_64_os_ and libtiff-4.4.0-12.el9_4.1.x86_64 from appstream
- cannot install the best update candidate for package libtiff-devel-4.4.0-12.el9_4.1.x86_64
- cannot install the best update candidate for package libtiff-4.4.0-12.el9_4.1.x86_64
Problem 4: package pam-devel-1.5.1-19.el9.x86_64 from @System requires pam(x86-64) = 1.5.1-19.el9, but none of the providers can be installed
- cannot install both pam-1.5.1-20.el9.x86_64 from repo.cloudlinux.com_cloudlinux_9_BaseOS_x86_64_os_ and pam-1.5.1-19.el9.x86_64 from @System
- cannot install both pam-1.5.1-20.el9.x86_64 from repo.cloudlinux.com_cloudlinux_9_BaseOS_x86_64_os_ and pam-1.5.1-19.el9.x86_64 from baseos
- cannot install the best update candidate for package pam-devel-1.5.1-19.el9.x86_64
- cannot install the best update candidate for package pam-1.5.1-19.el9.x86_64
Environment
- CloudLinux 9.4
- cPanel
Solution
1. Backup the CloudLinux OS 9 repo:
mv /etc/yum.repos.d/repo.cloudlinux.com_cloudlinux_9_BaseOS_x86_64_os_.repo{,.bak}
2. Clean and recreate yum/dnf cache :
dnf clean all && dnf makecache
The update then goes successfully using `cloudlinux-x86_64-server-9` repo:
~]# yum update
This system is receiving updates from CloudLinux Network server.
cloudlinux-x86_64-server-9 11 MB/s | 13 MB 00:01
Dependencies resolved.
Nothing to do.
Complete!
Cause
Repo conflict.
Comments
0 comments
Article is closed for comments.