While working with CloudLinux 9, you may encounter the following error during system updates:
Problem 1: package python3-rhn-check-1:2.11.5-1.el9.cloudlinux.x86_64 from cloudlinux9 requires rhn-check = 1:2.11.5-1.el9.cloudlinux, but none of the providers can be installed
- cannot install the best update candidate for package python3-rhn-check-1:2.11.2-1.el9.cloudlinux.x86_64
This issue can arise due to several reasons including package exclusions, outdated release files, or repository conflicts. Here’s a step-by-step guide to resolving this problem.
✅ Step 1: Remove Iptables
In some cases, the presence of iptables-services conflicts with dependencies.
yum remove iptables-services -y
✅ Step 2: Check for Excluded Packages
One of the common causes is that the required package is being excluded in YUM or DNF configuration.
Check the exclude line in /etc/yum.conf
:
cat /etc/yum.conf
Look for lines like this:
exclude=bind-chroot dovecot* exim* filesystem kernel-modules nsd* p0f php* proftpd* pure-ftpd*
If you see rhn-check
or other related packages, remove them from the exclude line.
Then run:
yum update
✅ Step 3: Ensure cloudlinux-release is Up-to-date
Verify the version of cloudlinux-release:
rpm -q cloudlinux-release
Check the latest version from the official changelog: CloudLinux Changelog
If outdated, update it:
yum update cloudlinux-release
Clean cache and rebuild:
yum clean all && yum makecache
yum update
✅ Step 4: Check for Third-party Repository Conflicts
Sometimes, conflicts occur with packages from third-party repositories like EPEL.
Temporarily disable the EPEL repository:
yum update --disablerepo=epel
Or disable it permanently:
yum-config-manager --disablerepo=epel
✅ Step 5: As a Last Resort — Skip Best Candidate Check (Not Recommended)
You can bypass the best candidate check if nothing else works (use with caution!):
Edit /etc/yum.conf
and set:
best=False
Then:
yum clean all && yum makecache
yum update
✅ Conclusion
This issue often comes down to repository conflicts, outdated release packages, or exclusions in yum configurations. By carefully following the steps above, you should be able to resolve the python3-rhn-check
dependency issue and keep your CloudLinux 9 server updated and stable.
If this guide helped you, consider bookmarking it for future reference!