• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Issue update error 18.0.47 #5 to 18.0.48

moswak

Regular Pleskian
Server operating system version
CentOS 7.9
Plesk version and microupdate number
18.0.47 Update #5
Plesk 18.0.47 #5
CentOS 7.9

when updating from 18.0.47 Update #5 to 18.0.48 i get the following error

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

Does anyone know where exactly the problem is and how I can solve it?
 
>requires php-common(x86-64) = 5.4.16-48.el7

this is already installed
#yum install php-common
#Package matching php-common-5.4.16-48.el7.x86_64 already installed.

but

#yum install php-process
#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.6.27-1.el7.remi.x86_64 (@Remi-php56)
#Available: php-common-5.4.16-48.el7.x86_64 (base)

why didn't this cause any problems with previous Plesk upgrades but now it does?
 
It seems that you are using packages from different repositories. Such a mixture can create dependency issues. As a workaround: Could it be an option for you to remove the outdated PHP version altogether? PHP 5.4 and 5.6 are both very old.
 
few years ago the OS PHP version was upgraded from php5.4 to php5.6. the remi repro has also been deactivated since then.

you mean I should remove the OS-PHP completely?
Plesk PHP versions 5.4 and 5.6 are still required on the server.

I don't understand why there is suddenly a problem. over the years, plesk has had no problem upgrading to a new version.
 
I don't understand why there is suddenly a problem. over the years, plesk has had no problem upgrading to a new version.
Plesk is constantly changing, and support for such ancient versions of PHP, even with third-party repositories enabled, would have been discontinued sooner or later.
 
You can solve your problem following these steps.

#wget http://mirror.centos.org/centos/7/os/x86_64/Packages/php-common-5.4.16-48.el7.x86_64.rpm
#wget http://mirror.centos.org/centos/7/os/x86_64/Packages/php-5.4.16-48.el7.x86_64.rpm
#wget http://mirror.centos.org/centos/7/os/x86_64/Packages/php*-5.4.16-48.el7.x86_64.rpm
#wget http://mirror.centos.org/centos/7/os/x86_64/Packages/php-5.4.16-48.el7.x86_64.rpm
#wget http://mirror.centos.org/centos/7/os/x86_64/Packages/php-bcmath-5.4.16-48.el7.x86_64.rpm
#wget http://mirror.centos.org/centos/7/os/x86_64/Packages/php-cli-5.4.16-48.el7.x86_64.rpm
#wget http://mirror.centos.org/centos/7/os/x86_64/Packages/php-common-5.4.16-48.el7.x86_64.rpm
#wget http://mirror.centos.org/centos/7/os/x86_64/Packages/php-dba-5.4.16-48.el7.x86_64.rpm
#wget http://mirror.centos.org/centos/7/os/x86_64/Packages/php-devel-5.4.16-48.el7.x86_64.rpm
#wget http://mirror.centos.org/centos/7/os/x86_64/Packages/php-embedded-5.4.16-48.el7.x86_64.rpm
#wget http://mirror.centos.org/centos/7/os/x86_64/Packages/php-enchant-5.4.16-48.el7.x86_64.rpm
#wget http://mirror.centos.org/centos/7/os/x86_64/Packages/php-fpm-5.4.16-48.el7.x86_64.rpm
#wget http://mirror.centos.org/centos/7/os/x86_64/Packages/php-gd-5.4.16-48.el7.x86_64.rpm
#wget http://mirror.centos.org/centos/7/os/x86_64/Packages/php-intl-5.4.16-48.el7.x86_64.rpm
#wget http://mirror.centos.org/centos/7/os/x86_64/Packages/php-ldap-5.4.16-48.el7.x86_64.rpm
#wget http://mirror.centos.org/centos/7/os/x86_64/Packages/php-mbstring-5.4.16-48.el7.x86_64.rpm
#wget http://mirror.centos.org/centos/7/os/x86_64/Packages/php-mysql-5.4.16-48.el7.x86_64.rpm
#wget http://mirror.centos.org/centos/7/os/x86_64/Packages/php-mysqlnd-5.4.16-48.el7.x86_64.rpm
#wget http://mirror.centos.org/centos/7/os/x86_64/Packages/php-odbc-5.4.16-48.el7.x86_64.rpm
#wget http://mirror.centos.org/centos/7/os/x86_64/Packages/php-pdo-5.4.16-48.el7.x86_64.rpm
#wget http://mirror.centos.org/centos/7/os/x86_64/Packages/php-pear-1.9.4-22.el7.noarch.rpm
#wget http://mirror.centos.org/centos/7/os/x86_64/Packages/php-pecl-memcache-3.0.8-4.el7.x86_64.rpm
#wget http://mirror.centos.org/centos/7/os/x86_64/Packages/php-pgsql-5.4.16-48.el7.x86_64.rpm
#wget http://mirror.centos.org/centos/7/os/x86_64/Packages/php-process-5.4.16-48.el7.x86_64.rpm
#wget http://mirror.centos.org/centos/7/os/x86_64/Packages/php-pspell-5.4.16-48.el7.x86_64.rpm
#wget http://mirror.centos.org/centos/7/os/x86_64/Packages/php-recode-5.4.16-48.el7.x86_64.rpm
#wget http://mirror.centos.org/centos/7/os/x86_64/Packages/php-snmp-5.4.16-48.el7.x86_64.rpm
#wget http://mirror.centos.org/centos/7/os/x86_64/Packages/php-soap-5.4.16-48.el7.x86_64.rpm
#wget http://mirror.centos.org/centos/7/os/x86_64/Packages/php-xml-5.4.16-48.el7.x86_64.rpm
#wget http://mirror.centos.org/centos/7/os/x86_64/Packages/php-xmlrpc-5.4.16-48.el7.x86_64.rpm
#rpm -Uvh php-cli-5.4.16-48.el7.x86_64.rpm php-common-5.4.16-48.el7.x86_64.rpm php-5.4.16-48.el7.x86_64.rpm php-pdo-5.4.16-48.el7.x86_64.rpm php-5.4.16-48.el7.x86_64.rpm php-fpm-5.4.16-48.el7.x86_64.rpm php-gd-5.4.16-48.el7.x86_64.rpm php-mbstring-5.4.16-48.el7.x86_64.rpm php-xml-5.4.16-48.el7.x86_64.rpm php-mysql-5.4.16-48.el7.x86_64.rpm php-process-5.4.16-48.el7.x86_64.rpm
#plesk installer
 
@sebgonzes
that's not the solution.
It is surprising that another server that has php5.6 as OS-PHP upgraded without any problems. i haven't figured out why yet.
If you remove the OS-PHP via the plesk installer and reinstall it (php5.4), the upgrade also works.
 
@sebgonzes
that's not the solution.
It is surprising that another server that has php5.6 as OS-PHP upgraded without any problems. i haven't figured out why yet.
If you remove the OS-PHP via the plesk installer and reinstall it (php5.4), the upgrade also works.
Well, we get the same problem (it's true that not install php 5.6 in our case) and that the solution for an correct update... But good luck in your case.
 
a workaround
# rpm -ivh --nodeps php-process-5.4.16-48.el7.x86_64.rpm

then upgrade works.
only one Warning
--
Warning: RPMDB altered outside of yum.
** Found 1 pre-existing rpmdb problem(s), 'yum check' output follows:
php-process-5.4.16-48.el7.x86_64 has missing requires of php-common(x86-64) = ('0', '5.4.16', '48.el7')
--

do you think the warning can be ignored and it fits like that?

another question:
is it safe to remove the OS vendor PHP version via plesk installer ?
Are there no problems with Plesk then? also not with the ssh users?
 
Back
Top