Are you looking to upgrade your Oracle Linux 7.8 to the latest version, Oracle Linux 8.4? Upgrading your operating system can bring new features, improved security, and enhanced performance. In this article, we will guide you through the process of upgrading Oracle Linux 7.8 (OL7) to Oracle Linux 8.4 (OL8) using the leapp tool. However, please note that there is a known issue where the target parameter is not respected. Let's get started!
What is leapp?
Leapp is a utility provided by Oracle that helps you upgrade your operating system to a newer version. It automates the process and takes care of most of the tasks involved in the upgrade. It ensures a smooth transition and minimizes the chances of any data loss or system instability.
Preparing for the Upgrade
Before you begin the upgrade process, it is important to take some precautions to ensure a successful upgrade:
- Backup your important data: It is always recommended to create a backup of your important files and data before performing any major system changes. This will help you recover your data in case anything goes wrong during the upgrade process.
- Check system requirements: Make sure your system meets the minimum requirements for Oracle Linux 8.4. This includes checking the hardware specifications and ensuring you have enough disk space.
- Update your system: Before upgrading, it is advisable to update your Oracle Linux 7.8 system to the latest available packages. This will ensure that you have the most up-to-date software before the upgrade.
Upgrading Oracle Linux 7.8 to Oracle Linux 8.4
Now that you have prepared your system, let's proceed with the upgrade process:
- Open a terminal: To begin the upgrade, open a terminal window on your Oracle Linux 7.8 system.
- Install leapp: If you don't have leapp installed on your system, you can install it by running the following command in the terminal:
sudo yum install leapp - Run the pre-upgrade check: Before performing the actual upgrade, it is recommended to run a pre-upgrade check to identify any potential issues. Execute the following command:
sudo leapp preupgrade - Review the pre-upgrade report: After the pre-upgrade check completes, it will generate a report highlighting any potential problems that may arise during the upgrade. Review the report carefully and take necessary actions to resolve any issues.
- Perform the upgrade: Once you have resolved any issues mentioned in the pre-upgrade report, you can proceed with the actual upgrade. Execute the following command:
sudo leapp upgrade - Follow the on-screen instructions: During the upgrade process, you may be prompted to provide inputs or confirm certain actions. Follow the on-screen instructions and provide the necessary information.
- Reboot your system: After the upgrade process completes successfully, it is recommended to reboot your system to apply the changes. Execute the following command:
sudo reboot
Congratulations! You have successfully upgraded your Oracle Linux 7.8 to Oracle Linux 8.4 using the leapp tool. Enjoy the new features and improvements of the latest version!
Known Issue: Target Parameter Not Respected
It is important to note that there is a known issue with the leapp tool where the target parameter is not respected during the upgrade process. This means that even if you specify the target version as Oracle Linux 8.4, leapp may still attempt to upgrade to a different version.
To workaround this issue, it is recommended to manually verify the target version after the upgrade process completes. You can do this by executing the following command in the terminal:cat /etc/oracle-release
If the output shows the correct target version (Oracle Linux 8.4), then the upgrade was successful. However, if it shows a different version, you may need to perform additional steps to upgrade to the desired version.
Conclusion
Upgrading your Oracle Linux 7.8 to Oracle Linux 8.4 can bring numerous benefits, including new features, improved security, and enhanced performance. By following the steps outlined in this article, you can easily upgrade your system using the leapp tool. However, be aware of the known issue where the target parameter is not respected. We hope this guide has been helpful, and you can now enjoy the latest version of Oracle Linux!
| Reference | Link |
|---|---|
| Oracle Linux Documentation | https://docs.oracle.com/en/operating-systems/oracle-linux/ |
| leapp GitHub Repository | https://github.com/oamg/leapp |