Plesk Autoinstaller fails due to PHP dependencies

Created:

2016-11-16 12:57:27 UTC

Modified:

2017-07-04 11:51:26 UTC

4

Was this article helpful?


Have more questions?

Submit a request

Plesk Autoinstaller fails due to PHP dependencies

Applicable to:

  • Plesk 12.5 for Linux
  • Plesk Onyx for Linux
  • Plesk 11.0 for Linux
  • Plesk 11.5 for Linux
  • Plesk 12.0 for Linux

Symptoms

  1. Automatic updates failed with following error:

    Exception: Failed to solve dependencies:
    php-mbstring-5.3.3-22.el6.x86_64 requires php-common(x86-64) = 5.3.3-22.el6
    php-imap-5.3.3-22.el6.x86_64 requires php-common(x86-64) = 5.3.3-22.el6

    ERROR: The Yum utility failed to install the required packages.
    Attention! Your software might be inoperable.
  2. The same error was there when tried to run autoinstaller from command line. The following output is in autoinstaller3.log file:

    Try to find rcfile...
    Autoinstaller rcfile not found.
    Read component settings from /root/.autoinstaller/options.ini
  3. When entering Updates and upgrades in Plesk > Tools & Settings , the following error occurs:

    Can't connect to backend: No such file or directory

Cause

Yum utility was trying to search for the updates of php-common package from RHEL repository though all the Plesk compatible packages were properly installed.

As the latest package of php-common was available in RHEL repository, it was trying to update to the same version, but finally showed dependency errors comparing with other packages.

Resolution

Add the following line to yum configuration file (/etc/yum.conf) that would exclude the updates of packages through yum:

exclude=php-common php-cli php
Have more questions? Submit a request
Please sign in to leave a comment.