Hello, I’ve installed Fedora 38 (KDE spin), about the time it came out and need a little help updating it.

I got a system update through Discover when 39 came out, I updated it restarted, and I didn’t think much of it. Now that Fedora 40 came out, I did the same thing, but this time, after the update, I checked the system information in the settings, and it says that I am still running Fedora 38!

I have a dual boot system with Windows 10 (ugh, but I need it for work) and I noticed that in grub the option to boot Fedora also says 38. There are also some recovery boot options.

I’m confused and don’t know what to do to update to 40? Would really like to avoid doing a fresh install.

I’d say I’m a novice Linux user, but this is the first time in dealing with something like this, so sorry if I missed some crucial information, will provide anything needed to help fix this issue.

Thanks in advance!

  • Para_lyzed
    link
    fedilink
    3
    edit-2
    14 days ago

    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.