This article will walk you through replacing EasyApache4 packages with CloudLinux EA4 packages.
We first want to ensure that the EA4 yum repo has been disabled:
yum-config-manager --disable EA4
Next, we can run the CloudLinux conversion script which will handle swapping all of the packages as needed:
wget https://repo.cloudlinux.com/cloudlinux/sources/cloudlinux_ea3_to_ea4 && sh cloudlinux_ea3_to_ea4 --convert
More information on this script can be found in the CloudLinux documentation here.