Fedora 26 is out! As someone who can’t stop tinkering and breaking things I’ve decided to upgrade my workstation (and see if dnf can handle the process without any major flaw).
So without further delay here are the steps I took (your mileage may vary):
BACKUP YOUR SYSTEM!
If you’re in doubt that your machine is compatible with Fedora 26 download the live image (here) and test it first. And again, don’t forget to backup before starting the upgrade process! I like to use Clonezilla for that.
First upgrade your current system to the latest available packages on Fedora 25:
$ sudo dnf upgrade --refresh
Restart your machine now, especially if your kernel was updated with this command.
Install the system upgrade plugin for dnf:
$ sudo dnf install dnf-plugin-system-upgrade
Download the newest packages (Fedora 26):
$ sudo dnf system-upgrade download --refresh --releasever=26 --exclude "synergy vagrant"
I added the
--exclude "synergy vagrant" because I’m using versions that are different from the ones available in the official repositories. You may ignore that. It’s here for documentation purposes only.
This is the final step. After this, if everything went well, you’ll reboot into Fedora 26:
$ sudo dnf system-upgrade reboot
And it’s done! Everything went right as it should and quite frankly, better than I expected. My system is working as good as before, and I haven’t noticed any problem. Anyway, the official documentation for this process is here. You should read it.
This upgrade method *probably* works for upgrading other Fedora versions (untested).