21
Help updating to Fedora 40
(sh.itjust.works)
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
I've had this happen before, and it was due to conflicts between installed packages and the new repos. If you try to run the upgrade through command line, it will let you know if it comes across any issues while trying to upgrade. In my case (I think this happened to me on Fedora 37, maybe it was 38 though), I believe I had some Python package installed that wasn't in the new repo, so it stopped my upgrade, and I had to use the --allowerasing flag on the command line upgrade to fix it.
The other user linked to the appropriate docs for using the DNF System Upgrade plugin, but I would like to point out that the docs specifiy that upgrades are tested from the 2 previous releases (meaning that you should be able to skip from Fedora 38 to Fedora 40 without installing Fedora 39). So you should be good to upgrade straight to Fedora 40 with a single dnf system-upgrade. Read the output carefully, and if it suggests to use the --allowerasing option, review the incompatible packages (I recommend writing them down if they are important), and then rerun the command with --allowerasing. I strongly discourage running a dnf system-upgrade with --allowerasing before you know what packages it may erase.