From Fedora Project Wiki

(--debug is not needed, log is automatically created with it)
(make the hideous magic even smarter, to handle _Final not being in the dir names)
 
(14 intermediate revisions by 2 users not shown)
Line 1: Line 1:
# Do a full system update and reboot
# Do a full system update and reboot
# Install {{package|fedup}}. It is usually a good idea to install the very latest version from ''updates-testing'': {{command|su -c 'yum --enablerepo<nowiki>=</nowiki>updates-testing install fedup'}}
# Install the latest version of {{package|fedup}} from the stable or updates repository
# Find the URL of the development branch for {{FedoraVersion|long|next}}. This URL should be of the form <nowiki>http://dl.fedoraproject.org/pub/fedora/linux/development/<version>/<arch>/os/</nowiki>
# 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}}{{#ifeq:{{CurrentFedoraCompose|milestone}}|Final||_{{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
#* <version> is the of fedora under test (currently {{FedoraVersion||next}})
# Start the upgrade prep by executing:
#* <arch> is the name of the arch running on the install to be upgraded (i386, x86_64 ...)
#* {{command|1=sudo fedup --network <version> (--instrepo <URL>)}}
#* Due to the way that branched composes are done, the fedup client is not capable of grabbing initrd and kernel from those branches. The devel branch will rebuild from whatever is in stable for every push to the devel stable branch.
#* {{code|<version>}} is the version of Fedora you are upgrading to (currently {{FedoraVersion||next}})
# Start the upgrade prep by executing following command
#* If you are doing pre-release testing, include the {{code|--instrepo}} parameter, with {{code|<URL>}} as the location found in the previous step
#* {{command|su -c 'fedup-cli --network <version> --instrepo <URL>'}}
# If you need to use a local mirror to test a brand new change, start the upgrade prep by executing the following command:
#* <version> is the version of Fedora you are upgrading to (currently {{FedoraVersion||next}})
#* {{command|1=sudo fedup --network <version> --instrepo <URL> --disablerepo=fedora --repourl fedora-local=<URL-LOCAL>}}
#* <URL> is the location found in the previous step
#* {{code|<URL-LOCAL>}} is the location of a local fedora repo if needed for faster response speeds
# If you need to use a local mirror to test a brand new change, start the upgrade prep by executing following command:
# Check {{filename|/var/log/fedup.log}} file to see if any errors show up in the output from {{command|fedup}}
#* {{command|1=su -c 'fedup-cli --network <version> --instrepo <URL> --disablerepo=fedora --repourl fedora-local=<URL-LOCAL>'}}
# Reboot the system if {{command|fedup}} has completed without error
#* <URL-LOCAL> is the location of a local fedora repo if needed for faster response speeds
# Once the system reboots, there should be a new entry in the boot menu titled {{code|System Upgrade}}
# Check {{filename|/var/log/fedup.log}} file to see if any errors show up in the output from {{command|fedup-cli}}
# Select the {{code|System Upgrade}} option from the boot menu
# Reboot the system if {{command|fedup-cli}} has completed without error
# Once the system reboots, there should be a new entry in the GRUB menu titled {{command|System Upgrade}}
# Select the {{command|System Upgrade}} option from the GRUB menu
# The system should boot into the upgrade process and a fedup progress screen should be displayed
# The system should boot into the upgrade process and a fedup progress screen should be displayed
#* Press the <ESC> key, will switch from the graphical progress screen to the textual progress information display
#* Pressing {{key_press|Esc}} should switch from the graphical progress screen to the text progress information display
#** Returning to the graphical progress screen by pressing the <ESC> key will return you to a screen where the progress bar is "frozen" {{bz|873144}} and {{bz|883075}}, exist for this and other previous display issues related to fedup. Remove this comment once the bugs are confirmed fixed
# Once the upgrade process has completed, the system should reboot and an option to boot the new release should be on the grub menu
# Once the upgrade process has completed, the system will reboot and an option to boot {{FedoraVersion|long|next}} will be on the grub menu
# Log in to the upgraded system, open a terminal, file browser, or other system applications.
# Log in to upgraded system, open a terminal, file browser, or other system applications.

Latest revision as of 21:52, 30 April 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:
    • 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 Esc 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.