From Fedora Project Wiki

(create dnf upgrade procedure template, based on fedup one with appropriate tweaks)
 
(clean up some fedup leftovers)
Line 2: Line 2:
# Install the latest version of {{package|dnf-plugin-system-upgrade}} from the stable or updates repository
# Install the latest version of {{package|dnf-plugin-system-upgrade}} from the stable or updates repository
# Start the upgrade prep by executing:
# Start the upgrade prep by executing:
#* {{command|1=sudo fedup --network <version> (--instrepo <URL>)}}
#* {{command|1=sudo dnf system-upgrade download --releasever=<version>}}
#* {{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 need to use a local mirror to test a brand new change, you can enable it as normal, e.g.:
# 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 dnf system-upgrade download --releasever=<version> --enablerepo=<name>}}
#* {{command|1=sudo dnf system-upgrade download --releasever=<version>}}
# To aid debugging, run this command to enable a root shell on VT9 during the upgrade boot:
# To aid debugging, run this command to enable a root shell on VT9 during the upgrade boot:
#* {{command|sudo systemctl add-wants system-update.target debug-shell.service}}
#* {{command|sudo systemctl add-wants system-update.target debug-shell.service}}

Revision as of 01:36, 3 September 2015

  1. Do a full system update and reboot
  2. Install the latest version of Package-x-generic-16.pngdnf-plugin-system-upgrade from the stable or updates repository
  3. Start the upgrade prep by executing:
    • sudo dnf system-upgrade download --releasever=<version>
    • <version> is the version of Fedora you are upgrading to (currently 40)
  4. If you need to use a local mirror to test a brand new change, you can enable it as normal, e.g.:
    • sudo dnf system-upgrade download --releasever=<version> --enablerepo=<name>
  5. To aid debugging, run this command to enable a root shell on VT9 during the upgrade boot:
    • sudo systemctl add-wants system-update.target debug-shell.service
  6. If dnf system-upgrade download has completed without error, run:
    • sudo dnf system-upgrade reboot
  7. Once the system reboots, 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
  8. Once the upgrade process has completed, the system should reboot and an option to boot the new release should be on the grub menu
  9. Log in to the upgraded system, open a terminal, file browser, or other system applications