Ask HN: Should I upgrade Ubuntu to 22.04 LTS?
I'm currently on 18.04 LTS. It "ain't broken", which is the most compelling case for "don't fix"
On the other hand, 4 years is a long time! What new features have you found valuable?
Also feel free to ask context questions, since at some level the answer is obviously "It depends". Here are some high level things:
- This is my daily personal computer. Google mail/calendar/etc
- Programming Python through VSCode for AWS
- No intensive gaming
- Intel® Core™ i7-7700HQ CPU @ 2.80GHz × 8, and NVIDIA GEForce GTX GPU, on the theory that I will someday do neural network projects
84 comments
[ 18.0 ms ] story [ 394 ms ] threadAnd 18.04 will be EOL next year, right?
Yes, but you can subscribe (for free) to something called ESM and extend support until 2028.
https://ubuntu.com/security/esm https://ubuntu.com/about/release-cycle
im hoping for a smooth update this summer as ive migrated a whole bunch of stuff over to docker.
If one uses many programs from external sources, and doesn't intend to compile them, it may take some time (ie. at least a few months) to have all of them running on the new O/S.
16.04 is really getting the axe right now.
A lot of programs are dynamically linked; an older O/S may not support some newer librariers, and a newer O/S may not support older ones.
While static linking solves this, a hypothetical distribution that is fully statically linked, would take a huge amount space (and memory) - definitely one order of magnitude more (potentially more - a statically linked hello world in go is something like two orders of magnitude larged than the dynamically linked one, although this is an edge case).
I don't think they still do that but the lack of any sort of public apology that I've seen makes me suspect that they only stopped because they got caught.
Take a glance at the changes[1] and see what you want to do. Either way, I'd recommend not postponing until EOL. I'd just recommend to wait a few weeks in order for the developers to iron out some of the bugs that usually come out on the first few days, and you're good to go.
[1]: https://www.omgubuntu.co.uk/2022/01/ubuntu-22-04-release-fea...
* snapd taking over.. what is all this junk ?!
* too many processes.. too many IMPORTANT msgs to upgrade anything.. high idle on heavy equipment where 1804 purrs along
* wayland graphics.. previous VMs in vbox worked great, now its back to the 1980s with cursor lag and constant slow response
honestly, this 2004 compared to 1804 is the first time in ten years I have delayed and rolled back an Ubuntu LTS install; daily driver here. 2204? prove yourself
Out of interest, how do you do this, please? I realise I can search for it, but I prefer field reports. Thank you.
apt purge snapd \ && systemctl daemon-reload \ && apt autoremove -y \ && apt clean -y \ && apt autoclean -y
It's a sledgehammer for a nut approach, but it seems to work.
"Let's Encrypt" server side doesn't use snaps AFAIK.
https://fedora.pkgs.org/rawhide/fedora-x86_64/certbot-1.24.0...
Don’t use certbot. Then you don’t need snap.
In 10 years I've never had a dist upgrade issue.
I've never seen what you're describing in many decades
Sounds like your applications are to blame, though - maybe relying on un[der]documented and/or outdated features?
[EDIT] Oh and there was that release in the late '00s, I think, when they pushed out PulseAudio way too early (shoulda never done it at all...) and it caused your whole X session to crash if your browser loaded any Flash content at all. Which was still in wide use at the time. How the shit that got through QC, I'll never know. There's no chance, in that year, that someone testing or developing it hadn't tried to load HomeStarRunner or something, or had a Flash ad try to load. Hell I think YouTube might have still used Flash on Linux at the time.
There's always at least one driver (or default) that has changed just enough to break something requiring research to fix and usually a couple of packages that have been removed from the repos. So I always figure on an afternoon to deal with any immediate (i.e. booting) issues and a bumpy few days as I have to work out any substitutions.
I think the only platforms I've not had comparable levels of breakage with are FreeBSD and Solaris, but then I only ever did one upgrade in both cases, so maybe I just got lucky.
It's great if you've never had problems, I feel envy for you, but some small % of users will have problems due to the sheer number of different hardware and software configurations out there.
Hell, I haven't even managed a single upgrade of OpenWRT without losing a bunch of additional configuration / packages.
Just an anecdote to counter your assertion.
For people with modern AMD machines (which is not your case), 20.04 should be a significant difference, since kernel versions around 5.10 added support for recent AMD CPUs.
The two above are the only things I remember making a difference on my system.
Software wise, it depends on the user practices. There are a variety of ways to obtain up to date packaged software (docker images, application images, PPAs etc - often from the official maintainers), so one can stay on a relatively old Ubuntu version, and still have up to date software without manually compiling anything. The exception is the kernel.
Consider the release cycle, and the support length. Maybe don't bother moving unless you actually need something new that depends on an upgrade?
The Snap sandboxing sounds great until you realise it means you can't access hardware reliably and sometimes you can't access files. Snap likes to randomly update and restart stuff you are actively working on. Ubuntu are too heavily invested into Snap now to walk it back.
Additionally, I hate Gnome more and more by the day. It's a slow buggy mess and is not worth the bells and whistles for this amount of unreliability. Gnome randomly crashes after over a month of up time.
When you see the Gnome blog updates, you only see updates regarding the Cloud, IoT and business interests. The Ubuntu Desktop seems to have taken a back seat these days.
My first main concern were servers and I went with Debian. On desktop I use Mint for quite a while already since I can still get everything I need without snap. When / if it changes I'll deal with it. Desktop is easy to redo.
Really, of the three big new-fangled Linux software distribution formats, AppImage is the only I've tried that didn't immediately turn me off.
I had three nvidia cards, and at least two of them needed an installation ISO patched with the binary drivers, otherwise, they didn't start at all, or they would crash after a very short time.
At least in my experience, each Ubuntu release has less crashes and just has improved usability over the past N years (N being large, but less than "Gnome 2 -> Gnome 3/Unity").
Haha, so I'm not the only one making that excuse for myself for years.
https://clonezilla.org/
and perhaps filter through gzip or something...
If not, you're probably going to have to take a backup the old fashioned way.
Otherwise ... do this (as `root`):
--------------
# screen
(inside screen)
# do-release-upgrade
--------------
Participate where it wants, but otherwise sit back and enjoy the ride
I roll every LTS upgrade maybe 3 months after the release - has always went pretty smoothly.
My main advice is consider when to upgrade. I never upgrade to the latest release on release day. Usually I try to wait two months. Safer would be three months. By then most of the major bugs found on release should be fixed. I was burned more than once by not doing this.
On the other hand, when I had more free time, I tested pre-release Ubuntu releases in the KVM, or even installed them as boot alternatives in GRUB, reporting any errors I could find.
If you're concerned about breakage, wait at least two months after release before upgrading. Maybe even three.
Bugs that got throught are generally fixed. Keeping up with the LTS release conservatively is the best (and/or boring) way to avoid issues. There's nothing particularly groundbreaking about 22.04 and it's perfect that way.
I'm the user that like Gnome and I've mostly seen fewer annoyances and better memory management (Gnome is still not the lightest).
I don't have any NVIDIA parts, so I can't speak about that.
I'd give it a go, just because it shouldn't cause any trouble and having some up to date software might not hurt.