How to Upgrade Fedora Silverblue

It’s been awhile since we first wrote about Fedora Silverblue when we took the plunge last year by installing Silverblue on an old laptop, but here we are two releases later so now it’s time for an upgrade. Let’s get started.

How to upgrade/rebase Fedora Silverblue

1. First, use ostree to check if the branch that you want is indeed available. In our case we are upgrading to Fedora 35.

ostree remote refs fedora | grep silverblue

You should see something like the following line somewhere in the output:

fedora:fedora/35/x86_64/silverblue

2. Rebase your system to the Fedora 35 (or latest) branch.

Run the following command:
rpm-ostree rebase fedora:fedora/35/x86_64/silverblue

While attempting to rebase Silverblue, you may get an error due to “public key not found”. Read on as this can be easily resolved in step 3:

“Error:
error: While pulling fedora/35/x86_64/updates/silverblue: Commit ec454363bdfhd3498979ohodfid9797pkpa9e95a: Signature made Wed Dec 2021 10:13:43 AM EET using RSA key ID DB4639719867C58F
Can’t check signature: public key not found”

How to fix the “Can’t check signature: public key not found” error

3. The above error is due to a missing certificate. You can fix that by running the command below.

Make sure you are in the rpm-gpg directory and then run the next command as root:

cd /etc/pki/rpm-gpg/
sudo wget https://src.fedoraproject.org/rpms/fedora-repos/raw/rawhide/f/RPM-GPG-KEY-fedora-35-primary

4. Rerun the command from step 2:
rpm-ostree rebase fedora:fedora/35/x86_64/silverblue

This last command will run for awhile and when it has completed, reboot your system. You should now be booting into a shiny new Silverblue 35. Enjoy!

One thought on “How to Upgrade Fedora Silverblue

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.