I am trying to upgrade from Rocky8 to Rocky9 using leapp
sudo leapp preupgrade
Traceback (most recent call last):
File “/usr/local/bin/leapp”, line 11, in
load_entry_point(‘leapp==0.14.0’, ‘console_scripts’, ‘leapp’)()
File “/usr/local/lib/python3.6/site-packages/leapp-0.14.0-py3.6.egg/leapp/cli/init.py”, line 37, in main
cli.command.execute(‘leapp version {}’.format(VERSION))
File “/usr/local/lib/python3.6/site-packages/leapp-0.14.0-py3.6.egg/leapp/utils/clicmd.py”, line 105, in execute
self._sub_commands[cmdname].parser.error(leftover)
KeyError: ‘leapp’
here is a kb article about this but I do not have access
Execute the following command to check whether you have the leapp-upgrade-el7toel8 & leapp-upgrade-el7toel8-deps packages installed on the RHEL 7.9 system.
Execute the following command to check whether you have the leapp-upgrade-el8toel9 & leapp-upgrade-el8toel9-deps packages installed on the RHEL 8.8 system.
If not, execute the following command to install the leapp-upgrade-elXtoelX & leapp-upgrade-elXtoelX-deps packages. Depending on your RHEL version, replace ‘X’ with your package version.