Hi, I use Fedora Silverblue recently and today someone used my desktop. He accidentally hit sudo ostree remote delete fedora
which lead to delete fedora/36/x86_64/silverblue, hence I can’t do rpm-ostree upgrade
since it showed error: While pulling fedora/36/x86_64/silverblue: Remote "fedora" not found
. Since it has been deleted, do I have the option to add the remote repo back since I can’t find one or should I reinstall the whole with Anaconda? Thank you.
Add the remote again, hints are here:
Hmm I know the command to add a remote but I don’t know the URL for fedora remote. Do you know the URL?
I don’t have a Silverblue install, otherwise it would be easy to look up the URL using ostree show-url
.
However, I found this on the web…
ostree remote add --set=gpgkeypath=/etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-36-primary fedora https://ostree.fedoraproject.org --set=contenturl=mirrorlist=https://ostree.fedoraproject.org/mirrorlist
(Source: Rebasing to New Versions :: Fedora Docs)
So I asked in Fedora Discussion and this solution really helped me.