This article covers how to resolve Package conflict errors with ea-nginx on CloudLinux. Basically, Cloudlinux servers with ea-nginx, yum or cPanel updates tend to fall with this error.
On Cloudlinux servers where already packages for ModSecurity2 are installed (ea-modsec-sdbm-util & ea-apache24-mod_security2), trying to install ea-nginx or run a yum update/cPanel update fails because as a part of ea-nginx dependencies, some of ModSecurity3 packages (ea-modsec30 & ea-modsec30-connector-nginx) will also be attempted to be installed, and that causes a conflict between the packages belonging to ModSecuirty2 and Modsecurity3, which in turn causes yum and UPCP to fail.
To resolve systems that are currently experiencing this error, update EA packages to the beta branch:
$ yum update ea-* --enablerepo=cl-ea4-testing
To install ea-nginx on affected systems using the beta repository, install it with the following command:
$ yum install ea-nginx --enablerepo=cl-ea4-testing