aws / aws/amazon-q-developer-cli
q update failure
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- Rust
- Sterne
- 2k
- Forks
- 439
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
Checks
- I have searched github.com/aws/amazon-q-developer-cli/issues and there are no duplicates of my issue
- I have run
q doctorin the affected terminal session - I have run
q restartand replicated the issue again
Operating system
macOS 15.7.0 (24G222)
Expected behaviour
q update success
Actual behaviour
➜ ~ q update
██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████ 100/100Failed to swap files: failed to update: Failed to swap app bundle due to permission denied. Try restarting the app.
██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████ 100/100error: failed to update: ``
If this is unexpected, try running q doctor and then try again.
➜ ~ q doctor
✘ Amazon Q terminal integrations: This terminal is not running with the latest integration, please restart your terminal
Q_TERM=1.17.1
✘ Doctor found errors. Please fix them and try again.
If you are not sure how to fix it, please open an issue with q issue to let us know!
Steps to reproduce
run "q update" in iterm2 with macos
Environment
<This will be visible to anyone. Do not include personal or sensitive information>
[q-details]
version = "1.12.4"
hash = "c20df6ad252618bed22508b33914316ea204af26"
date = "2025-07-09T01:16:37.713672Z (90d ago)"
variant = "full"
[system-info]
os = "macOS 15.7.0 (24G222)"
chip = "Apple M3 Pro"
total-cores = 12
memory = "36.00 GB"
[environment]
cwd = "/Users/USER"
cli-path = "/Users/USER"
os = "Mac"
shell-path = "/Users/USER/.toolbox/tools/toolbox/1.1.2210.0/toolbox-exec"
shell-version = "5.9"
terminal = "iTerm 2"
install-method = "toolbox"
[env-vars]
PATH = "/opt/homebrew/opt/ruby/bin:/Users/USER/.toolbox/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Applications/iTerm.app/Contents/Resources/utilities:/Users/USER/.local/bin:/Users/USER/Library/Application Support/JetBrains/Toolbox/scripts"
QTERM_SESSION_ID = "7ab5cac11d024aa8b641a1319978ffe3"
Q_SET_PARENT_CHECK = "1"
Q_TERM = "1.17.1"
SHELL = "/bin/zsh"
TERM = "xterm-256color"
__CFBundleIdentifier = "com.googlecode.iterm2"
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
Beginne damit, q update unter macOS 15.7 in iTerm2 zu reproduzieren, und vergleiche die Ausgabe von q doctor, insbesondere die Warnung zur Terminalintegration. Untersuche den Pfad des Updaters, der für das Austauschen des App-Bundles verantwortlich ist; abgeschlossen ist die Aufgabe, wenn q update ohne den Fehler „permission-denied“ abgeschlossen wird und q doctor keinen damit verbundenen Fehler meldet.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- rust
- Bereich
- cli, release
- Issue-Typ
- Bug
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Muss geklärt werden
- Anfängerfreundlichkeit
- 25/100