VSCode is no longer compatible with Ubuntu 18.04, here's what you can do
old.reddit.com
old.reddit.com
This is due to VS Code v1.86 requiring glibc >= 2.28.
Impacted Linux distros include Ubuntu 18.04, RHEL7 / CentOS 7, Amazon Linux 2, and more.
Impacted users include many researchers in medicine / government / academia, scientific equipment, Amazon EC2 customers, and others.
Some potential workarounds posted in the GitHub thread, but no definitive support path for those who are unable to upgrade at this time.
GitHub thread: https://github.com/microsoft/vscode/issues/203375
And package manager installs should not update beyond what the environment supports.
Reading the reddit post it seems like the poster was using vscode on Windows to work in an Ubuntu WSL 18.04 environment in Windows and the Windows version of vscode updated beyond what the WSL environment could handle.
Which is... one way of doing it.
In the last 7 years, things have gotten really really bad. Thankful the Linux kernel devs haven’t taken this approach.
No, really, who is the person that demands to be able to use 2024 software on an unsupported eol distro from 6 years ago?
You mean installing the default linux for EC2 instances? I think there are quite a few of those people, actually!
Not sure of the uproar if that is the case.
Anything Microsoft-branded will shoot you in the face sooner or later.
I do wonder what features of newer glibc it's using now, I assume it's something in the underlying electron layer.