Packages installed from the wrong distribution Print

  • 0

Symptoms

When attempting to run updates or install packages, you encounter errors similar to one of the following.

Problem 1: package python3-pip-9.0.3-22.el8.noarch requires platform-python-pip = 9.0.3-22.el8, but none of the providers can be installed
  - cannot install both platform-python-pip-9.0.3-23.el8.noarch and platform-python-pip-9.0.3-22.el8.noarch
  - cannot install the best update candidate for package python3-pip-9.0.3-22.el8.noarch
  - cannot install the best update candidate for package platform-python-pip-9.0.3-22.el8.noarch
Error: Package: ea-php74-php-litespeed-7.4.33-6.6.10.cpanel.x86_64 (EA4)
Requires: libcrypto-ea.so.1.1(OPENSSL_EA_1_1_0)(64bit)
Available: ea-openssl11-1.1.1t-1.1.1.cpanel.x86_64 (EA4)
libcrypto-ea.so.1.1(OPENSSL_EA_1_1_0)(64bit)
Available: ea-openssl11-1.1.1u-1.1.1.cpanel.x86_64 (EA4)
libcrypto-ea.so.1.1(OPENSSL_EA_1_1_0)(64bit)
Available: ea-openssl11-1.1.1v-1.1.1.cpanel.x86_64 (EA4)
libcrypto-ea.so.1.1(OPENSSL_EA_1_1_0)(64bit)
Installed: 1:ea-openssl11-1.1.1g-1.el7.cloudlinux.x86_64 (@cl-ea4)
Not found

 

Description

When an in-place OS upgrade is performed, some packages from the old OS may be left on the server. Those packages will have to be removed or replaced. The distro-sync option of yum and dnf allows for easy replacement of the packages.

 

Workaround

  1. Access the server's command line as the 'root' user via SSH or "Terminal" in WHM.
  2. Run the following command.
    • CentOS 7 or CloudLinux 7
      yum distro-sync
    • CloudLinux 8/9, AlmaLinux 8/9, or Rocky 8/9
      dnf distro-sync

 


Was this answer helpful?
Back

Send Message