translations: [ es/Español ] · [ fr/Français ] · [ de/Deutsch ]
Table of contents
Fedora Silverblue is an immutable operating system built on Fedora that uses OSTree to manage system versions. This guide outlines the process of upgrading to a newer version and rolling back to a previous version in Fedora Silverblue.
Upgrading Fedora Silverblue
To upgrade your Fedora Silverblue system to a newer version, follow these steps:
Step 1: Check Available Upgrades
First, check for available upgrades:
rpm-ostree status
This command displays the current version and available updates.
Step 2: Download Updates
Download the available updates:
rpm-ostree upgrade
This command fetches the latest updates for your system.
Step 3: Reboot
Reboot the system to apply the updates:
systemctl reboot
After the reboot, your Fedora Silverblue system should be upgraded to the latest version.
Rolling Back Fedora Silverblue
If you encounter issues after an upgrade and need to roll back to a previous version, follow these steps:
Step 1: List Previous Deployments
List the previous deployments to identify the version you want to roll back to:
rpm-ostree status
This command shows the deployment history.
Step 2: Roll Back to a Previous Version
Select the deployment you want to revert to and execute:
rpm-ostree rollback <commit>
Replace <commit>
with the commit ID of the desired deployment.
Step 3: Reboot
Reboot the system to apply the rollback:
systemctl reboot
After the reboot, your Fedora Silverblue system should revert to the selected previous version.
Conclusion
Fedora Silverblue’s OSTree-based approach allows for seamless upgrades and rollbacks, ensuring system stability and flexibility. By following these steps, you can easily upgrade to newer versions or rollback to a previous known-good state.
Always exercise caution while performing system operations to avoid data loss or system instability. Happy upgrading and rolling back!
Created on: Dec 29, 2023
Discover More within this Subject:
- Understanding `kill` Command in Linux
- Understanding `ps` Command in Linux
- Creating and deleting containers in Podman