
| | Upgrade Path | New glibc | | --- | --- | --- | | Ubuntu 20.04 LTS | do-release-upgrade to 22.04 | 2.35 | | Debian 10 (Buster) | Upgrade to Debian 11 (Bullseye) | 2.31* | | Debian 11 (Bullseye) | Upgrade to Debian 12 (Bookworm) | 2.36 |
sudo do-release-upgrade
Here’s a short, interesting story about that fateful upgrade. upgrade libc6 to 2.34
mkdir build && cd build ../configure --prefix=/opt/glibc-2.34 make -j$(nproc) sudo make install
Add the Jammy repository: sudo nano /etc/apt/sources.list Add the line (adjust the URL for your region): | | Upgrade Path | New glibc |
Before you type a single command, you must understand what you are touching. libc6 is the Debian/Ubuntu package name for the GNU C Library ( glibc ). It provides the system call wrappers, basic routines, and the interface between the kernel and the user-space applications.
The Day the Glibc Ate the Server
Update and Install:
Her stomach dropped. She tried to reconnect. Timeout. She opened the VM console from the hypervisor. A blinking cursor greeted her, then a single line: It provides the system call wrappers, basic routines,