From Fedora Project Wiki

(create page with content walters initially stuffed straight into the top-level Upgrading page)
 
(fix admon)
Line 1: Line 1:
Fedora Atomic Host installations use the [https://rpm-ostree.readthedocs.org/en/latest/ rpm-ostree deployment method], and do not use RPM-based package management at all. Consequently, they do not use the [[DNF system upgrade]] mechanism which is used to upgrade between Fedora releases for other Fedora installations. Instead, use the procedure described here.
Fedora Atomic Host installations use the [https://rpm-ostree.readthedocs.org/en/latest/ rpm-ostree deployment method], and do not use RPM-based package management at all. Consequently, they do not use the [[DNF system upgrade]] mechanism which is used to upgrade between Fedora releases for other Fedora installations. Instead, use the procedure described here.


{{admon/info|One OSTree repository per release|It's crucial to note that at the moment, Fedora uses separate OSTree repositories for each major release.  This makes switching between versions more painful.  For more information, see [https://fedorahosted.org/rel-eng/ticket/6125 this ticket].}}
{{admon/note|One OSTree repository per release|It's crucial to note that at the moment, Fedora uses separate OSTree repositories for each major release.  This makes switching between versions more painful.  For more information, see [https://fedorahosted.org/rel-eng/ticket/6125 this ticket].}}


Let's assume you're upgrading from Fedora {{FedoraVersionNumber|previous}} to {{FedoraVersionNumber|current}}. First, you'll need to add a remote for the new major version:
Let's assume you're upgrading from Fedora {{FedoraVersionNumber|previous}} to {{FedoraVersionNumber|current}}. First, you'll need to add a remote for the new major version:

Revision as of 00:51, 30 March 2016

Fedora Atomic Host installations use the rpm-ostree deployment method, and do not use RPM-based package management at all. Consequently, they do not use the DNF system upgrade mechanism which is used to upgrade between Fedora releases for other Fedora installations. Instead, use the procedure described here.

Note.png
One OSTree repository per release
It's crucial to note that at the moment, Fedora uses separate OSTree repositories for each major release. This makes switching between versions more painful. For more information, see this ticket.

Let's assume you're upgrading from Fedora 38 to 39. First, you'll need to add a remote for the new major version:

ostree remote add fedora-39 --set=gpg-verify=false https://dl.fedoraproject.org/pub/fedora/linux/atomic/39

Then, rebase to it:

rpm-ostree rebase fedora-39:fedora-atomic/f39/x86_64/docker-host

That should be all!