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 | #* {{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 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, | #* {{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
- Do a full system update and reboot
- Install the latest version of
dnf-plugin-system-upgrade
from the stable or updates repository - Start the upgrade prep by executing:
sudo dnf system-upgrade download --releasever=<version>
- <version> is the version of Fedora you are upgrading to (currently 42)
- 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>
- 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
- If
dnf system-upgrade download
has completed without error, run:sudo dnf system-upgrade reboot
- 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
- Once the upgrade process has completed, the system should reboot and an option to boot the new release should be on the grub menu
- Log in to the upgraded system, open a terminal, file browser, or other system applications