Issue Summary
When attempting to update a CloudLinux system using yum update --nobest, the following conflict occurred:
Problem: cannot install both ea-profiles-cpanel-4:1.0-53.el8.cloudlinux.1.x86_64 from cloudlinux-x86_64-server-8 and ea-profiles-cpanel-5:1.0-71.73.1.cpanel.x86_64 from @System
The system was unable to install the best update candidate due to conflicts between ea-profiles-cpanel and ea-profiles-cloudlinux.
Solution
Step 1: Check Installed Packages
Run the following command to check the currently installed ea-profiles packages:
rpm -q ea-profiles-cpanel
Step 2: Force Remove the Conflicting Package
To resolve the conflict, forcibly remove ea-profiles-cpanel without dependency checks:
rpm -e --nodeps ea-profiles-cpanel
Step 3: Perform the Update
After removal, update the system using:
yum update --best --allowerasing -y
You may need to run this command twice to ensure a complete update.
Step 4: Verify Installed Packages
After the update completes, verify that the correct version of ea-profiles-cpanel is installed:
rpm -q ea-profiles-cpanel
If ea-profiles-cloudlinux was removed and is needed, reinstall it:
yum install ea-profiles-cloudlinux -y
Conclusion
By forcefully removing the conflicting package and updating the system with --best --allowerasing, the issue was successfully resolved. If similar conflicts occur in the future, follow the same steps to diagnose and resolve the package dependencies.
If you continue to experience issues, consult CloudLinux and cPanel documentation or reach out to support.
