I am following the instructions at centlinux. There is nothing distribution-specific in those instructions.
I got as far as the installation of leapp-upgrade-el9toel10 but had to re-enable repos to get this to work.
Finally installed leapp 0.18.0 and ran leapp preupgrade.
The key error returned was:
Distribution rocky was not found in /etc/leapp/repos.d/system_upgrade/common/files/distro.
The only entries in that directory are centos and rhel.
How do I add rocky?
I thought I had found a source for this but then leapp preupgrade gave:
Title: The installed OS version is not supported for the in-place upgrade to the target RHEL version
Summary: The supported OS releases for the upgrade process:
Upgrades of Rocky are not supported, and the leapp packages are effectively redundant. Better option would be to use the ELevate project that Alma run. Although as far as I am aware, they haven’t added support to upgrade Rocky from 9 to 10 yet, but for earlier versions there are paths, eg from 8 to 9.
The Rocky team recommend clean install and restore your data/config.
As mentioned, if you look at ELevate project like I mentioned, you will see there currently isn’t a Rocky 9 to 10 upgrade path - they haven’t done it yet. Quote from my previous post:
so until they add support, you cannot upgrade it. Below supported upgrade paths:
First, the leapp is from Red Hat, for RHEL. Even they do admit that it will fail for some setups. The ELevate provides (meta)data about (some) non-RHEL distros for leapp.
Thought experiment:
You server breaks down completely. What will you do?