A Supported Repositories in Leapp Upgrades

This appendix shows repositories that are used in a system or instance upgrade that uses the Leapp utility.

Repository Mappings

The following table shows repository correspondences between Oracle Linux 9 and Oracle Linux 10. The table helps you to identify the corresponding repositories that the Leapp utility makes available after the host has completed the upgrade.

This table shows the repository mappings for the Oracle Linux KVM Stack.

Oracle Linux 9 DNF Repositories Oracle Linux 10 DNF Repositories Notes

ol9_baseos_latest

ol10_baseos_latest

All Oracle Linux 10 upgrades require the BaseOS and AppStream repositories.

ol9_appstream

ol10_appstream

 

ol9_UEKR7

ol9_UEKR8

ol10_UEKR8

Oracle Linux 10 requires UEK R8 as a minimum UEK version.

ol9_addons

ol10_addons

 

ol9_codeready_builder

ol10_codeready_builder

Suggested for developer systems only.

Using Command Arguments to Enable Repositories

As more products are upgradeable with future versions of the Leapp utility, the number of repositories that need to be enabled after the upgrade might also increase. The Leapp upgrade commands would become complicatedly long as you manually list the repositories to be enabled in the command syntax.

Oracle has provided the following convenience switches or arguments that can be used with the Leapp preupgrade or upgrade commands. When used, these arguments automatically apply the --enablerepo subcommand to repositories that are appropriate to the host that you're upgrading.

--enablerepo

Use the option to enable required repositories. You must use the option for every repository you want to enable, for example:

sudo leapp preupgrade --enablerepo 'ol10_addons' --enablerepo 'ol10_codeready_builder' ...
--oraclelinux

This argument is used on system upgrades that you perform either locally or remotely. The argument detects the system's architecture and automatically uses the repositories that are applicable to the architecture.

When you use this argument, the following repositories are automatically enabled:

  • ol10_baseos_latest
  • ol10_appstream
  • ol10_UEKR8

Using this option is equal to using --enablerepo individually for each repository listed.

You can use --enablerepo to add any other required repositories not already included in --oraclelinux. For example:

sudo leapp preupgrade --oraclelinux --enablerepo 'ol10_addons' --enablerepo 'ol10_codeready_builder' ...

This command is equal to :

sudo leapp preupgrade --enablerepo 'ol10_baseos_latest' --enablerepo 'ol10_appstream' --enablerepo 'ol10_UEKR8' --enablerepo 'ol10_addons' --enablerepo 'ol10_codeready_builder'
--iso

Specify an Oracle Linux installation image to use to perform an in place upgrade. You must specify the full path to the ISO image:

sudo leapp upgrade --iso <path-to-ISO>

The ISO image must be stored on the local partition, not on removable media or the local network.

Note:

Depending on the package composition on some custom Oracle Linux deployments, in-place Leapp upgrades using the --iso option might not include some packages. This is an expected and known limitation of --iso option. Use the --iso option only for isolated environments, where access to local repository mirrors or public Oracle repositories is impossible. Analyze the following files before proceeding with the upgrade to confirm what packages are to be installed, removed, or updated:
  • /var/log/leapp/leapp-preupgrade.log

  • /var/log/leapp/leapp-upgrade.log

  • /var/log/leapp/leapp-report.txt