"Leapp" does not honor "--target" option when using a local/custom repository for the upgrade
Environment
- Red Hat Enterprise Linux
- Leapp
- Local/custom repository
Issue
Leappdoes not honor--targetoption when using a local/custom repository for the upgrade.- Why does
leapp upgradeupgrades the system toRHEL 8.7even though--target 8.6is specified in the Leapp command?
Resolution
-
Ensure that the local repository contains the correct target version packages.
For e.g To upgrade the system to RHEL 8.6 version, make sure local repository is configured using RHEL 8.6 ISO. If using reposync to configure a local repository then make sure system release is set to 8.6 before running reposync.
Root Cause
--targetoption with Leapp command works only when the system is registered toRed Hat Customer portalorRed Hat Satellite.- Local repository does not contain the information for which RHEL X.Y version they are created. Hence there is no way to verify whether all the provided repositories are of required target version or some of them are of latest version.
SBR
Product(s)
Category
Tags
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.