Symptoms
-
Installing or updating Plesk on the CloudLinux OS fails (the same error message is also available in the log file
/var/log/plesk/install/autoinstaller3.log
):# sh <(curl https://autoinstall.plesk.com/one-click-installer || wget -O - https://autoinstall.plesk.com/one-click-installer)
...
Exception: Failed to solve dependencies:
psa-updates-17.8.11-rhel6.build1708200211.19.noarch requires nss >= 3.44.0-7.el6_10
plesk-php70-pspell-7.0.33-centos7.18120712.x86_64 requires libpspell.so.15()(64bit)
sw-engine-cli-2.24-2.24.11-0centos.7.181127.1152.x86_64 requires libicuuc.so.50()(64bit)
plesk-php70-imagick-3.4.3-centos7.18021515.x86_64 requires libMagickWand.so.5()(64bit)
1:plesk-php73-intl-7.3.0-centos7.18121116.x86_64 requires libicui18n.so.50()(64bit)
plesk-core-17.8.11-cos7.build1708180301.19.x86_64 requires perl-Text-Iconv
...
Error: The Yum utility failed to install the required packages.
Attention! Your software might be inoperable.
Please contact product technical support. -
The CloudLinux repository is shown as disabled:
# yum repolist | egrep ^cloudlinux | egrep server
(Empty Output) -
The CloudLinux repository is disabled in the file
/etc/yum.repos.d/cloudlinux.repo
:# egrep ^[cloudlinux|enabled /etc/yum.repos.d/cloudlinux.repo
[cloudlinux-base]
enabled=0
[cloudlinux-updates]
enabled=0
... -
CloudLinux plugin for YUM
yum-rhn-plugin
is installed but it is disabled:# cat /etc/yum/pluginconf.d/rhnplugin.conf
[main]
enabled = 0
...
Cause
By default, CloudLinux repository is disabled because it is managed by CloudLinux YUM plugin yum-rhn-plugin
. As this plugin is disabled, the CloudLinux repository remains disabled.
Resolution
-
Connect into the server using SSH.
-
Back up the file
/etc/yum/pluginconf.d/rhnplugin.conf
:# cp -a /etc/yum/pluginconf.d/rhnplugin.conf{,.backup}
-
Enable the CloudLinux YUM plugin:
# sed -i 's/^enabled = 0/enabled = 1/' /etc/yum/pluginconf.d/rhnplugin.conf
-
Verify that the CloudLinux repository became enabled:
# yum repolist
...
cloudlinux-imunify360/7/x86_64 CloudLinux-7 - Imunify360 756
cloudlinux-x86_64-server-7 CloudLinux Server 7 x86_64 47,408
repolist: 48,164