dnf upgrade mislukt op cPanel na CloudLinux 7 naar 8 migratie

Gewijzigd op Ma, 6 Mei om 5:33 PM

Na het migreren van CloudLinux 7 naar 8, kan je mogelijk tegen de volgende fouten aanlopen:


dnf upgrade
This system is receiving updates from CloudLinux Network server.
Last metadata expiration check: 0:21:02 ago on Mon 06 May 2024 04:48:42 PM CEST.
Error: 
 Problem 1: package alt-php81-percona5.7-8.1.27-1.el7.x86_64 from @System requires alt-php81-common = 8.1.27, but none of the providers can be installed
  - cannot install both alt-php81-common-8.1.28-1.el8.x86_64 from cloudlinux-x86_64-server-8 and alt-php81-common-8.1.27-4.el8.x86_64 from @System
  - cannot install both alt-php81-common-8.1.28-1.el8.x86_64 from cloudlinux-x86_64-server-8 and alt-php81-common-8.1.27-1.el8.x86_64 from cloudlinux-x86_64-server-8
  - cannot install both alt-php81-common-8.1.28-1.el8.x86_64 from cloudlinux-x86_64-server-8 and alt-php81-common-8.1.27-2.el8.x86_64 from cloudlinux-x86_64-server-8
  - cannot install both alt-php81-common-8.1.28-1.el8.x86_64 from cloudlinux-x86_64-server-8 and alt-php81-common-8.1.27-3.el8.x86_64 from cloudlinux-x86_64-server-8
  - cannot install both alt-php81-common-8.1.28-1.el8.x86_64 from cloudlinux-x86_64-server-8 and alt-php81-common-8.1.27-4.el8.x86_64 from cloudlinux-x86_64-server-8
  - cannot install the best update candidate for package alt-php81-common-8.1.27-4.el8.x86_64
  - problem with installed package alt-php81-percona5.7-8.1.27-1.el7.x86_64
 Problem 2: package alt-php81-percona5.5-8.1.27-1.el7.x86_64 from @System requires alt-php81-pdo = 8.1.27, but none of the providers can be installed
  - cannot install both alt-php81-pdo-8.1.28-1.el8.x86_64 from cloudlinux-x86_64-server-8 and alt-php81-pdo-8.1.27-4.el8.x86_64 from @System
  - cannot install both alt-php81-pdo-8.1.28-1.el8.x86_64 from cloudlinux-x86_64-server-8 and alt-php81-pdo-8.1.27-1.el8.x86_64 from cloudlinux-x86_64-server-8
  - cannot install both alt-php81-pdo-8.1.28-1.el8.x86_64 from cloudlinux-x86_64-server-8 and alt-php81-pdo-8.1.27-2.el8.x86_64 from cloudlinux-x86_64-server-8
  - cannot install both alt-php81-pdo-8.1.28-1.el8.x86_64 from cloudlinux-x86_64-server-8 and alt-php81-pdo-8.1.27-3.el8.x86_64 from cloudlinux-x86_64-server-8
  - cannot install both alt-php81-pdo-8.1.28-1.el8.x86_64 from cloudlinux-x86_64-server-8 and alt-php81-pdo-8.1.27-4.el8.x86_64 from cloudlinux-x86_64-server-8
  - cannot install the best update candidate for package alt-php81-pdo-8.1.27-4.el8.x86_64
  - problem with installed package alt-php81-percona5.5-8.1.27-1.el7.x86_64
 Problem 3: package alt-php82-percona5.7-8.2.16-1.el7.x86_64 from @System requires alt-php82-common = 8.2.16, but none of the providers can be installed
  - cannot install both alt-php82-common-8.2.18-1.el8.x86_64 from cloudlinux-x86_64-server-8 and alt-php82-common-8.2.16-3.el8.x86_64 from @System
  - cannot install both alt-php82-common-8.2.18-1.el8.x86_64 from cloudlinux-x86_64-server-8 and alt-php82-common-8.2.16-2.el8.x86_64 from cloudlinux-x86_64-server-8
  - cannot install both alt-php82-common-8.2.18-1.el8.x86_64 from cloudlinux-x86_64-server-8 and alt-php82-common-8.2.16-3.el8.x86_64 from cloudlinux-x86_64-server-8
  - cannot install the best update candidate for package alt-php82-common-8.2.16-3.el8.x86_64
  - problem with installed package alt-php82-percona5.7-8.2.16-1.el7.x86_64
 Problem 4: package alt-php82-percona5.5-8.2.16-1.el7.x86_64 from @System requires alt-php82-pdo = 8.2.16, but none of the providers can be installed
  - cannot install both alt-php82-pdo-8.2.18-1.el8.x86_64 from cloudlinux-x86_64-server-8 and alt-php82-pdo-8.2.16-3.el8.x86_64 from @System
  - cannot install both alt-php82-pdo-8.2.18-1.el8.x86_64 from cloudlinux-x86_64-server-8 and alt-php82-pdo-8.2.16-2.el8.x86_64 from cloudlinux-x86_64-server-8
  - cannot install both alt-php82-pdo-8.2.18-1.el8.x86_64 from cloudlinux-x86_64-server-8 and alt-php82-pdo-8.2.16-3.el8.x86_64 from cloudlinux-x86_64-server-8
  - cannot install the best update candidate for package alt-php82-pdo-8.2.16-3.el8.x86_64
  - problem with installed package alt-php82-percona5.5-8.2.16-1.el7.x86_64
 Problem 5: package alt-php83-percona5.7-8.3.3-1.el7.x86_64 from @System requires alt-php83-common = 8.3.3, but none of the providers can be installed
  - cannot install both alt-php83-common-8.3.6-1.el8.x86_64 from cloudlinux-x86_64-server-8 and alt-php83-common-8.3.3-3.el8.x86_64 from @System
  - cannot install both alt-php83-common-8.3.6-1.el8.x86_64 from cloudlinux-x86_64-server-8 and alt-php83-common-8.3.3-2.el8.x86_64 from cloudlinux-x86_64-server-8
  - cannot install both alt-php83-common-8.3.6-1.el8.x86_64 from cloudlinux-x86_64-server-8 and alt-php83-common-8.3.3-3.el8.x86_64 from cloudlinux-x86_64-server-8
  - cannot install the best update candidate for package alt-php83-common-8.3.3-3.el8.x86_64
  - problem with installed package alt-php83-percona5.7-8.3.3-1.el7.x86_64
 Problem 6: package alt-php83-percona5.5-8.3.3-1.el7.x86_64 from @System requires alt-php83-pdo = 8.3.3, but none of the providers can be installed
  - cannot install both alt-php83-pdo-8.3.6-1.el8.x86_64 from cloudlinux-x86_64-server-8 and alt-php83-pdo-8.3.3-3.el8.x86_64 from @System
  - cannot install both alt-php83-pdo-8.3.6-1.el8.x86_64 from cloudlinux-x86_64-server-8 and alt-php83-pdo-8.3.3-2.el8.x86_64 from cloudlinux-x86_64-server-8
  - cannot install both alt-php83-pdo-8.3.6-1.el8.x86_64 from cloudlinux-x86_64-server-8 and alt-php83-pdo-8.3.3-3.el8.x86_64 from cloudlinux-x86_64-server-8
  - cannot install the best update candidate for package alt-php83-pdo-8.3.3-3.el8.x86_64
  - problem with installed package alt-php83-percona5.5-8.3.3-1.el7.x86_64
 Problem 7: package alt-php81-mysql5.1-8.1.27-1.el7.x86_64 from @System requires alt-php81-common = 8.1.27, but none of the providers can be installed
  - package alt-php81-common-8.1.27-4.el8.x86_64 from @System requires alt-php81 = 8.1.27-4.el8, but none of the providers can be installed
  - package alt-php81-common-8.1.27-4.el8.x86_64 from cloudlinux-x86_64-server-8 requires alt-php81 = 8.1.27-4.el8, but none of the providers can be installed
  - package alt-php81-common-8.1.27-1.el8.x86_64 from cloudlinux-x86_64-server-8 requires alt-php81 = 8.1.27-1.el8, but none of the providers can be installed
  - package alt-php81-common-8.1.27-2.el8.x86_64 from cloudlinux-x86_64-server-8 requires alt-php81 = 8.1.27-2.el8, but none of the providers can be installed
  - package alt-php81-common-8.1.27-3.el8.x86_64 from cloudlinux-x86_64-server-8 requires alt-php81 = 8.1.27-3.el8, but none of the providers can be installed
  - cannot install both alt-php81-8.1.28-1.el8.x86_64 from cloudlinux-x86_64-server-8 and alt-php81-8.1.27-4.el8.x86_64 from @System
  - cannot install both alt-php81-8.1.28-1.el8.x86_64 from cloudlinux-x86_64-server-8 and alt-php81-8.1.27-1.el8.x86_64 from cloudlinux-x86_64-server-8
  - cannot install both alt-php81-8.1.28-1.el8.x86_64 from cloudlinux-x86_64-server-8 and alt-php81-8.1.27-2.el8.x86_64 from cloudlinux-x86_64-server-8
  - cannot install both alt-php81-8.1.28-1.el8.x86_64 from cloudlinux-x86_64-server-8 and alt-php81-8.1.27-3.el8.x86_64 from cloudlinux-x86_64-server-8
  - cannot install both alt-php81-8.1.28-1.el8.x86_64 from cloudlinux-x86_64-server-8 and alt-php81-8.1.27-4.el8.x86_64 from cloudlinux-x86_64-server-8
  - cannot install the best update candidate for package alt-php81-8.1.27-4.el8.x86_64
  - problem with installed package alt-php81-mysql5.1-8.1.27-1.el7.x86_64
 Problem 8: package alt-php81-mysql5.0-8.1.27-1.el7.x86_64 from @System requires alt-php81-common = 8.1.27, but none of the providers can be installed
  - cannot install both alt-php81-common-8.1.28-1.el8.x86_64 from cloudlinux-x86_64-server-8 and alt-php81-common-8.1.27-4.el8.x86_64 from @System
  - cannot install both alt-php81-common-8.1.28-1.el8.x86_64 from cloudlinux-x86_64-server-8 and alt-php81-common-8.1.27-1.el8.x86_64 from cloudlinux-x86_64-server-8
  - cannot install both alt-php81-common-8.1.28-1.el8.x86_64 from cloudlinux-x86_64-server-8 and alt-php81-common-8.1.27-2.el8.x86_64 from cloudlinux-x86_64-server-8
  - cannot install both alt-php81-common-8.1.28-1.el8.x86_64 from cloudlinux-x86_64-server-8 and alt-php81-common-8.1.27-3.el8.x86_64 from cloudlinux-x86_64-server-8
  - cannot install both alt-php81-common-8.1.28-1.el8.x86_64 from cloudlinux-x86_64-server-8 and alt-php81-common-8.1.27-4.el8.x86_64 from cloudlinux-x86_64-server-8
  - package alt-php81-bcmath-8.1.28-1.el8.x86_64 from cloudlinux-x86_64-server-8 requires alt-php81-common = 8.1.28-1.el8, but none of the providers can be installed
  - cannot install the best update candidate for package alt-php81-bcmath-8.1.27-4.el8.x86_64
  - problem with installed package alt-php81-mysql5.0-8.1.27-1.el7.x86_64
 Problem 9: package alt-php82-mysql5.1-8.2.16-1.el7.x86_64 from @System requires alt-php82-common = 8.2.16, but none of the providers can be installed
  - package alt-php82-common-8.2.16-3.el8.x86_64 from @System requires alt-php82 = 8.2.16-3.el8, but none of the providers can be installed
  - package alt-php82-common-8.2.16-3.el8.x86_64 from cloudlinux-x86_64-server-8 requires alt-php82 = 8.2.16-3.el8, but none of the providers can be installed
  - package alt-php82-common-8.2.16-2.el8.x86_64 from cloudlinux-x86_64-server-8 requires alt-php82 = 8.2.16-2.el8, but none of the providers can be installed
  - cannot install both alt-php82-8.2.18-1.el8.x86_64 from cloudlinux-x86_64-server-8 and alt-php82-8.2.16-3.el8.x86_64 from @System
  - cannot install both alt-php82-8.2.18-1.el8.x86_64 from cloudlinux-x86_64-server-8 and alt-php82-8.2.16-2.el8.x86_64 from cloudlinux-x86_64-server-8
  - cannot install both alt-php82-8.2.18-1.el8.x86_64 from cloudlinux-x86_64-server-8 and alt-php82-8.2.16-3.el8.x86_64 from cloudlinux-x86_64-server-8
  - cannot install the best update candidate for package alt-php82-8.2.16-3.el8.x86_64
  - problem with installed package alt-php82-mysql5.1-8.2.16-1.el7.x86_64
 Problem 10: package alt-php82-mysql5.0-8.2.16-1.el7.x86_64 from @System requires alt-php82-common = 8.2.16, but none of the providers can be installed
  - cannot install both alt-php82-common-8.2.18-1.el8.x86_64 from cloudlinux-x86_64-server-8 and alt-php82-common-8.2.16-3.el8.x86_64 from @System
  - cannot install both alt-php82-common-8.2.18-1.el8.x86_64 from cloudlinux-x86_64-server-8 and alt-php82-common-8.2.16-2.el8.x86_64 from cloudlinux-x86_64-server-8
  - cannot install both alt-php82-common-8.2.18-1.el8.x86_64 from cloudlinux-x86_64-server-8 and alt-php82-common-8.2.16-3.el8.x86_64 from cloudlinux-x86_64-server-8
  - package alt-php82-bcmath-8.2.18-1.el8.x86_64 from cloudlinux-x86_64-server-8 requires alt-php82-common = 8.2.18-1.el8, but none of the providers can be installed
  - cannot install the best update candidate for package alt-php82-bcmath-8.2.16-3.el8.x86_64
  - problem with installed package alt-php82-mysql5.0-8.2.16-1.el7.x86_64
 Problem 11: package alt-php83-mysql5.1-8.3.3-1.el7.x86_64 from @System requires alt-php83-common = 8.3.3, but none of the providers can be installed
  - package alt-php83-common-8.3.3-3.el8.x86_64 from @System requires alt-php83 = 8.3.3-3.el8, but none of the providers can be installed
  - package alt-php83-common-8.3.3-3.el8.x86_64 from cloudlinux-x86_64-server-8 requires alt-php83 = 8.3.3-3.el8, but none of the providers can be installed
  - package alt-php83-common-8.3.3-2.el8.x86_64 from cloudlinux-x86_64-server-8 requires alt-php83 = 8.3.3-2.el8, but none of the providers can be installed
  - cannot install both alt-php83-8.3.6-1.el8.x86_64 from cloudlinux-x86_64-server-8 and alt-php83-8.3.3-3.el8.x86_64 from @System
  - cannot install both alt-php83-8.3.6-1.el8.x86_64 from cloudlinux-x86_64-server-8 and alt-php83-8.3.3-2.el8.x86_64 from cloudlinux-x86_64-server-8
  - cannot install both alt-php83-8.3.6-1.el8.x86_64 from cloudlinux-x86_64-server-8 and alt-php83-8.3.3-3.el8.x86_64 from cloudlinux-x86_64-server-8
  - cannot install the best update candidate for package alt-php83-8.3.3-3.el8.x86_64
  - problem with installed package alt-php83-mysql5.1-8.3.3-1.el7.x86_64


Je kan dit met de volgende commando oplossen:

# Let op dat alleen alt-php packages verwijderd worden.
dnf upgrade --allowerasing

# Hiermee zorgen we er voor dat alle alt-php packages geïnstalleerd zijn.
dnf reinstall alt-php*
dnf install alt-php*

Was dit artikel nuttig?

Dat is fantastisch!

Hartelijk dank voor uw beoordeling

Sorry dat we u niet konden helpen

Hartelijk dank voor uw beoordeling

Laat ons weten hoe we dit artikel kunnen verbeteren!

Selecteer tenminste een van de redenen
CAPTCHA-verificatie is vereist.

Feedback verzonden

We stellen uw moeite op prijs en zullen proberen het artikel te verbeteren