Plesk upgrade failed: Failed to solve dependencies

Created:

2016-11-16 12:41:28 UTC

Modified:

2017-04-24 11:16:09 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Plesk upgrade failed: Failed to solve dependencies

Applicable to:

  • Plesk 12.5 for Linux
  • Plesk 12.0 for Linux

Symptoms

Plesk upgrade failed. After Plesk autoinstaller restart it is not possible to continue it due to error with similar message:

Attempt to remove 'policycoreutils' to resolve conflict has succeeded
Exception: Failed to solve dependencies:
plesk-web-hosting-12.5.30-cos6.build1205150826.19.x86_64 requires httpd
awstats-7.4-centos6.15081814.noarch requires httpd
psa-mod_rpaf-0.6.1-centos6.15101516.x86_64 requires httpd
psa-php5-configurator-1.7.0-cos6.build1205150820.19.x86_64 requires httpd
psa-mnemo-4.2.6-cos6.build1205150819.14.noarch requires plesk-mysql-server >= 12.5.30
psa-kronolith-4.2.8-cos6.build1205150819.14.noarch requires plesk-mysql-server >= 12.5.30
plesk-core-12.5.30-cos6.build1205150826.19.x86_64 requires openssh-clients
plesk-config-troubleshooter-12.5.30-cos6.build1205150826.19.x86_64 requires plesk-mysql-server >= 12.5.30
...
...
Error: The Yum utility failed to install the required packages.
Attention! Your software might be inoperable.
Please, contact product technical support.

In /var/log/plesk/install/autoinstaller3.log it is possible to find similar error:

memory alloc (2334172 bytes) returned NULL

or

After upgrade to Plesk Onyx in Tools & Settings > Server Components psa component is shown with incorrect version (see screenshot)

psa2.png

Cause

Failed memory allocation during Plesk upgrade.

Resolution

  1. Make sure that the server has enough free memory and diskspace.

  2. Check for duplicate packages with the command below:

    #  package-cleanup --dupes

    package-cleanup utility is provided by yum-utils package. Make sure that you have this package installed.

  3. Make sure that important packages will not be removed. Remove duplicates using either of the following methods:

    3.1. Cleanup packages database:

    # package-cleanup --cleandupes

    3.2. Remove exact duplicate package manually(make sure that you removing older version of package), for example:

    # rpm -e policycoreutils-2.0.83-19.47.el6_6.1.x86_64 --nodeps
  4. Continue upgrade.

Note: In case of Segmentation Fault error at the second attempt to run Plesk autoinstaller, use the following article Plesk upgrade fails with a Segmentation fault error .

Have more questions? Submit a request
Please sign in to leave a comment.