|
|
(9 intermediate revisions by 3 users not shown) |
Line 1: |
Line 1: |
| Fedora Atomic Host installations use the [https://rpm-ostree.readthedocs.org/en/latest/ rpm-ostree deployment method], where packages are assembled on the Fedora release engineering side and delivered as atomic units, rather than the yum/DNF method of client side assembly. 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. | | 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]]. |
|
| |
|
| {{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].}}
| | New: This article has been replaced by links to blog entries. See: |
|
| |
|
| Known issues:
| | Upgrading from [http://www.projectatomic.io/blog/2018/10/fedora-atomic-28-to-29-upgrade/ Fedora Atomic Host 28 to 29]. |
|
| |
|
| * You must currently "setenforce 0" before upgrading. https://bugzilla.redhat.com/show_bug.cgi?id=1309075
| | And [http://www.projectatomic.io/blog/2018/05/fedora-atomic-27-to-28-upgrade/ Fedora Atomic Host 27 to 28]. |
|
| |
|
| Upgrading:
| | And [http://www.projectatomic.io/blog/2017/11/fedora-atomic-26-to-27-upgrade/ Fedora Atomic Host 26 to 27]. |
| | |
| Let's assume you're upgrading from Fedora {{FedoraVersionNumber|previous}} to {{FedoraVersionNumber|current}}. First, you'll need to remove the remote for the previous major version:
| |
| | |
| sudo ostree remote delete fedora-atomic
| |
| | |
| Next, add a remote for the new major version:
| |
| | |
| sudo ostree remote add fedora-atomic --set=gpg-verify=false https://dl.fedoraproject.org/pub/fedora/linux/atomic/{{FedoraVersionNumber|current}}
| |
| | |
| Then, rebase to it:
| |
| | |
| sudo rpm-ostree rebase fedora-atomic:fedora-atomic/{{FedoraVersionNumber|current}}/x86_64/docker-host
| |
| | |
| Like any other rpm-ostree update, this is staged for the next reboot, so to finally apply the update:
| |
| | |
| sudo systemctl reboot
| |
| | |
| That should be all!
| |
Latest revision as of 02:18, 1 November 2018