Articles in this section

Plesk Update fails on CentOS: Failed to solve dependencies: php-process-5.4.16

Plesk for Linux kb: technical

Applicable to:

  • Plesk for Linux

Symptoms

  • Plesk Installer fails with the message:

    CONFIG_TEXT: Exception: Failed to solve dependencies:
    php-process-5.4.16-48.el7.x86_64 requires php-common(x86-64) = 5.4.16-48.el7

  • PHP 5.4 by the OS vendor is installed on the server:

    # rpm -qa | grep php-5.4
    php-5.4.45-56.el7.art.x86_64

  • When installing the php-process package manually, the operation fails due to package dependencies:

    # yum install php-process
    ...
    Resolving Dependencies
    --> Running transaction check
    ---> Package php-process.x86_64 0:5.4.16-48.el7 will be installed
    --> Processing Dependency: php-common(x86-64) = 5.4.16-48.el7 for package: php-process-5.4.16-48.el7.x86_64
    --> Finished Dependency Resolution
    Error: Package: php-process-5.4.16-48.el7.x86_64 (base)
        Requires: php-common(x86-64) = 5.4.16-48.el7
        Installed: php-common-5.4.45-56.el7.art.x86_64 (@atomic)
            php-common(x86-64) = 5.4.45-56.el7.art
        Available: php-common-5.4.16-48.el7.x86_64 (base)
            php-common(x86-64) = 5.4.16-48.el7

Cause

PHP 5.4.45 was installed from a non-default repository, while dependent packages were installed from the default (Centos-Base) repository. PHP 5.4 version that comes from default repository is 5.4.16.

Resolution

 

Remove PHP 5.4 if it is not required

 

If PHP 5.4 is not required, remove PHP 5.4 via Plesk installer.

Note: If some domains are using this PHP version, change PHP version to any other:

 

Reinstall PHP 5.4 if it is required

 

  1. Connect to the Plesk server via SSH.

  2. Reinstall PHP 5.4 via Plesk Installer:

    2.1. Uninstall PHP 5.4:

    # plesk installer --select-release-current --remove-component phpgroup

    2.2. Install it back:

    # plesk installer --select-release-current --install-component phpgroup

  3. Rerun Plesk Update.

 

Was this article helpful?

Comments

1 comment
Date Votes
  • Trying to find a way to do what this message says and submit the log

    0

Please sign in to leave a comment.