From Fedora Project Wiki

No edit summary
(new upgrade link)
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
This article applies to Fedora Atomic Host (though there is also an experimental [https://pagure.io/workstation-ostree-config/ workstation-ostree]).  For Fedora Workstation and Server, see [[DNF system upgrade]].
This article applies to Fedora Atomic Host (though there is also a [https://pagure.io/workstation-ostree-config/ Silverblue/Atomic Workstation]).  For "classic" Fedora Workstation and Server, see [[DNF system upgrade]].


Fedora Atomic Host installations use the [https://rpm-ostree.readthedocs.org/en/latest/ rpm-ostree deployment method], where the same packages used in Workstation/Server are assembled on the Fedora release engineering side and delivered as versioned atomic units, rather than the traditional yum/DNF method of client side assembly.   
New: This article has been replaced by links to blog entriesSee:


{{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].}}
Upgrading from [http://www.projectatomic.io/blog/2018/10/fedora-atomic-28-to-29-upgrade/ Fedora Atomic Host 28 to 29].


Upgrading from Fedora 25 Atomic Host to Fedora 26 Atomic Host:
And [http://www.projectatomic.io/blog/2018/05/fedora-atomic-27-to-28-upgrade/ Fedora Atomic Host 27 to 28].


First, be sure you have enough storage in the root partition:
And [http://www.projectatomic.io/blog/2017/11/fedora-atomic-26-to-27-upgrade/ Fedora Atomic Host 26 to 27].
 
lvm lvextend atomicos/root -L +2G -r
 
Next add the remote, then rebase:
 
ostree remote add --if-not-exists --set=gpgkeypath=/etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-26-primary fedora-atomic-26 https://kojipkgs.fedoraproject.org/atomic/26
rpm-ostree rebase fedora-atomic-26:fedora/26/x86_64/atomic-host
 
Like any other rpm-ostree update, this is staged for the next reboot, so to finally apply the update:
 
systemctl reboot
 
That should be all!

Latest revision as of 02:18, 1 November 2018

This article applies to Fedora Atomic Host (though there is also a Silverblue/Atomic Workstation). For "classic" Fedora Workstation and Server, see DNF system upgrade.

New: This article has been replaced by links to blog entries. See:

Upgrading from Fedora Atomic Host 28 to 29.

And Fedora Atomic Host 27 to 28.

And Fedora Atomic Host 26 to 27.