From Fedora Project Wiki

m (doh)
(drop flavor stuff as it's not relevant for f21->f22 and later; still valid for 20->21/22 but we won't be testing that in most cases)
Line 3: Line 3:
# If you are doing pre-release testing, find the installation repository URL for the compose you are testing. If you are testing the current compose, the correct location should be {{#if:{{CurrentFedoraCompose|compose}}|{{code|<nowiki>https://</nowiki>dl.fedoraproject.org/pub/alt/stage/{{CurrentFedoraCompose|release}}_{{CurrentFedoraCompose|milestone}}_{{CurrentFedoraCompose|compose}}/Server/(arch)/os}}|{{code|<nowiki>https://</nowiki>kojipkgs.fedoraproject.org/mash/{{#ifeq:{{CurrentFedoraCompose|milestone}}|Rawhide|rawhide-{{CurrentFedoraCompose|date}}/rawhide|branched-{{CurrentFedoraCompose|date}}/{{CurrentFedoraCompose|release}}}}/(arch)/os}}}} - replace {{code|(arch)}} with the correct arch
# If you are doing pre-release testing, find the installation repository URL for the compose you are testing. If you are testing the current compose, the correct location should be {{#if:{{CurrentFedoraCompose|compose}}|{{code|<nowiki>https://</nowiki>dl.fedoraproject.org/pub/alt/stage/{{CurrentFedoraCompose|release}}_{{CurrentFedoraCompose|milestone}}_{{CurrentFedoraCompose|compose}}/Server/(arch)/os}}|{{code|<nowiki>https://</nowiki>kojipkgs.fedoraproject.org/mash/{{#ifeq:{{CurrentFedoraCompose|milestone}}|Rawhide|rawhide-{{CurrentFedoraCompose|date}}/rawhide|branched-{{CurrentFedoraCompose|date}}/{{CurrentFedoraCompose|release}}}}/(arch)/os}}}} - replace {{code|(arch)}} with the correct arch
# Start the upgrade prep by executing:
# Start the upgrade prep by executing:
#* {{command|1=sudo fedup --network <version> (--instrepo <URL>) (--product=<desired flavor>)}}
#* {{command|1=sudo fedup --network <version> (--instrepo <URL>)
#* {{code|<version>}} is the version of Fedora you are upgrading to (currently {{FedoraVersion||next}})
#* {{code|<version>}} is the version of Fedora you are upgrading to (currently {{FedoraVersion||next}})
#* If you are doing pre-release testing, include the {{code|--instrepo}} parameter, with {{code|<URL>}} as the location found in the previous step
#* If you are doing pre-release testing, include the {{code|--instrepo}} parameter, with {{code|<URL>}} as the location found in the previous step
#* {{code|<desired product>}} is the Fedora 'Flavor' you want to upgrade to ('workstation' if you had GNOME installed, for example). This must be specified for upgrades from releases before Fedora 21 to Fedora 21 or later
# If you need to use a local mirror to test a brand new change, start the upgrade prep by executing the following command:
# If you need to use a local mirror to test a brand new change, start the upgrade prep by executing the following command:
#* {{command|1=sudo fedup --network <version> --instrepo <URL> --disablerepo=fedora --repourl fedora-local=<URL-LOCAL>}}
#* {{command|1=sudo fedup --network <version> --instrepo <URL> --disablerepo=fedora --repourl fedora-local=<URL-LOCAL>}}

Revision as of 01:35, 29 January 2015

  1. Do a full system update and reboot
  2. Install the latest version of Package-x-generic-16.pngfedup from the stable or updates repository
  3. If you are doing pre-release testing, find the installation repository URL for the compose you are testing. If you are testing the current compose, the correct location should be https://dl.fedoraproject.org/pub/alt/stage/40_RC_1.14/Server/(arch)/os - replace (arch) with the correct arch
  4. Start the upgrade prep by executing:
    • {{command|1=sudo fedup --network <version> (--instrepo <URL>)
    • <version> is the version of Fedora you are upgrading to (currently 40)
    • If you are doing pre-release testing, include the --instrepo parameter, with <URL> as the location found in the previous step
  5. If you need to use a local mirror to test a brand new change, start the upgrade prep by executing the following command:
    • sudo fedup --network <version> --instrepo <URL> --disablerepo=fedora --repourl fedora-local=<URL-LOCAL>
    • <URL-LOCAL> is the location of a local fedora repo if needed for faster response speeds
  6. Check /var/log/fedup.log file to see if any errors show up in the output from fedup
  7. Reboot the system if fedup has completed without error
  8. Once the system reboots, there should be a new entry in the boot menu titled System Upgrade
  9. Select the System Upgrade option from the boot menu
  10. The system should boot into the upgrade process and a fedup progress screen should be displayed
    • Pressing the <ESC> key should switch from the graphical progress screen to the text progress information display
  11. Once the upgrade process has completed, the system should reboot and an option to boot the new release should be on the grub menu
  12. Log in to the upgraded system, open a terminal, file browser, or other system applications.