Is a LEAPP upgrade from 7.9 to 8.6 supported?

Posted on

I have a fairly monstrous Ansible playbook going to install all of the required dependencies on a target RHEL 7.9 host in order to use leapp to upgrade its RHEL version to 8.6.

So far, all of the dependencies have successfully installed, until it got to 'leapp-repository'. It is failing with the below:

TASK [Install leapp-repository] **********************************************************************************************************************************************************************

fatal: [10.0.0.1]: FAILED! => {"changed": true, "cmd": ["yum", "localinstall", "-y", "/tmp/leapp-repository-0.14.0-4.el7_9.noarch.rpm", "--disablerepo=*"], "delta": "0:00:11.703284", "end": "2024-08-03 16:56:21.870552", "msg": "non-zero return code", "rc": 1, "start": "2024-08-03 16:56:10.167268", "stderr": "Error: Package: leapp-repository-0.14.0-4.el7_9.noarch (/leapp-repository-0.14.0-4.el7_9.noarch)\n Requires: leapp-repository-dependencies = 5\n Installed: leapp-upgrade-el7toel8-deps-0.20.0-9.el7_9.noarch (@/leapp-upgrade-el7toel8-deps-0.20.0-9.el7_9.noarch)\n leapp-repository-dependencies = 10", "stderr_lines": ["Error: Package: leapp-repository-0.14.0-4.el7_9.noarch (/leapp-repository-0.14.0-4.el7_9.noarch)", " Requires: leapp-repository-dependencies = 5", " Installed: leapp-upgrade-el7toel8-deps-0.20.0-9.el7_9.noarch (@/leapp-upgrade-el7toel8-deps-0.20.0-9.el7_9.noarch)", " leapp-repository-dependencies = 10"], "stdout": "Loaded plugins: langpacks, product-id, search-disabled-repos, yum_rhui_plugin\nExamining /tmp/leapp-repository-0.14.0-4.el7_9.noarch.rpm: leapp-repository-0.14.0-4.el7_9.noarch\nMarking /tmp/leapp-repository-0.14.0-4.el7_9.noarch.rpm to be installed\nResolving Dependencies\n--> Running transaction check\n---> Package leapp-repository.noarch 0:0.14.0-4.el7_9 will be installed\n--> Processing Dependency: leapp-repository-dependencies = 5 for package: leapp-repository-0.14.0-4.el7_9.noarch\n--> Finished Dependency Resolution\n You could try using --skip-broken to work around the problem\n You could try running: rpm -Va --nofiles --nodigest", "stdout_lines": ["Loaded plugins: langpacks, product-id, search-disabled-repos, yum_rhui_plugin", "Examining /tmp/leapp-repository-0.14.0-4.el7_9.noarch.rpm: leapp-repository-0.14.0-4.el7_9.noarch", "Marking /tmp/leapp-repository-0.14.0-4.el7_9.noarch.rpm to be installed", "Resolving Dependencies", "--> Running transaction check", "---> Package leapp-repository.noarch 0:0.14.0-4.el7_9 will be installed", "--> Processing Dependency: leapp-repository-dependencies = 5 for package: leapp-repository-0.14.0-4.el7_9.noarch", "--> Finished Dependency Resolution", " You could try using --skip-broken to work around the problem", " You could try running: rpm -Va --nofiles --nodigest"]}

The target host (as well as the Ansible server) do not have outbound access to the Internet, so my Ansible playbook is first copying and then installing all of the RPM's to the target host using yum with the localinstall flag.

I have been searching the net and haven't found anywhere with the required dependency it is mentioning.

If someone can please help me I would greatly appreciate it! Is this even possible?

Responses