Symptoms
On an RHEL 7 server, you see errors like these when you try to update EasyApache or run /scripts/rpmup
:
Error: Package: ea-libzip-1.7.3-1.1.5.cpanel.x86_64 (EA4)
Requires: lzma
Error: Package: 32:bind-devel-9.9.4-51.el7_4.2.x86_64 (@rhel-7-server-optional-rpms)
You could try using --skip-broken to work around the problem
Description
These errors appear if you do not enable the RHEL optional RPMs repo on your server. Note that you should enable this repo before you install cPanel onto the server, as stated in our documentation here:
Red Hat Enterprise Linux System Requirements
Workaround
Run this command as root to subscribe the server to the optional RPMs repo:
subscription-manager repos --enable rhel-7-server-optional-rpms