leapp in-place upgrade from RHEL 8.10 to RHEL 9.6 failed to Emergency mode with PHP 8.2 installed

Solution Verified - Updated -

Issue

  • During the in-place upgrade from RHEL 8.10 to RHEL 9.6 using Leapp, the upgrade process fails with errors related to missing or invalid PHP 8.0 packages, despite PHP 8.2 being installed on the source system. The upgrade fails due to missing RPM files and checksum errors.

    Example errors observed:

    Error opening /var/cache/dnf/rhel-9-for-x86_64-appstream-rpms... No such file or directory
    Package "php-xxx-8.0.30-3.el9_6.x86_64" has incorrect checksum
    Error: Some packages have invalid cache, but cannot be downloaded due to "--cacheonly" option
    

Environment

  • Red Hat Enterprise Linux (RHEL) 8.10
  • Red Hat Enterprise Linux (RHEL) 9
  • PHP 8.2

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content