• 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

Resolved Plesk update failed

xdelios

Basic Pleskian
Hello,

Plesk tries to update its self and I keep getting emails about an error and when I check the logs i see the following at the end.

Code:
Exception: Failed to solve dependencies:
alt-php70-tidy-7.0.19-1.el7.x86_64 requires libtidy-0.99.so.0()(64bit)
alt-php52-tidy-5.2.17-96.el7.x86_64 requires libtidy-0.99.so.0()(64bit)
1:alt-php55-tidy-5.5.38-11.el7.x86_64 requires libtidy-0.99.so.0()(64bit)
alt-php71-tidy-7.1.5-1.el7.x86_64 requires libtidy-0.99.so.0()(64bit)
alt-php53-tidy-5.3.29-45.el7.x86_64 requires libtidy-0.99.so.0()(64bit)
alt-php56-tidy-5.6.30-1.el7.x86_64 requires libtidy-0.99.so.0()(64bit)
alt-php51-tidy-5.1.6-69.el7.x86_64 requires libtidy-0.99.so.0()(64bit)
alt-php54-tidy-5.4.45-29.el7.x86_64 requires libtidy-0.99.so.0()(64bit)

ERROR: The Yum utility failed to install the required packages.
Attention! Your software might be inoperable.
Please contact product technical support.

Also if I try via SSH to run yum update I get the following.

Code:
--> Finished Dependency Resolution
Error: Package: alt-php53-tidy-5.3.29-45.el7.x86_64 (@cloudlinux-x86_64-server-7)
           Requires: libtidy-0.99.so.0()(64bit)
           Removing: libtidy-0.99.0-31.20091203.el7.x86_64 (@PLESK_17_0_17-thirdparty)
               libtidy-0.99.so.0()(64bit)
           Updated By: libtidy-5.4.0-1.el7.x86_64 (PLESK_17_PHP56)
               Not found
Error: Package: alt-php56-tidy-5.6.30-1.el7.x86_64 (@cloudlinux-x86_64-server-7)
           Requires: libtidy-0.99.so.0()(64bit)
           Removing: libtidy-0.99.0-31.20091203.el7.x86_64 (@PLESK_17_0_17-thirdparty)
               libtidy-0.99.so.0()(64bit)
           Updated By: libtidy-5.4.0-1.el7.x86_64 (PLESK_17_PHP56)
               Not found
Error: Package: 1:alt-php55-tidy-5.5.38-11.el7.x86_64 (@cloudlinux-x86_64-server-7)
           Requires: libtidy-0.99.so.0()(64bit)
           Removing: libtidy-0.99.0-31.20091203.el7.x86_64 (@PLESK_17_0_17-thirdparty)
               libtidy-0.99.so.0()(64bit)
           Updated By: libtidy-5.4.0-1.el7.x86_64 (PLESK_17_PHP56)
               Not found
Error: Package: alt-php70-tidy-7.0.19-1.el7.x86_64 (@cloudlinux-x86_64-server-7)
           Requires: libtidy-0.99.so.0()(64bit)
           Removing: libtidy-0.99.0-31.20091203.el7.x86_64 (@PLESK_17_0_17-thirdparty)
               libtidy-0.99.so.0()(64bit)
           Updated By: libtidy-5.4.0-1.el7.x86_64 (PLESK_17_PHP56)
               Not found
Error: Package: alt-php71-tidy-7.1.5-1.el7.x86_64 (@cloudlinux-x86_64-server-7)
           Requires: libtidy-0.99.so.0()(64bit)
           Removing: libtidy-0.99.0-31.20091203.el7.x86_64 (@PLESK_17_0_17-thirdparty)
               libtidy-0.99.so.0()(64bit)
           Updated By: libtidy-5.4.0-1.el7.x86_64 (PLESK_17_PHP56)
               Not found
Error: Package: alt-php54-tidy-5.4.45-29.el7.x86_64 (@cloudlinux-x86_64-server-7)
           Requires: libtidy-0.99.so.0()(64bit)
           Removing: libtidy-0.99.0-31.20091203.el7.x86_64 (@PLESK_17_0_17-thirdparty)
               libtidy-0.99.so.0()(64bit)
           Updated By: libtidy-5.4.0-1.el7.x86_64 (PLESK_17_PHP56)
               Not found
Error: Package: alt-php51-tidy-5.1.6-69.el7.x86_64 (@cloudlinux-x86_64-server-7)
           Requires: libtidy-0.99.so.0()(64bit)
           Removing: libtidy-0.99.0-31.20091203.el7.x86_64 (@PLESK_17_0_17-thirdparty)
               libtidy-0.99.so.0()(64bit)
           Updated By: libtidy-5.4.0-1.el7.x86_64 (PLESK_17_PHP56)
               Not found
Error: Package: alt-php52-tidy-5.2.17-96.el7.x86_64 (@cloudlinux-x86_64-server-7)
           Requires: libtidy-0.99.so.0()(64bit)
           Removing: libtidy-0.99.0-31.20091203.el7.x86_64 (@PLESK_17_0_17-thirdparty)
               libtidy-0.99.so.0()(64bit)
           Updated By: libtidy-5.4.0-1.el7.x86_64 (PLESK_17_PHP56)
               Not found
 You could try using --skip-broken to work around the problem
** Found 1 pre-existing rpmdb problem(s), 'yum check' output follows:
plesk-mysql-server-17.5.3-cos7.build1705170317.16.x86_64 has missing requires of mariadb-server >= ('0', '5.0.60', None)

What should I do to fix this?

Thanks in advace,
George
 
What is the output of following command on your server:

# rpm -qa --qf '%{NAME}-%{VERSION}-%{RELEASE} (%{ARCH})\n' | grep libtidy

?
 
Hi xdelios,

Example
work-around:
  1. Log in to Plesk
  2. Navigate to HOME > Tools & Settings > PHP Settings.
  3. Check that PHP handlers from error messages are not used by a (sub)domain.
    In case such a handler is used by a (sub)domain:
    - Navigate to HOME > Domains > example.com > PHP Settings.
    - Select another PHP version.
    - Click OK
  4. Connect to the server => using SSH.
  5. Remove packages with the command:
    Code:
    rpm -e --nodeps
Example REMOVE command:
Code:
rpm -e --nodeps alt-php53-tidy-5.3.29-45.el7.x86_64

... and finalize your work-around with:
Code:
plesk bin php_handler --reread

Afterwards, pls. update/upgrade your Plesk Control Panel with for example:
Code:
plesk installer --select-product-id plesk --select-release-current --reinstall-patch --install-component base
 
Last edited by a moderator:
On default Plesk CentOS7 server installation should be:

# rpm -qa | grep tidy
plesk-php56-tidy-5.6.31-centos7.17090117.x86_64
plesk-php54-tidy-5.4.45-centos7.17090117.x86_64
plesk-php71-tidy-7.1.9-centos7.17090116.x86_64
libtidy-5.4.0-1.el7.x86_64
plesk-php52-tidy-5.2.17-centos7.17090118.x86_64
plesk-php55-tidy-5.5.38-centos7.17090117.x86_64
plesk-php53-tidy-5.3.29-centos7.17090118.x86_64
plesk-php70-tidy-7.0.23-centos7.17090115.x86_64

Nothing more. So, you need to remove all extra packages like alt-php54-tidy-5.4.45-29.el7.x86_64, etc.
 
Hello,

Thank you that did the trick.

One more thing though.
I get a warning now as follows

Code:
Warning: RPMDB altered outside of yum.
** Found 1 pre-existing rpmdb problem(s), 'yum check' output follows:
plesk-mysql-server-17.5.3-cos7.build1705170317.16.x86_64 has missing requires of mariadb-server >= ('0', '5.0.60', None)

How can I fix that?

Thanks
 
Back
Top