Help me understand Linux distros updates.

James Kirk@startrek.website to Linux@lemmy.ml – 61 points –

Hi I'm relatively new to Linux. There's talk about updating, say from Fedora 37 to 38.

Is this something that needs to happen manually? If I solely update through the updater software, I'm not getting the whole "38"?

I understand that, of course, I won't see updates on the installer or I won't use a new supported partition type unless I install it again.

Apart from that, what's missing? Some software won't be updated? The kernel?

Thank you all!

20

You can update your version of Fedora through the updater software as well but it's a very clear separate process that is initiated manually.

Distro version updates bring major updates to key packages - the one you'd notice most would be to Gnome, the desktop environment. There will be other things too that get only bugfix and security updates during the life of that version, and then after a while that version will lose support and you won't get any updates at all (https://docs.fedoraproject.org/en-US/releases/lifecycle/).

Updating is very safe and reliable. I've had my Fedora install at work for 3 years, updating periodically and it's working extremely well.

To OP: this is a much clearer & better explanation for what I was trying to say.

This is an imperfect analogy, but think of updating between Windows 10 and 11 versus installing updates on windows 10 or win 11.

I have no experience with Fedora, but AFAIK at least in Ubuntu/Debian land, updates are installed from OS version specific package repositories. When the version of the OS is no longer supported, those repositories might not receive updates anymore.

EDIT: this is the main reason I have a rolling release distro on most of my personal machines. The package repos have the newest packages without having to update my OS major version every now and then.

Is this something that needs to happen manually?

Yes, sort of. It needs to be initiated manually, but you should get an update notification, and the actual upgrade itself is automatic once you initiate it. Clicking on the notification will take you to the Software app > Updates section, from where you can do the upgrade.

If I solely update through the updater software, I'm not getting the whole "38"?

No, you will get the whole 38 (what makes you think you won't?). Everything will get updated. The key thing to remember is to update all other applications/kernel etc and restart your system first, before you do the actual OS upgrade. This is documented here: https://docs.fedoraproject.org/en-US/quick-docs/upgrading-fedora-new-release/#_upgrading_to_the_next_fedora_workstation_release

Some folks recommend disabling third-party repos before you do the actual upgrade, like copr, RPMFusion etc, but personally I haven't had any issues leaving them enabled - as long as you install all applicable updates and reboot prior to the upgrade, you should be fine.

If you want more control over the process though, you can always upgrade manually using dnf. Although there's not much benefit doing to this via the commandline (except for power users/admins who need the control/visibility), it's worth reading the post-upgrade tasks section to run some cleanup tasks (not a 100% sure if the GUI updater tool does this).

This is everything I was looking for, thank you so much!

what makes you think you won’t?

I'm not sure, I think the emphasis on news about distro update around the web. It makes me confused as to what's so important about that, but I now understand perfectly. I thought it worked a bit more like a rolling distro and I now understand what a rolling distro is :)

Upgrading on Fedora is really easy from the software center. Never had any problem, never took any precaution.

But, of course, it’s always necessary to have a backup of your important files.

There is a distinction between regular updates and distribution upgrades. The latter have to be done manually. I know that distribution upgrades via GUI have been in the works; no idea if that is a thing yet.

https://docs.fedoraproject.org/en-US/quick-docs/upgrading-fedora-new-release/

As for what's missing: The most important thing to keep in mind is that fedora releases only get security updates for 1 year after release + some grace period depending on the date of the n+2 release.

Poorly upgrades often only work manually. They are like dates, sometimes more happens, sometimes less, so they may be a bit random, but its good to wait a bit and then upgrade, as they introduce new possibly breaking changes. Meanwhile the old version (on Debian and Ubuntu even multiple ones) still get updates, mainly security fixes, but on Fedora I think there are none, so in a different way non-major updates

ctrl+alt+t
sudo apt-get update
sudo apt-get upgrade -y
sudo apt-get dist-upgrade -y
sudo apt-get autoremove

I guess this is the succinct version of the other replies. You're getting downvotes but I like it anyway :)

This isn't a correct answer to your question, that's why it's getting downvotes.

here, I fixed it for ya! =)
dnf check-update
dnf updateinfo
dnf updateinfo list
sudo dnf upgrade

That's still not how you upgrade from one Fedora version to another. Please try not to provide information you're unsure about, it's irresponsible.

This is the documentation: https://docs.fedoraproject.org/en-US/quick-docs/upgrading-fedora-new-release/

This is like asking somebody what the US Pledge of Allegiance is and they respond “God Save the King”. The answer is very succinct but also uselessly, dangerously, and maybe offensively wrong.