# Unable to upgrade centos 7 to rocky 8 via leapp

**URL:** <https://forums.rockylinux.org/t/unable-to-upgrade-centos-7-to-rocky-8-via-leapp/15201>\
**Category:** Rocky Linux Help & Support\
**Created:** [July 25, 2024, 10:17am UTC](https://forums.rockylinux.org/t/unable-to-upgrade-centos-7-to-rocky-8-via-leapp/15201 "2024-07-25T10:17:51Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jatin.bishtg4s](https://avatars.discourse-cdn.com/v4/letter/j/bbce88/32.png) [@jatin.bishtg4s](https://forums.rockylinux.org/u/jatin.bishtg4s)\
**Post date:** [July 25, 2024, 10:17am UTC](https://forums.rockylinux.org/t/unable-to-upgrade-centos-7-to-rocky-8-via-leapp/15201/1 "2024-07-25T10:17:51Z")

</div>

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/](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](https://phoenixnap.com/kb/migrate-centos-to-rocky-linux) 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

---

<div class="post-metadata">

**Author:** ![jlehtone](https://avatars.discourse-cdn.com/v4/letter/j/e9a140/32.png) [@jlehtone](https://forums.rockylinux.org/u/jlehtone)\
**Post date:** [July 25, 2024, 10:41am UTC](https://forums.rockylinux.org/t/unable-to-upgrade-centos-7-to-rocky-8-via-leapp/15201/2 "2024-07-25T10:41:52Z")

</div>

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”. _Side_grade between them has support.)

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

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex020/uploads/rockylinux/original/1X/91b7219eec10e30013422e4df76c1d898711a5d5.svg) [@system](https://forums.rockylinux.org/u/system)\
**Post date:** [September 23, 2024, 10:42am UTC](https://forums.rockylinux.org/t/unable-to-upgrade-centos-7-to-rocky-8-via-leapp/15201/3 "2024-09-23T10:42:21Z")

</div>

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