Upgrading Fedora 33 to Fedora 34
Using the command line
1. Update software and back up your system
To update your software enter the following command in a terminal.
dnf upgrade --refresh -y
2. Install the DNF plugin
Next, open a terminal and type the following command to install the plugin:
dnf install dnf-plugin-system-upgrade -y
3. Start the update with DNF
Now you can begin the upgrade by using the following command in a terminal:
dnf system-upgrade download --releasever=34 -y
This command will begin downloading all of the upgrades for your machine locally to prepare for the upgrade. If you have issues when upgrading because of packages without updates, broken dependencies, or retired packages, add the ‐‐allowerasingflag when typing the above command. This will allow DNF to remove packages that may be blocking your system upgrade.
4. Reboot and upgrade
Once the previous command finishes downloading all of the upgrades, your system will be ready for rebooting. To boot your system into the upgrade process, type the following command in a terminal:
dnf system-upgrade reboot
Your system will restart after this. Many releases ago, the fedup tool would create a new option on the kernel selection / boot screen. With the dnf-plugin-system-upgrade package, your system reboots into the current kernel installed for Fedora 31; this is normal. Shortly after the kernel selection screen, your system begins the upgrade process.
Now might be a good time for a coffee break!