[BUG] apm self-update fails
Maintainers usually reply within 2 days
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 61/100
Research direction
Start by tracing the apm self-update flow to the installer step that rejects /usr/local/lib/apm as not writable, searchable, or owned by the current user. Check the existing tests for self-update and installer permissions, then reproduce the failure with an existing bundle owned by another user. Done means self-update handles this installation state correctly and the relevant tests pass.
Written by the indexing model from the issue text.
Description
Describe the bug
The self-update from 0.28.0 fails
apm self-update
[i] Current version: 0.28.0
[>] Checking for updates...
[*] Latest version available: 0.33.0
[>] Downloading and installing update...
[i] Installer release: v0.33.0
[*] Running installer...
+--------------------------------------------------------------+
| APM Installer |
| The NPM for AI-Native Development |
+--------------------------------------------------------------+
Detected platform: darwin-arm64
Target binary: apm-darwin-arm64.tar.gz
Version: v0.33.0
Download URL: https://github.com/microsoft/apm/releases/download/v0.33.0/apm-darwin-arm64.tar.gz
Fetching archive checksum...
Downloading APM...
################################################################################################################################################################################# 100.0%
[+] Download successful
Verifying archive checksum...
[+] Archive checksum verified
Extracting binary...
[+] Extraction successful
Testing binary...
[+] Binary test successful
Installing APM CLI to /usr/local/bin...
[x] Existing bundle /usr/local/lib/apm is not writable, searchable, or owned by this user. Ask its owner to update it; no files were removed.
[x] Installation failed - see output above for details
To Reproduce
Steps to reproduce the behavior:
- Run
apm self-update - Watch it fails
- Dominant language
- Python
- Stars
- 4k
- Forks
- 393
- Avg merge
- 4d 12h
- Merged PRs (30d)
- 70
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from microsoft/apm
-
type/automation type/performance
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 2 days
-
type/automation type/performance
Difficulty 1/5 Under an hour Newbie friendliness 70/100
Maintainers usually reply within 2 days
-
type/automation type/performance
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 2 days
-
type/automation type/performance
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
Maintainers usually reply within 2 days
-
[BUG] Cannot deploy agent files from localPossibly taken @danielmeppiel claimed this today. Openstatus/accepted type/bug
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
microsoft/apm#3258 · 2 comments · 1 assignee ·
Maintainers usually reply within 2 days
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 80/100
521xueweihan/HelloGitHub#4063 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
Vanilla-OS/apx-gui#112 ·
-
Devstral and Voxtral: section 5 fails in us-east-1 with 400 "Model does not support audio modality"Open
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
aws-samples/sample-per-model-bedrock#409 ·
Maintainers usually reply within 1 day
-
DuckDB 2.0 breaks to_pyarrow_batchesPossibly taken @DG47 claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
ibis-project/ibis#12196 ·
Maintainers usually reply within 1 day