Applicable to:
- Plesk for Linux
Symptoms
- An attempt to install Plesk or one of its packages, for example, Modsecurity, fails with the following error:
CONFIG_TEXT: Error while downloading packages metainfo: No package(s) available to install. Trying again.
Failed to install mod_python:
Number of retries is exceeded.
InstallError: No package(s) available to install
ERROR: The Yum utility failed to install the required packages.
Attention! Your software might be inoperable.OR
CONFIG_TEXT: Exception: Failed to solve dependencies:
psa-drweb-configurator-17.5.3-cos7.build1705170317.16.x86_64 requires glibc(x86-32)
Error: The Yum utility failed to install the required packages. - The following error can be observed in the
/var/log/plesk/install/autoinstaller3.log
:CONFIG_TEXT: InstallError: No package(s) available to install
- Yum configuration file contains the
exclude
directives:# grep exclude /etc/yum.conf
exclude=apache* httpd* mod_* mysql* MySQL* da_* *ftp* exim* sendmail* php* bind-chroot* grub2* grubby* *.i?86
Cause
Yum is configured to prevent certain RPM packages from being considered by yum for installation or upgrade. This is done by enabling
exclude
directives in the
/etc/yum.conf
.
Resolution
- Login to Plesk via SSH;
- Comment out the
exclude
directive string in the/etc/yum.conf
:CONFIG_TEXT: #exclude=apache* httpd* mod_* mysql* MySQL* da_* *ftp* exim* sendmail* php* bind-chroot*
Note: Alternatively, remove from specific package from
exclude
directive that is required for futher installaton:For example, glibc 32-bit is required for psa-drweb-configurator package. So, remove the *.i?86 exclusion from the configuration file
/etc/yum.conf
:Before:
# grep exclude /etc/yum.conf
exclude=apache* httpd* mod_* mysql* MySQL* da_* *ftp* exim* sendmail* php* bind-chroot* grub2* grubby* *.i?86After:
# grep exclude /etc/yum.conf
exclude=apache* httpd* mod_* mysql* MySQL* da_* *ftp* exim* sendmail* php* bind-chroot* grub2* grubby*
Comments
0 comments
Please sign in to leave a comment.