Repository navigation
Closed
Labels
area/distributionInstallers (curl/PowerShell/Brew/Scoop), self-update, devcontainer, codespaces.status/needs-triageAwaiting a human scope decision, including after automated advice.type/bugSomething does not work as documented.
Description
I am on version 0.8.5. and tried to update to apm latest using apm update command it fails:
node ➜ /workspaces/coding-agent-security-benchmark (main) $ apm update
[i] Current version: 0.8.5
[>] Checking for updates...
[*] Latest version available: 0.9.2
[>] Downloading and installing update...
[*] Running installer...
-e
╔══════════════════════════════════════════════════════════════╗
║ APM Installer ║
║ The NPM for AI-Native Development ║
╚══════════════════════════════════════════════════════════════╝
-e
-e Detected platform: linux-arm64
-e Target binary: apm-linux-arm64.tar.gz
-e ⚠ Container/Dev Container environment detected
-e Note: PyInstaller binaries may have compatibility issues in containers.
-e If installation fails, consider using: pip install --user apm-cli
-e Note: Will need sudo permissions to install to /usr/local/bin
-e Fetching latest release information...
curl: /usr/local/lib/apm/_internal/libssl.so.3: version `OPENSSL_3.2.0' not found (required by /lib/aarch64-linux-gnu/libcurl.so.4)
curl: /usr/local/lib/apm/_internal/libssl.so.3: version `OPENSSL_3.3.0' not found (required by /lib/aarch64-linux-gnu/libcurl.so.4)
[x] Installation failed - see output above for details
here is the apm version log:
$ apm --version
╭──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Agent Package Manager (APM) CLI version 0.8.5 (52e9b1b) │
╰────────────────────────────────────────────────────────────
Environment info
I'm on a Linux dev container:
$ uname -a
Linux 081a30351bb8 6.12.76-linuxkit #1 SMP Sun Mar 8 14:41:59 UTC 2026 aarch64 GNU/Linux
The dev container uses the following container image and config:
"image": "mcr.microsoft.com/devcontainers/typescript-node:24-trixie",
"features": {
"ghcr.io/devcontainers/features/python:1": {
"version": "3.12",
"installPythonDevDependencies": true
},
"ghcr.io/devcontainer-community/devcontainer-features/astral.sh-uv:1": {
"shellautocompletion": true
}
},
Metadata
Metadata
Assignees
Labels
area/distributionInstallers (curl/PowerShell/Brew/Scoop), self-update, devcontainer, codespaces.status/needs-triageAwaiting a human scope decision, including after automated advice.type/bugSomething does not work as documented.
Activity
danielmeppiel commentedon Apr 24, 2026
Triaged under the new portability/security/governance roadmap (see #116).
Triage decision
accept-- the failure (curl shipped inside the PyInstaller bundlelinking against an older system OpenSSL) is a real distribution bug
on the Portable pillar. We need a clean reproducer before we can fix
it though, so applying
status/needs-triageuntil we can repro on amatching
linux-arm64dev container.Could you share the exact dev container image digest you reproduced
on, plus the output of
ldd /usr/local/lib/apm/_internal/libssl.so.3inside that container? That will let us confirm whether the fix is to
rebundle curl with its own OpenSSL or to fall back to the system curl
when the bundled libssl is too old.
Proposed labels
(Removing the legacy
bugandacceptedlabels; the bug is real butneeds a reproducer before it can be moved to
status/acceptedandget a milestone.)
Milestone
null-- pin to a milestone once a reproducer is in hand.Suggested next action
Reply with the dev container image digest +
lddoutput above. Oncewe can repro locally, this moves to
status/acceptedand lands inthe next patch.
Per-lens notes (collapsed)
DevX UX Expert -- User-Need Reviewer
apm updateis a critical first-run / second-run surface -- if itfails, users either downgrade trust or fall back to
pip install.The current error already names a workaround (
pip install --user apm-cli) which is good ergonomics, but the silent failure of thePyInstaller bundle on common dev containers is the real bug.
Supply Chain Security Expert -- Risk-Surface Reviewer
Touches
area/distribution. The bundled-vs-system OpenSSL mismatchis not an integrity issue (no signature is missing), but it does
expose users to "fall back to less-trusted install path" pressure
when the bundled binary fails. The fix should keep the bundled
fallback fully self-contained -- never silently shell out to a
system binary that wasn't part of the release.
OSS Growth Hacker -- Contributor-Tone Reviewer
Not activated -- author has 7 prior interactions on microsoft/apm.
APM CEO -- Triage Arbiter
Distribution bugs on
apm updateare existential for adoption: ifupgrade is unreliable, users lose confidence in the binary channel.
Ratifying
acceptin principle, but holding milestone until we havea clean reproducer to size the fix correctly. Primary
theme/portability.fix(update): sanitise env before spawning installer (#899)
lirantal commentedon Apr 25, 2026
Note, I edited my original post with adding environment info including image tag.
fix(update): sanitise env before spawning installer (#899)