Symptoms
Upon installing mod_passenger or mod_alt_passenger in EasyApache 4, you get a similar error:
[2021-06-27 11:26:56 +0700] info [xml-api] Package ea-apache24-mod-alt-passenger-5.3.7-13.el7.cloudlinux.x86_64 is obsoleted by 1:ea-ruby27-mod_passenger-6.0.6-6.el7.cloudlinux.4.x86_64 which is already installed
Description
The issue is caused by CloudLinux stopping support for mod_passenger and mod_alt passenger in favor of ea-ruby24-mod_passenger and ea-ruby27-mod_passenger.
We have deprecated ea-apache24-mod-alt-passenger in favor of ea-ruby24-mod_passenger and ea-ruby27-mod_passenger.
The ea-ruby24-mod_passenger package obsoletes the ea-apache24-mod-alt-passenger package on CloudLinux OS 6, the ea-ruby27-mod_passenger package – on CloudLinux OS 7 and CloudLinux OS 8.
Workaround
No workaround is needed, if you do not have ea-ruby24-mod_passenger or ea-ruby27-mod_passenger installed, EasyApache 4 will install the one supported by your operating system instead of mod_passenger and mod_alt passenger.
If you already have ea-ruby24-mod_passenger or ea-ruby27-mod_passenger installed you will receive a message saying that mod[_alt]_passenger is obsolete.