Unable to upgrade centos 7 to rocky 8 via leapp

hi i have below os details

cat /etc/os-release

NAME=“CentOS Linux”

VERSION=“7 (Core)”

ID=“centos”

ID_LIKE=“rhel fedora”

VERSION_ID=“7”

PRETTY_NAME=“CentOS Linux 7 (Core)”

ANSI_COLOR=“0;31”

CPE_NAME=“cpe:/o:centos:centos:7”

HOME_URL="

BUG_REPORT_URL=“https://bugs.centos.org/

CENTOS_MANTISBT_PROJECT=“CentOS-7”

CENTOS_MANTISBT_PROJECT_VERSION=“7”

REDHAT_SUPPORT_PRODUCT=“centos”

REDHAT_SUPPORT_PRODUCT_VERSION=“7”

and I am following the How to Migrate CentOS 7 to Rocky Linux 9 | phoenixNAP KB
while running sudo leapp prepgrade I get below error
2024-07-25 10:07:45.149 ERROR PID: 4292 leapp:

                 UPGRADE INHIBITED                      

============================================================

2024-07-25 10:07:45.151 ERROR PID: 4292 leapp: Upgrade has been inhibited due to the following problems:
2024-07-25 10:07:45.154 ERROR PID: 4292 leapp: 1. Inhibitor: The installed OS version is not supported for the in-place upgrade to the target RHEL version

============================================================
UPGRADE INHIBITED

Upgrade has been inhibited due to the following problems:
1. Inhibitor: The installed OS version is not supported for the in-place upgrade to the target RHEL version
Consult the pre-upgrade report for details and possible remediation.

Can some one suggest some way, it was working fine earlier

Rocky does not support in-place conversions between different distros (e.g. el7 → el8).
(RHEL 8, Rocky Linux 8, CentOS Linux 8, AlmaLinux 8, etc are all el8. “Same”. Sidegrade between them has support.)

If you do use ELevate to do such conversion, then you should ask from developers of ELevate.

1 Like

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.