[ TechDocsCove ]  TechDocsCove en   ↩︎

# Upgrading and Rolling Back Fedora Silverbue

fedora   fedora silverblue   linux   system administration  

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


Email shareIcon for sharing via email    Reddit shareIcon for sharing via Reddit    X shareIcon for sharing via X    Telegram shareIcon for sharing via Telegram    WhatsApp shareIcon for sharing via WhatsApp    Facebook shareIcon for sharing via Facebook    LinkedIn shareIcon for sharing via LinkedIn



Discover More within this Subject: