Fedora DNF System Upgrade
The article explains how to upgrade a Fedora installation using the DNF. It's based on the Fedora Wiki entry here.
Some words of warning.
- If you have the option to rebuild, I would always suggest you go that route. Remmeber, new releases of operating systems often come with big changes. It's often better to get used to the new version of the OS and rebuild, using the new features, rather than trying to limp through with the old feature set after an upgrade.
- Always try the new version of the OS by booting from a live image. Make sure your machine can cope with the OS before attempting an upgrade.
- Make sure you have a backup. When OS upgrades go wrong, then tend to do so in a big way.
- All commands are prefixed with "sudo" so they run as the root user. If you are already logged in as the root user, you can ignore this first word on each command.
With all that said, here we go.
The DNF system upgrade is relatively simple. You effectively download the required packages from the new version and install them.
Get the latest updates for your current version and reboot.
sudo dnf upgrade -y --refresh sudo reboot
dnf-plugin-system-upgrade package and download the updated packages, adjusting the "--releasever=29" to the required destination version.
sudo dnf install -y dnf-plugin-system-upgrade sudo dnf system-upgrade -y download --refresh --releasever=29
Assuming got all the packages without any problems, you can now upgrade using the following command.
sudo dnf system-upgrade reboot
Once complete, log in and check the OS. It's probably worth running the package upgrade again, to see if everything is OK.
sudo cat /etc/os-release sudo dnf upgrade -y --refresh
Provided nothing has gone wrong, you now have an upgraded Fedora installation.
For more information see:
Hope this helps. Regards Tim...