From Fedora Project Wiki

(unfuck the page (srsly guys, you confused the hell out of Phoronix. stopit. 99% of people don't know what an Atomic host is. Removing all reference to straight DNF upgrades is also not helpful, it is better to address them head on.))
Line 1: Line 1:
 
{{autolang|base=yes}}
 
{{autolang|base=yes}}
 
== Upgrading Fedora Products (yum/dnf and rpm-ostree) ==
 
 
Fedora has three products:  Workstation, Server and Cloud. If you are unfamiliar with them, you may wish to refer to [[Fedora.next]] first. 
 
Currently, Workstation, Server, and the Cloud Base image are managed via {{command|dnf}}.  There is a Cloud Atomic image which is managed via [[Changes/RpmOstree]] and designed for containers.  For more information
 
on that, see below.
 
  
 
== Upgrading with DNF system upgrade plugin ==
 
== Upgrading with DNF system upgrade plugin ==
 
+
{{admon/note|Recommended Upgrade Method|This is the recommended method for upgrades of all Fedora installs except Fedora Atomic Host.}}
 
For instructions on upgrading with the DNF system upgrade plugin, refer to [[DNF system upgrade|the dedicated page]].
 
For instructions on upgrading with the DNF system upgrade plugin, refer to [[DNF system upgrade|the dedicated page]].
  
 
== Online rebases for Fedora Atomic Host via rpm-ostree ==
 
== Online rebases for Fedora Atomic Host via rpm-ostree ==
 +
{{admon/note|Recommended Upgrade Method for Atomic Host|This is the recommended method for upgrades of Fedora Atomic Host installations.}}
 +
For instructions on upgrading Fedora Atomic Host installations between Fedora releases, refer to [[Atomic Host upgrade|the dedicated page]].
  
This path is used for the Fedora Atomic Host edition. It's crucial to note that at the moment, Fedora uses separate OSTree repositories for each major release. This makes
+
== Online upgrade with pure DNF ==
switching between versions more painful.  For more information, see [https://fedorahosted.org/rel-eng/ticket/6125 this ticket].
+
{{admon/warning|Not a recommended upgrade method|This is '''NOT''' an officially recommended method for Fedora upgrades.}}
Let's assume you're running Fedora 22.
+
Upgrading from one release to the next using {{command|dnf}} directly, without the DNF system upgrade plugin, is not explicitly tested by Fedora QA and issues with it are not considered blockers for a release, but in practice it works for many users. To learn more, refer to [[Upgrading Fedora using yum|Upgrading Fedora using dnf]].
First, you'll need to add a remote for the new major version:
 
 
 
<pre>
 
ostree remote add fedora-23 --set=gpg-verify=false https://dl.fedoraproject.org/pub/fedora/linux/atomic/23
 
</pre>
 
 
 
Then, rebase to it:
 
 
 
<pre>
 
rpm-ostree rebase fedora-23:fedora-atomic/f23/x86_64/docker-host
 
</pre>
 
  
 
== Upgrading from a pre-release (Alpha, Beta, or other development snapshot) to the final release ==
 
== Upgrading from a pre-release (Alpha, Beta, or other development snapshot) to the final release ==

Revision as of 00:45, 30 March 2016

Upgrading with DNF system upgrade plugin

Note.png
Recommended Upgrade Method
This is the recommended method for upgrades of all Fedora installs except Fedora Atomic Host.

For instructions on upgrading with the DNF system upgrade plugin, refer to the dedicated page.

Online rebases for Fedora Atomic Host via rpm-ostree

Note.png
Recommended Upgrade Method for Atomic Host
This is the recommended method for upgrades of Fedora Atomic Host installations.

For instructions on upgrading Fedora Atomic Host installations between Fedora releases, refer to the dedicated page.

Online upgrade with pure DNF

Warning.png
Not a recommended upgrade method
This is NOT an officially recommended method for Fedora upgrades.

Upgrading from one release to the next using dnf directly, without the DNF system upgrade plugin, is not explicitly tested by Fedora QA and issues with it are not considered blockers for a release, but in practice it works for many users. To learn more, refer to Upgrading Fedora using dnf.

Upgrading from a pre-release (Alpha, Beta, or other development snapshot) to the final release

If you are using a pre-release of Fedora, and want to know more about upgrading to the final release, refer to Upgrading from pre-release to final.

Tips

  • Ensure you have a good backup of your data.
  • Ensure you read the Release Notes carefully before attempting an upgrade.

Rawhide

Rawhide is a development version of Fedora that is updated daily. It is suitable for people who are developing or testing Fedora before broad public release.

Warning.png
Rawhide is not for casual use!
Packages in rawhide aren't inherently unstable, but interactions and dependencies between packages there can be unpredictable. The testing performed in release branches to prevent these conflicts isn't there in rawhide - or, more correctly, it happens in rawhide so that the release branches can benefit. Do not use Rawhide just for newer versions of a package; use it when you are an experienced user that wants to actively contribute to a stable rawhide.