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 7 and Oracle Linux 8. The table helps you to identify the corresponding repositories that the Leapp utility makes available after the host has completed upgrading to Oracle Linux 8.

Oracle Linux 7 Yum Repositories Oracle Linux 8 DNF Repositories Notes

ol7_latest

ol8_baseos_latest

ol8_appstream

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

ol7_kvm_utils (x86_64)

ol7_latest (aarch64)

ol8_kvm_appstream

In Oracle Linux 7 for the aarch64 platform, the KVM packages are in the ol7_latest repository.

ol7_UEKR5

ol8_UEKR6

Oracle Linux 8 requires UEK R6 as a minimum UEK version.

ol7_UEKR6

ol8_UEKR6

 

ol7_addons

ol8_addons

 

ol7_ksplice

ol8_ksplice

Available for Oracle Cloud Infrastructure instances only.

ol7_$basearch_userspace_ksplice

ol8_$basearch_userspace_ksplice

Available for Oracle Cloud Infrastructure instances only.

ol7_oci_included

ol8_oci_included

Available for Oracle Cloud Infrastructure instances only.

ol7_optional_latest

ol8_codeready_builder

Suggested for developer systems only.

ol7_UEKR5_RDMA

ol8_UEKR6_RDMA

 

ol7_UEKR6_RDMA

ol8_UEKR6_RDMA

 

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

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.

--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:

  • ol8_baseos_latest
  • ol8_appstream
  • ol8_UEKR6 1
--oci

This argument is used on Oracle Cloud Infrastructure instance upgrades. The repositories covered by this argument are a superset of the --oraclelinux argument.

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

  • ol8_baseos_latest
  • ol8_appstream
  • ol8_UEKR6 1
  • ol8_addons
  • ol8_ksplice
  • ol8_oci_included

1 For aarch64 platforms, the ol8_UEKR6 repository does not exist. Instead, UEK R6 is part of the ol8_baseos repository.

Caution:

The --oraclelinux and --oci arguments for enabling default repositories are mutually exclusive.

For example, the preupgrade --oraclelinux command would be equivalent to the following syntax:

sudo leapp preupgrade --enablerepo 'ol8_baseos_latest' --enablerepo 'ol8_appstream' --enablerepo 'ol8_UEKR6'

Use the --enablerepo option to enable more required repositories that aren't in the default list of repositories that are enabled by the argument that you're using. You must use the option for every additional repository you want to enable, for example:

sudo leapp preupgrade --oraclelinux --enablerepo 'ol8_addons' --enablerepo 'ol8_codeready_builder' ...