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 |
---|---|---|
|
|
All Oracle Linux 8 upgrades require the BaseOS and AppStream repositories. |
|
|
In Oracle Linux 7 for the aarch64 platform, the KVM packages are in the
ol7_latest repository.
|
|
|
Oracle Linux 8 requires UEK R6 as a minimum UEK version. |
|
|
|
|
|
|
|
|
Available for Oracle Cloud Infrastructure instances only. |
|
|
Available for Oracle Cloud Infrastructure instances only. |
|
|
Available for Oracle Cloud Infrastructure instances only. |
|
|
Suggested for developer systems only. |
|
|
|
|
|
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.
- --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 'ol8_addons' --enablerepo 'ol8_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:
-
ol8_baseos_latest
-
ol8_appstream
-
ol8_UEKR6
1
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 'ol8_addons' --enablerepo 'ol8_codeready_builder' ...
This command is equal to :
sudo leapp preupgrade --enablerepo 'ol8_baseos_latest' --enablerepo 'ol8_appstream' --enablerepo 'ol8_UEKR6' --enablerepo 'ol8_addons' --enablerepo 'ol8_codeready_builder'
-
- --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
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--oci
. For example:sudo leapp preupgrade --oci --enablerepo 'ol8_codeready_builder' ...
This command is equal to:
sudo leapp preupgrade --enablerepo 'ol8_baseos_latest' --enablerepo 'ol8_appstream' --enablerepo 'ol8_ksplice' --enablerepo 'ol8_oci_included' --enablerepo 'ol8_UEKR6' --enablerepo 'ol8_addons' --enablerepo 'ol8_codeready_builder'
-
1 For aarch64 platforms, the ol8_UEKR6
repository
doesn't exist. Instead, UEK R6 is part of the ol8_baseos
repository.