Symptoms
-
Plesk upgrade fails with the following error message in
/var/log/plesk/install/autoinstaller3.log
:Fatal error during packages installation: [u'ERROR with transaction check vs depsolve:', 'php-imap is needed by psa-php5-configurator-1.7.0-cos7.build1708180212.17.x86_64', 'php-mbstring is needed by psa-php5-configurator-1.7.0-cos7.build1708180212.17.x86_64', 'php-mysql is needed by psa-php5-configurator-1.7.0-cos7.build1708180212.17.x86_64']
-
PHP is being used from IUS Repository:
# rpm -qf /usr/bin/php
php70u-cli-7.0.30-1.ius.centos7.x86_64
Cause
Upgrading Plesk using IUS Repository is not supported.
Resolution
-
Connect to the server via SSH
-
Find all packages related to IUS:
# rpm -qa | grep -i ius
php71u-mbstring-7.1.26-1.ius.centos7.x86_64
ius-release-1.0-15.ius.centos7.noarch
yum-plugin-replace-0.2.7-1.ius.centos7.noarch
php71u-pdo-7.1.26-1.ius.centos7.x86_64
php71u-gd-7.1.26-1.ius.centos7.x86_64
php71u-xml-7.1.26-1.ius.centos7.x86_64
php71u-json-7.1.26-1.ius.centos7.x86_64
php71u-imap-7.1.26-1.ius.centos7.x86_64
php71u-cli-7.1.26-1.ius.centos7.x86_64
php71u-gmp-7.1.26-1.ius.centos7.x86_64
php71u-mysqlnd-7.1.26-1.ius.centos7.x86_64
php71u-process-7.1.26-1.ius.centos7.x86_64
php71u-fpm-7.1.26-1.ius.centos7.x86_64 -
Remove IUS release:
# yum remove ius-release
-
Remove PHP packages found on step 2 using
rpm -e --nodeps
command as follows:# rpm -e –nodeps php71u-mbstring-7.1.26-1.ius.centos7.x86_64 php71u-pdo-7.1.26-1.ius.centos7.x86_64 php71u-gd-7.1.26-1.ius.centos7.x86_64 php71u-xml-7.1.26-1.ius.centos7.x86_64 php71u-json-7.1.26-1.ius.centos7.x86_64 php71u-imap-7.1.26-1.ius.centos7.x86_64 php71u-cli-7.1.26-1.ius.centos7.x86_64 php71u-gmp-7.1.26-1.ius.centos7.x86_64 php71u-mysqlnd-7.1.26-1.ius.centos7.x86_64 php71u-process-7.1.26-1.ius.centos7.x86_64 php71u-fpm-7.1.26-1.ius.centos7.x86_64
-
Remove
psa-php5-configurator
package:# rpm -e –nodeps psa-php5-configurator