From Fedora Project Wiki

Line 9: Line 9:
 
Upgrading:
 
Upgrading:
  
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 remove the remote for the previous major version:
  
  ostree remote add fedora-{{FedoraVersionNumber|current}} --set=gpg-verify=false https://dl.fedoraproject.org/pub/fedora/linux/atomic/{{FedoraVersionNumber|current}}
+
  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:
 
Then, rebase to it:
  
  rpm-ostree rebase fedora-{{FedoraVersionNumber|current}}:fedora-atomic/{{FedoraVersionNumber|current}}/x86_64/docker-host
+
  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:
 
Like any other rpm-ostree update, this is staged for the next reboot, so to finally apply the update:
  
  systemctl reboot
+
  sudo systemctl reboot
  
 
That should be all!
 
That should be all!

Revision as of 18:49, 26 July 2016

Fedora Atomic Host installations use the 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.

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.

Known issues:

Upgrading:

Let's assume you're upgrading from Fedora 29 to 30. 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/30

Then, rebase to it:

sudo rpm-ostree rebase fedora-atomic:fedora-atomic/30/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!