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 ~]$
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.
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
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 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 ~]$
[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 ~]$
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.
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.