Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8013

Beginners • Re: Is there a simple and foolproof way to upgrade the OS?

$
0
0
The main problem with providing a mechanism to upgrade between OS versions is testing. Companies like Apple, Microsoft, Canonical etc have vast teams of people testing upgrades and the millions of different possible combinations of software installs means a lot of testing is needed. Even those massive teams don't catch everything.
I run Ubuntu on desktop at home, and laptop for work, and I use the in built tools to upgrade major versions, and while they are pretty good, I don't think I've ever had a flawless upgrade.

I frequently find some subset of the following issues: python libs are no longer available. My web server no longer has permission to run php. My exported samba share is no longer visible. ssh connections to non-updated machine complain. Remote desktop doesn't connect. Virtualbox no longer starts.

I can normally search around and find the new packages, or config options needed, and it's probably overall a time saver for me (who can fix the issues when I discover them). But I still feel I would have been in a better place from a clean install, and probably should do that next time.
My install is full of cruft (packages that are no longer used, orphaned config files, systemd services for things I no longer care about etc).

Are the error messages I see in journalctl (that don't seem to actively causing an issue) caused by something inconsistent after the update?
Is my cpu or ram use higher than it would have been from a clean install?

Prior to bookworm, we have provided unofficial instructions to in-place upgrade.
We give the big caveat that this will work on a standard RPiOS install, but we can't guarantee anything additional you've installed or configured will upgrade flawlessly.

Bookworm had some major architectural changes (X->wayland, dhcpd->network manager and debian style kernel packaging) that made even the simple case migration pretty tricky, so we recommended not upgrading in place (there are external guides, but none are foolproof).

I'd imagine if bookworm->trixie is more straightforward, we'll offer unofficial instructions to in-place upgrade.

Statistics: Posted by dom — Fri Oct 25, 2024 10:54 am



Viewing all articles
Browse latest Browse all 8013

Trending Articles