Upgrading

From FedoraProject

(Difference between revisions)
Jump to: navigation, search
m (Small grammar fix)
(tweak the dnf section text a bit, add an admon explicitly stating that direct yum/dnf upgrade is not supported)
 
(31 intermediate revisions by 10 users not shown)
Line 1: Line 1:
 
{{autolang|base=yes}}
 
{{autolang|base=yes}}
  
== Using the DVD to upgrade ==
+
== Upgrading Fedora Products ==
{{admon/note | Recommended upgrade method | This is the recommended method to upgrade your Fedora system}}
+
  
The process of using Anaconda installer to upgrade is the recommended and supported method and detailed in the [http://docs.fedoraproject.org/en-US/Fedora/{{FedoraVersionNumber}}/html/Installation_Guide/index.html Fedora Installation Guide]. The [http://docs.fedoraproject.org/en-US/Fedora/{{FedoraVersionNumber}}/html/Release_Notes/index.html Release Notes] also have some useful information.
+
This section has some notes on upgrading to Fedora products. Fedora 21 introduced three new products: Workstation, Server and Cloud. If you are unfamiliar with them, you may wish to refer to [[Fedora.next]] first.
  
== PreUpgrade ==
+
=== Do I need to specify or worry about products when upgrading from Fedora 21 or newer? ===
  
[[PreUpgrade]] is an application you can use to upgrade Fedora while continuing to use it. [[PreUpgrade]] downloads the packages required for the upgrade. Once everything is downloaded and set up, you will be notified that you can reboot at any time to start the Fedora upgrade.  This method of upgrading is explicitly tested and supported by Fedora. To read more, refer to [[PreUpgrade]].
+
No, you don't need to specify a product for upgrades of Fedora 21 or later. Since the products were introduced in Fedora 21, all Fedora 21+ installs have a product identifier (even if that's 'nonproduct'). You only need to specify this when upgrading from a release older than Fedora 21 (which is no longer supported).
  
{{admon/note|What does supported mean?|To say that preupgrade is supported is potentially misleading. What the word "supported" means is not defined. If it is supported by who and in what medium?}}
+
== Upgrading with DNF system upgrade plugin ==
 +
{{admon/note|Recommended Upgrade Method|This is the recommended method for Fedora upgrades.}}
 +
For instructions on upgrading with the DNF system upgrade plugin, refer to [[DNF system upgrade|the dedicated page]].
  
== Upgrading directly using Yum ==
+
== Upgrading directly using yum or DNF ==
 +
{{admon/warning|Not a recommended upgrade method|This is '''NOT''' an officially recommended method for Fedora upgrades.}}
  
Upgrading directly from one release to the next using {{command|yum}} is not explicitly tested by Fedora QA and issues with it are not considered blockers for a release, but in practise it works for many users, probably due to our packaging guidelines providing detailed information on maintaining upgradability.  To learn more, refer to [[Upgrading Fedora using yum]].
+
Upgrading directly from one release to the next using {{command|dnf}} (or {{command|yum}} for releases before Fedora 22) 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, probably due to our packaging guidelines providing detailed information on maintaining upgradability.  To learn more, refer to [[Upgrading Fedora using yum|Upgrading Fedora using dnf or yum]].
  
== Upgrading from a pre-release (alpha, beta, release candidate or other development snapshot) to the final release ==
+
== 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]].
 
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]].
Line 22: Line 24:
 
== Tips ==
 
== Tips ==
  
* It's a good idea to have a backup of your system before performing an upgrade. Keeping {{filename|/home}} in a separate logical volume or partition makes backing up user data easier. This is a feature requested for the Fedora Installer. Refer to [https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=150670 Bug 150670] for more on this issue. This is the default from Fedora 13 onwards.  
+
* Ensure you have a good backup of your data.
  
* Doing a clean installation and then restoring user data from backups may work better for some users. Future releases may include features to assist in this process. Refer to [[Anaconda/WorkItems#upgrade|  AnacondaWorkItems]]  for more information.
+
* Ensure you read the [http://docs.fedoraproject.org/en-US/Fedora/{{FedoraVersionNumber}}/html/Release_Notes/ Release Notes] carefully before attempting an upgrade.
 
+
* You can do an upgrade using the regular installation DVDs. Live media only performs fresh installations, not upgrades. The installation overrides any third party packages which conflict with the default installation set. Applications within the Fedora repository are easily upgradeable. Refer to the [http://docs.fedoraproject.org/en-US/Fedora/{{FedoraVersionNumber}}/html/Installation_Guide/index.html Installation Guide]  for more information.
+
 
+
* Make sure you read the [http://docs.fedoraproject.org/en-US/Fedora/{{FedoraVersionNumber}}/html/Release_Notes/ Release Notes] carefully before attempting an upgrade.
+
  
 
== Rawhide ==
 
== 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.
 
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.
 +
{{Admon/warning | 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.}}
  
 
* To move from Rawhide to a stable release, refer to [[Upgrading from pre-release to final]].
 
* To move from Rawhide to a stable release, refer to [[Upgrading from pre-release to final]].
 
* To move from a stable release to Rawhide, refer to [[Releases/Rawhide]].
 
* To move from a stable release to Rawhide, refer to [[Releases/Rawhide]].

Latest revision as of 18:54, 2 November 2015

Contents

[edit] Upgrading Fedora Products

This section has some notes on upgrading to Fedora products. Fedora 21 introduced three new products: Workstation, Server and Cloud. If you are unfamiliar with them, you may wish to refer to Fedora.next first.

[edit] Do I need to specify or worry about products when upgrading from Fedora 21 or newer?

No, you don't need to specify a product for upgrades of Fedora 21 or later. Since the products were introduced in Fedora 21, all Fedora 21+ installs have a product identifier (even if that's 'nonproduct'). You only need to specify this when upgrading from a release older than Fedora 21 (which is no longer supported).

[edit] Upgrading with DNF system upgrade plugin

Note.png
Recommended Upgrade Method
This is the recommended method for Fedora upgrades.

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

[edit] Upgrading directly using yum or DNF

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

Upgrading directly from one release to the next using dnf (or yum for releases before Fedora 22) 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, probably due to our packaging guidelines providing detailed information on maintaining upgradability. To learn more, refer to Upgrading Fedora using dnf or yum.

[edit] 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.

[edit] Tips

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

[edit] 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 (medium size).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.