this post was submitted on 06 May 2024
21 points (95.7% liked)

Linux

48067 readers
767 users here now

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.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

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!

all 2 comments
sorted by: hot top controversial new old
[–] [email protected] 3 points 6 months ago* (last edited 6 months 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.