From Fedora Project Wiki

(→‎Upgrading with FedUp: clarify that you can only use FedUp on F17 and later, if you're on earlier release, you have to get F17 before being able to use FedUp)
(Try and adjust this page somewhat)
(20 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{{autolang|base=yes}}
{{autolang|base=yes}}


{{admon/important|Upgrading to Fedora 18 and Later|Starting with Fedora 18, it is no longer possible to upgrade a Fedora system using PreUpgrade or the installation DVD. [[FedUp]] is the recommended upgrade solution going forward from Fedora 18}}
== Upgrading Fedora Products ==


== Upgrading with FedUp ==
This section has some notes on upgrading to Fedora products.  Fedora 21 introduced three new products including workstation, server and cloud. If you are unfamiliar with them, refer to [[fedora.next]] page first. 
{{admon/note | Recommended Upgrade Method (for upgrading ''to'' Fedora 18 and newer)| This is the recommended method to upgrade your Fedora system to Fedora 18 and newerNote that FedUp is only available in Fedora 17 and laterThus users who are currently running Fedora 16 or earlier, will first need to upgrade to Fedora 17 using another method before being able to use FedUp to upgrade to Fedora 18 or later.}}
 
=== Do I need to specify or worry about products when upgrading from Fedora 21 to 22? ===
 
No, you don't need to specify product for Fedora 21 to Fedora 22 upgrades. Since the products were introduced in Fedora 21, all Fedora 21 installs are a type of product (even if thats 'nonproduct'). You only need to specify this going from Fedora 20 to Fedora 21.
 
=== Can I upgrade to Fedora 21 without moving to using one of the products? ===
 
Yes. Although we are focusing on the products moving forward, upgrading from the existing official variants including Fedora Spins should continue to workUse [[FedUp]] with the option <code>--product=nonproduct</code>After the upgrade, you should have fedora-release-nonproduct package installed.
 
=== How do I upgrade from Fedora 20 to Fedora 21 and to one of the products? ===
 
Upgrade using fedup.  It has support for upgrading to a product directly.
 
===  If I choose to upgrade to one of the products, can I move to another later? ===
 
Only a transition from cloud to server is supported.  Use the script that is part of cloudtoserver package. If you are repurposing your system, a reinstallation is recommended for others.


* [[FedUp#How_Can_I_Upgrade_My_System_with_FedUp.3F|How to Upgrade using FedUp]]
=== Can I move from non productized installations to one of the products and vice versa? ===
* [[FedUp#Frequently_Asked_Questions|Frequently Asked Questions about FedUp]]


== Using the DVD to upgrade ==
This should work either way but not explicitly supported at the moment.
{{admon/note | Recommended Upgrade Method (when upgrading to Fedora 17 or earlier releases) | This is the recommended method to upgrade your Fedora system for Fedora 17 and older. Note that the DVD '''cannot''' be used to upgrade to Fedora 18 or later}}


For upgrading to all releases up to Fedora 17, 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.
== Upgrading with FedUp ==
{{admon/note|Recommended Upgrade Method| This is the recommended method to upgrade your Fedora systemFor instructions on upgrading, refer to [[FedUp#How_Can_I_Upgrade_My_System_with_FedUp.3F|the FedUp page]].}}


== Upgrading directly using Yum ==
== Upgrading directly using Yum ==
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|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 using DNF ==
 
Like the yum method above this is not tested by Fedora QA, but should work.  


== 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 24: Line 41:
== 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.
 
* 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.
* Ensure 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]].

Revision as of 17:28, 27 May 2015

Upgrading Fedora Products

This section has some notes on upgrading to Fedora products. Fedora 21 introduced three new products including workstation, server and cloud. If you are unfamiliar with them, refer to fedora.next page first.

Do I need to specify or worry about products when upgrading from Fedora 21 to 22?

No, you don't need to specify product for Fedora 21 to Fedora 22 upgrades. Since the products were introduced in Fedora 21, all Fedora 21 installs are a type of product (even if thats 'nonproduct'). You only need to specify this going from Fedora 20 to Fedora 21.

Can I upgrade to Fedora 21 without moving to using one of the products?

Yes. Although we are focusing on the products moving forward, upgrading from the existing official variants including Fedora Spins should continue to work. Use FedUp with the option --product=nonproduct. After the upgrade, you should have fedora-release-nonproduct package installed.

How do I upgrade from Fedora 20 to Fedora 21 and to one of the products?

Upgrade using fedup. It has support for upgrading to a product directly.

If I choose to upgrade to one of the products, can I move to another later?

Only a transition from cloud to server is supported. Use the script that is part of cloudtoserver package. If you are repurposing your system, a reinstallation is recommended for others.

Can I move from non productized installations to one of the products and vice versa?

This should work either way but not explicitly supported at the moment.

Upgrading with FedUp

Note.png
Recommended Upgrade Method
This is the recommended method to upgrade your Fedora system. For instructions on upgrading, refer to the FedUp page.

Upgrading directly using Yum

Upgrading directly from one release to the next using 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 using DNF

Like the yum method above this is not tested by Fedora QA, but should work.

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.