Oracle Linux: Resolving Missing Repositories During Oracle Linux 7 to 8 Upgrade Using Leapp
in Linux
Applies to:
Linux OS - Version Oracle Linux 7.9
Linux x86-64
Symptoms:
After running the `leapp preupgrade --oci` command, the following errors and inhibitors appear in `/var/log/leapp/leapp-report.txt`:
Risk Factor: high (error) Title: Could not check for valid GPG keys Summary: {"details": "No UsedTargetRepositories facts"} Risk Factor: high (inhibitor) Title: There are no enabled target repositories Summary: This can happen when no custom repositories have been passed on the command line
These errors prevent the upgrade process from proceeding.
Cause:
The errors occur because the required Oracle Linux 8 repositories are not configured in the `/etc/yum.repos.d/` directory. Without these repositories, Leapp cannot fetch the necessary packages or metadata for the upgrade.
Tagged:
0