From Fedora Project Wiki

Revision as of 14:35, 15 October 2009 by Twittery (talk | contribs)

PreUpgrade is an application users run on an existing Fedora 8 or above installation, that resolves and downloads packages required to upgrade Fedora. While PreUpgrade downloads the necessary packages, users are free to continue using their systems. This gives an experience similar to a live upgrade.

PreUpgrade provides an upgrade directly to the latest version of Fedora. It is not necessary to upgrade to intermediate versions. (For example, it is possible to go from Fedora 9 to 11 directly.)

To use PreUpgrade to upgrade to a newer Fedora release:

  1. Back up all important data before upgrading as a general best practice.
  2. Run the yum update command as root to make sure all packages are updated to their latest versions.
  3. Preupgrade is installed by default in recent versions. Run the yum install preupgrade command as root to install PreUpgrade otherwise.
  4. Run the preupgrade command as root to start the PreUpgrade application. If you prefer a command line application, run preupgrade-cli instead.
  5. Select the Fedora release you want to upgrade to on the Choose desired release screen, and click the Apply button.
  6. When all of the packages have downloaded, reboot your system to start the Fedora installer and upgrade to the next release.

After the upgrade is complete:

  • Some packages may no longer be supported by the new release. These can be identified with:
package-cleanup --orphans
You may wish to remove these packages because they will no longer get security updates, and they may cause later conflicts with supported packages.
  • You should examine all ".rpmsave" and ".rpmnew" files created by the upgrade. You may need to manually merge configuration files.

For further information, refer to the PreUpgrade feature page.