Silverblue Upgrade Issues - What Am I doing wrong?

Hi, I am trying to upgrade from version 38 to 39 to 40. However, I keep getting errors popping up in the terminal.

Am I missing something? What am I doing wrong?

Any assistance that you can provide is greatly appreciated!

The following are the commands I have tried. Note I deliberately added spaces in the https below to override the link limitation.

[richard@fedora ~]$ sudo rpm-ostree update
[sudo] password for richard: 
**error:** While pulling fedora/38/x86_64/silverblue: No valid mirrors were found in mirrorlist 'h t t p s://ostree.fedoraproject.org/mirrorlist'
[richard@fedora ~]$ sudo rpm-ostree upgrade
[sudo] password for richard: 
**error:** While pulling fedora/38/x86_64/silverblue: No valid mirrors were found in mirrorlist 'h t t p s://ostree.fedoraproject.org/mirrorlist'
[richard@fedora ~]$ rom-ostree reset
bash: rom-ostree: command not found
[richard@fedora ~]$ sudo rpm-ostree reset
[sudo] password for richard: 
No change.
[richard@fedora ~]$ sudo rpm-ostree rebase fedora:fedora/39/x86_64/silverblue
**error:** While pulling fedora/39/x86_64/silverblue: No valid mirrors were found in mirrorlist 'h t t p s://ostree.fedoraproject.org/mirrorlist'
[richard@fedora ~]$ rpm-ostree status
State: idle
Deployments:
● fedora:fedora/38/x86_64/silverblue
                  Version: 38.20240209.0 (2024-02-09T00:58:33Z)
                   Commit: c4a6f9f8d124a1b829bafb276f5428a110ebbab9343350b763e597f1cd9f9bf9
             GPGSignature: Valid signature by 6A51BBABBA3D5467B6171221809A8D7CEB10B464

  fedora:fedora/38/x86_64/silverblue
                  Version: 38.20240209.0 (2024-02-09T00:58:33Z)
               BaseCommit: c4a6f9f8d124a1b829bafb276f5428a110ebbab9343350b763e597f1cd9f9bf9
             GPGSignature: Valid signature by 6A51BBABBA3D5467B6171221809A8D7CEB10B464
            LocalPackages: rpmfusion-free-release-38-1.noarch rpmfusion-nonfree-release-38-1.noarch
                   Pinned: yes
[richard@fedora ~]$ sudo rpm-ostree update --uninstall rpmfusion-free-release-38-1.noarch --uninstall rpmfusion-nonfree-release-38-1.noarch --install rpmfusion-free-release --install rpmfusion-nonfree-release
[sudo] password for richard: 
**error:** Package/capability 'rpmfusion-free-release-38-1.noarch' is not currently requested
[richard@fedora ~]$ rpm-ostree update --uninstall rpmfusion-free-release-38-1.noarch --uninstall rpmfusion-nonfree-release-38-1.noarch --install rpmfusion-free-release --install rpmfusion-nonfree-release
**error:** Package/capability 'rpmfusion-free-release-38-1.noarch' is not currently requested
[richard@fedora ~]$ rpm -qa|grep fusion
[richard@fedora ~]$ rpm-ostree update --uninstall rpmfusion-free-release-38-1.noarch --uninstall rpmfusion-nonfree-release-38-1.noarch --install rpmfusion-free-release --install rpmfusion-nonfree-release
**error:** Package/capability 'rpmfusion-free-release-38-1.noarch' is not currently requested
[richard@fedora ~]$ sudo rpm-ostree reset
[sudo] password for richard: 
No change.
[richard@fedora ~]$ sudo rpm-ostree install h t t p s://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm h t t p s://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm
Downloading h t t p s://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-38.noarch.rpm...done
Downloading h t t p s://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-38.noarch.rpm...done
Checking out tree c4a6f9f... done
Enabled rpm-md repositories: fedora-cisco-openh264 fedora-modular updates-modular updates google-chrome rpmfusion-nonfree-steam rpmfusion-nonfree-nvidia-driver fedora phracek-PyCharm updates-archive
Updating metadata for 'updates-modular'... done
Updating metadata for 'updates'... done
Updating metadata for 'updates-archive'... done
**error:** Updating rpm-md repo 'updates-archive': cannot update repo 'updates-archive': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried; Last error: Curl error (28): Timeout was reached for h t t p s://fedoraproject-updates-archive.fedoraproject.org/fedora/38/x86_64/repodata/repomd.xml [Resolving timed out after 30000 milliseconds]
[richard@fedora ~]$ sudo rpm-ostree reset
[sudo] password for richard: 
No change.
[richard@fedora ~]$ sudo rpm-ostree cleanup -m
[richard@fedora ~]$ sudo rpm-ostree refresh-md -f
Enabled rpm-md repositories: fedora-cisco-openh264 fedora-modular updates-modular updates google-chrome rpmfusion-nonfree-steam rpmfusion-nonfree-nvidia-driver fedora phracek-PyCharm updates-archive
Updating metadata for 'fedora-cisco-openh264'... done
Updating metadata for 'fedora-modular'... done
Updating metadata for 'updates-modular'... done
Updating metadata for 'updates'... done
Updating metadata for 'google-chrome'... done
Updating metadata for 'rpmfusion-nonfree-steam'... done
Updating metadata for 'rpmfusion-nonfree-nvidia-driver'... done
Updating metadata for 'fedora'... done
Updating metadata for 'phracek-PyCharm'... done
Updating metadata for 'updates-archive'... done
**error:** Updating rpm-md repo 'updates-archive': cannot update repo 'updates-archive': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried; Last error: Curl error (28): Timeout was reached for h t t p s://fedoraproject-updates-archive.fedoraproject.org/fedora/38/x86_64/repodata/repomd.xml [Resolving timed out after 30000 milliseconds]
[richard@fedora ~]$ rpm-ostree status
State: idle
Deployments:
● fedora:fedora/38/x86_64/silverblue
                  Version: 38.20240209.0 (2024-02-09T00:58:33Z)
                   Commit: c4a6f9f8d124a1b829bafb276f5428a110ebbab9343350b763e597f1cd9f9bf9
             GPGSignature: Valid signature by 6A51BBABBA3D5467B6171221809A8D7CEB10B464

  fedora:fedora/38/x86_64/silverblue
                  Version: 38.20240209.0 (2024-02-09T00:58:33Z)
               BaseCommit: c4a6f9f8d124a1b829bafb276f5428a110ebbab9343350b763e597f1cd9f9bf9
             GPGSignature: Valid signature by 6A51BBABBA3D5467B6171221809A8D7CEB10B464
            LocalPackages: rpmfusion-free-release-38-1.noarch rpmfusion-nonfree-release-38-1.noarch
                   Pinned: yes
[richard@fedora ~]$ sudo rpm-ostree upgrade
[sudo] password for richard: 
**error:** While pulling fedora/38/x86_64/silverblue: No valid mirrors were found in mirrorlist 'h t t p s://ostree.fedoraproject.org/mirrorlist'
[richard@fedora ~]$ sudo rpm-ostree rebase fedora:fedora/39/x86_64/silverblue
[sudo] password for richard: 
**error:** While pulling fedora/39/x86_64/silverblue: No valid mirrors were found in mirrorlist 'h t t p s://ostree.fedoraproject.org/mirrorlist'
[richard@fedora ~]$

Have you changed the system crypto policy? (update-crypto-policies --show)

If so, this may be: Issue #11588: FUTURE Cryptographic policy blocks rpm-ostree update - fedora-infrastructure - Pagure.io

1 Like

So, you did a lot of stuff here. Some comments

rpm-ostree upgrade should work. Alternatively rpm-ostree rebase fedora/next/x86_64/silverblue may work, or entering the version manually.

You dont need sudo for rpm-ostree, ever. I hope it will soon require a password for all these actions, but that uses polkit and not sudo. Just do rpm-ostree x without sudo.

Then, you tried updating while removing packages, even though rpm-ostree reset clearly showed that you are already on an unmodified system (no change)

If you are using NVIDIA, I would recommend using ublue nvidia images instead, which will take lots of trouble away from your machine.

You can also rebase directly from 38 to 40, should give no problems. But 40 is not out yet.

Ok, I ran the following and this is the response I received:
[richard@fedora ~]$ sudo update-crypto-policies --show
DEFAULT

I ran the following and I am getting a mirror error.

[richard@fedora ~]$ rpm-ostree upgrade
error: While pulling fedora/38/x86_64/silverblue: No valid mirrors were found in mirrorlist ‘https://ostree.fedoraproject.org/mirrorlist

ok, I did a rpm-ostree upgrade. It came back with a no-mirror error. I did a system reboot and tried doing a rebase to the next version.

[richard@fedora ~]$ rpm-ostree rebase fedora/next/x86_64/silverblue
error: Transaction in progress: refresh-md
You can cancel the current transaction with rpm-ostree cancel
[richard@fedora ~]$ rpm-ostree status
State: busy
Transaction: refresh-md
Initiator: client(id:gnome-software dbus:1.111 unit:app-gnome-org.gnome.Software-2163.scope uid:1000)
Deployments:
● fedora:fedora/38/x86_64/silverblue
Version: 38.20240209.0 (2024-02-09T00:58:33Z)
Commit: c4a6f9f8d124a1b829bafb276f5428a110ebbab9343350b763e597f1cd9f9bf9
GPGSignature: Valid signature by 6A51BBABBA3D5467B6171221809A8D7CEB10B464

fedora:fedora/38/x86_64/silverblue
Version: 38.20240209.0 (2024-02-09T00:58:33Z)
BaseCommit: c4a6f9f8d124a1b829bafb276f5428a110ebbab9343350b763e597f1cd9f9bf9
GPGSignature: Valid signature by 6A51BBABBA3D5467B6171221809A8D7CEB10B464
LocalPackages: rpmfusion-free-release-38-1.noarch
rpmfusion-nonfree-release-38-1.noarch
Pinned: yes
[richard@fedora ~]$

I am going to wait for refresh-md task to finish, then try again.

rpm-ostree cancel && REBASECOMMAND

I am still getting mirror issues when trying to update, upgrade, and or rebase.

[richard@fedora ~]$ rpm-ostree rebase fedora/next/x86_64/silverblue
error: Transaction in progress: refresh-md
You can cancel the current transaction with rpm-ostree cancel
[richard@fedora ~]$ rpm-ostree status
State: busy
Transaction: refresh-md
Initiator: client(id:gnome-software dbus:1.111 unit:app-gnome-org.gnome.Software-2163.scope uid:1000)
Deployments:
● fedora:fedora/38/x86_64/silverblue
Version: 38.20240209.0 (2024-02-09T00:58:33Z)
Commit: c4a6f9f8d124a1b829bafb276f5428a110ebbab9343350b763e597f1cd9f9bf9
GPGSignature: Valid signature by 6A51BBABBA3D5467B6171221809A8D7CEB10B464

fedora:fedora/38/x86_64/silverblue
Version: 38.20240209.0 (2024-02-09T00:58:33Z)
BaseCommit: c4a6f9f8d124a1b829bafb276f5428a110ebbab9343350b763e597f1cd9f9bf9
GPGSignature: Valid signature by 6A51BBABBA3D5467B6171221809A8D7CEB10B464
LocalPackages: rpmfusion-free-release-38-1.noarch
rpmfusion-nonfree-release-38-1.noarch
Pinned: yes
[richard@fedora ~]$ rpm-ostree status
State: idle
Deployments:
● fedora:fedora/38/x86_64/silverblue
Version: 38.20240209.0 (2024-02-09T00:58:33Z)
Commit: c4a6f9f8d124a1b829bafb276f5428a110ebbab9343350b763e597f1cd9f9bf9
GPGSignature: Valid signature by 6A51BBABBA3D5467B6171221809A8D7CEB10B464

fedora:fedora/38/x86_64/silverblue
Version: 38.20240209.0 (2024-02-09T00:58:33Z)
BaseCommit: c4a6f9f8d124a1b829bafb276f5428a110ebbab9343350b763e597f1cd9f9bf9
GPGSignature: Valid signature by 6A51BBABBA3D5467B6171221809A8D7CEB10B464
LocalPackages: rpmfusion-free-release-38-1.noarch
rpmfusion-nonfree-release-38-1.noarch
Pinned: yes
[richard@fedora ~]$ rpm-ostree rebase fedora/next/x86_64/silverblue
error: While pulling fedora/next/x86_64/silverblue: No valid mirrors were found in mirrorlist ‘https://ostree.fedoraproject.org/mirrorlist
[richard@fedora ~]$ rpm-ostree update
error: While pulling fedora/38/x86_64/silverblue: No valid mirrors were found in mirrorlist ‘https://ostree.fedoraproject.org/mirrorlist
[richard@fedora ~]$ rpm-ostree upgrade
error: While pulling fedora/38/x86_64/silverblue: No valid mirrors were found in mirrorlist ‘https://ostree.fedoraproject.org/mirrorlist
[richard@fedora ~]$

Ok, still getting mirror issues.

[richard@fedora ~]$ rpm-ostree cleanup -mp
Deployments unchanged.
[richard@fedora ~]$ rpm-ostree upgrade
error: While pulling fedora/38/x86_64/silverblue: No valid mirrors were found in mirrorlist ‘https://ostree.fedoraproject.org/mirrorlist
[richard@fedora ~]$

I am going to try a system reboot and then do the rpm-ostree rebase

Nope no go on the rebase after a reboot. Still getting mirror errors.

[richard@fedora ~]$ rpm-ostree rebase fedora/next/x86_64/silverblue
error: While pulling fedora/next/x86_64/silverblue: No valid mirrors were found in mirrorlist ‘https://ostree.fedoraproject.org/mirrorlist
[richard@fedora ~]$ rpm-ostree rebase fedora:fedora/39/x86_64/silverblue
error: While pulling fedora/39/x86_64/silverblue: No valid mirrors were found in mirrorlist ‘https://ostree.fedoraproject.org/mirrorlist
[richard@fedora ~]$

getting mirror errors when trying to rebase see my other replies

It’s not the crypto issue then.

What do you see if you try to access that mirror list manually?:

curl https://ostree.fedoraproject.org/mirrorlist

If it outputs a URL, what do you see if you visit it in your browser? It should show a directory listing for an ostree repo containing config, refs, objects, etc.

My last two commands and system responses

[richard@fedora ~]$ rpm-ostree upgrade --check
error: While pulling fedora/38/x86_64/silverblue: No valid mirrors were found in mirrorlist ‘https://ostree.fedoraproject.org/mirrorlist
[richard@fedora ~]$ curl https://ostree.fedoraproject.org/mirrorlist
https://d2uk5hbyrobdzx.cloudfront.net/
[richard@fedora ~]$

That’s what I get. What do you see if you open that cloudfront link?

The link is super slow to load. However, it does load into the Google Chrome browser. Is the system timing out?

Index of /ostree/repo
Icon Name Last modified Size Description
[PARENTDIR] Parent Directory -
[ ] config 2023-05-19 19:58 246
[ ] config.bak 2023-01-20 16:41 83
[DIR] delta-indexes/ 2021-01-28 02:35 -
[DIR] deltas/ 2019-11-27 16:10 -
[DIR] extensions/ 2018-03-06 15:03 -
[DIR] objects/ 2018-03-06 17:08 -
[DIR] refs/ 2018-03-06 15:03 -
[DIR] state/ 2024-03-03 02:04 -
[TXT] strace-out.txt 2023-01-31 15:10 0
[ ] summary 2024-03-03 02:04 30K
[ ] sync-remote-ostree-repo-commits.sh 2023-01-31 16:37 1.3K
[DIR] tmp/ 2024-03-03 02:04 -
[DIR] uncompressed-objects-cache/ 2018-03-06 15:03 -

I am getting a time out on “updates-archive”

[richard@fedora ~]$ rpm-ostree update --check
error: While pulling fedora/38/x86_64/silverblue: No valid mirrors were found in mirrorlist ‘https://ostree.fedoraproject.org/mirrorlist
[richard@fedora ~]$ rpm-ostree refresh-md -f
Enabled rpm-md repositories: fedora-cisco-openh264 fedora-modular updates-modular updates google-chrome rpmfusion-nonfree-steam rpmfusion-nonfree-nvidia-driver fedora phracek-PyCharm updates-archive
Updating metadata for ‘fedora-cisco-openh264’… done
Updating metadata for ‘fedora-modular’… done
Updating metadata for ‘updates-modular’… done
Updating metadata for ‘updates’… done
Updating metadata for ‘google-chrome’… done
Updating metadata for ‘rpmfusion-nonfree-steam’… done
Updating metadata for ‘rpmfusion-nonfree-nvidia-driver’… done
Updating metadata for ‘fedora’… done
Updating metadata for ‘phracek-PyCharm’… done
Updating metadata for ‘updates-archive’… done
error: Updating rpm-md repo ‘updates-archive’: cannot update repo ‘updates-archive’: Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried; Last error: Curl error (28): Timeout was reached for https://fedoraproject-updates-archive.fedoraproject.org/fedora/38/x86_64/repodata/repomd.xml [Resolving timed out after 30000 milliseconds]
[richard@fedora ~]$

did you change your DNS somehow? You could try to change it to something like 1.1.1.1 using an /etc/systemd/resolved.conf.d/fast-dns.conf

Hello @rrbachamp ,
I thought you didn’t use sudo with rpm-ostree commands. Please try it without the use of sudo.
Definitely, don’t need to use sudo.

1 Like

I tried to nano /etc/systemd/resolved.conf.d/fast-dns.conf and there is nothing there. What should be in that file?

Sorry for the confusion, didnt have the time.

Nano will create this file. Make sure that the directory /etc/systemd/resolved.conf.d/ is there. Never change the resolved.conf (and also not the /etc/resolv.conf which is a link.

This is just a test to see if setting a DNS server works.

Create the file and set the DNS server.

[Resolve]
DNS=1.1.1.1
FallbackDNS=9.9.9.9

those are not privacy friendly but may fix some weird DNS issues with your Internet Service provider or your config.

Did you change anything DNS related?

1 Like