Symptoms
Plesk installation fails on Red Hat Enterprise Linux with one of the following error messages:
Exception: Failed to solve dependencies: php-mbstring-5.4.16-23.el7_0.3.x86_64 requires php-common(x86-64) = 5.4.16-23.el7_0.3
ERROR: The Yum utility failed to install the required packages. Attention! Your software might be inoperable.
Exception: Failed to solve dependencies: php-imap-5.3.3-46.el6_6.x86_64 requires php-common(x86-64) = 5.3.3-46.el6_6php-mbstring-5.3.3-46.el6_6.x86_64 requires php-common(x86-64) = 5.3.3-46.el6_6
ERROR: The Yum utility failed to install the required packages.Attention! Your software might be inoperable.
Plesk installation requires 'codeready-builder-for-rhel-8-x86_64-rpms' OS repository to be enabled.
Cause
Optional RedHat repositories are not enabled.
Resolution
Note: To enable the Red Hat repositories, the system has to be registered according to Red Hat instructions
-
Connect to the server via SSH
-
Enable optional packages repository using the following command:
Note: The command may result an error, but the repository will be enabled.
-
for RHEL 8:
# subscription-manager repos --enable=codeready-builder-for-rhel-8-x86_64-rpms
-
for RHEL 7:
# subscription-manager repos --enable=rhel-7-server-optional-rpms
-
for RHEL 6:
# subscription-manager repos --enable=rhel-6-server-optional-rpms
-
-
Verify that repository has been enabled:
# yum repolist enabled
-
Rerun Plesk installation