Skip to content

Commit 52541ea

Browse files
docs: fix glibc troubleshooting -- generic version, devcontainer guidance, fix broken code block
Agent-Logs-Url: https://github.com/microsoft/apm/sessions/aa1bd54d-ae2c-4ff4-b699-24ff933c8bec Co-authored-by: danielmeppiel <[email protected]>
1 parent b27df82 commit 52541ea

1 file changed

Lines changed: 12 additions & 4 deletions

File tree

docs/src/content/docs/getting-started/installation.md

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -145,17 +145,25 @@ mkdir -p ~/bin
145145
# then install the binary to ~/bin/apm and add ~/bin to PATH
146146
```
147147

148-
### Binary install fails on older Linux (devcontainers, Debian Bookworm)
148+
### Binary install fails on older Linux (devcontainers, Debian-based images)
149149

150-
On systems with glibc older than 2.39 (e.g., Debian Bookworm with glibc 2.36), the
151-
pre-built binary may fail to run. The installer automatically detects this and falls
152-
back to installing APM via `pip install --user apm-cli`.
150+
On systems with a glibc version older than what the pre-built binary requires, the
151+
binary will fail to run. This commonly affects Debian Bookworm-based devcontainers
152+
(glibc 2.36) since the binary is built on Ubuntu 24.04 (glibc 2.39). The installer
153+
automatically detects incompatible glibc versions and falls back to
154+
`pip install --user apm-cli`.
153155

154156
This installs the `apm` command into your user `bin` directory (commonly `~/.local/bin`).
155157
If `apm` is not found after installation, ensure that this directory is on your `PATH`.
156158

159+
**Recommended fix for devcontainers:** switch your base image from `bookworm` to
160+
`trixie` (e.g., `mcr.microsoft.com/devcontainers/universal:24-trixie`), which ships
161+
glibc 2.40+ and runs the pre-built binary directly.
162+
157163
If you prefer to install via pip directly:
158164

165+
```bash
166+
pip install --user apm-cli
159167
```
160168

161169
### Authentication errors when installing packages

0 commit comments

Comments
 (0)