aws / aws/amazon-q-developer-cli

bug: using q update doesnt actually do anything and not showing error

Open
#3,002 1 comment 5 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
2k
Forks
439
PR merge metrics
No merged PRs in 30d

Description

### Checks

- [x] I have searched [github.com/aws/amazon-q-developer-cli/issues](https://github.com/aws/amazon-q-developer-cli/issues?q=) and there are no duplicates of my issue
- [x] I have run `q doctor` in the affected terminal session
- [x] I have run `q restart` and replicated the issue again

### Operating system

Linux 6.6.87.2-microsoft-standard-WSL2 - Ubuntu 22.04.4 LTS

### Expected behaviour

using the command "q update" actually updates the Q, or at least give some error text

### Actual behaviour

i tried to update from 1.14.1 to 1.16.2, but when i typed "q update"
it only shows this "A new version of q is available: 1.16.2" and nothing else happened

**using q update -v gave me this :**

2025-09-26T02:39:54.214125Z WARN fig_ipc::unix_socket: 42: Failed to get socket metadata, checking parent folder permissions err=No such file or directory (os error 2) socket="/run/user/1000/cwrun/desktop.sock"
2025-09-26T02:39:54.214315Z ERROR fig_ipc::unix_socket: 73: Failed to connect err=No such file or directory (os error 2) socket_path="/run/user/1000/cwrun/desktop.sock"
A new version of q is available: 1.16.2
2025-09-26T02:39:54.214347Z ERROR q_cli::cli::update: 238: An error occurred checking for updates: Connect(Io(Os { code: 2, kind: NotFound, message: "No such file or directory" }))

**using q doctor:**
result: "Everything looks good!"

**using q restart fails:**

result: "error: Please restart Amazon Q from your host machine"

### Steps to reproduce

using WSL for windows, use the "q update" command

### Environment

```yaml

[q-details]
version = "1.14.1"
hash = "405e74d10634890cbb26850966d951f87bd5d169"
date = "2025-08-21T19:03:32.201027Z (35d ago)"
variant = "full"

[system-info]
chip = "13th Gen Intel(R) Core(TM) i7-13700H"
total-cores = 10
memory = "6.64 GB"

[system-info.os.linux]
kernel_version = "6.6.87.2-microsoft-standard-WSL2"
id = "ubuntu"
name = "Ubuntu"
pretty_name = "Ubuntu 22.04.4 LTS"
version_id = "22.04"
version = "22.04.4 LTS (Jammy Jellyfish)"

[environment]
cwd = "/mnt/c/Users/lauch/Downloads/AWS-projects"
cli-path = "/mnt/c/Users/lauch/Downloads/AWS-projects"
os = "Linux"
shell-path = "/usr/bin/bash"
shell-version = "5.1.16"
install-method = "unknown"
in-wsl = true

[env-vars]
DISPLAY = ":0"
PATH = "/home/USER/.local/bin:/home/USER/.nvm/versions/node/v22.17.1/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/usr/lib/wsl/lib:/mnt/c/Python313/Scripts/:/mnt/c/Python313/:/mnt/c/Program Files/Common Files/Oracle/Java/javapath:/mnt/c/Program Files/Python312/Scripts/:/mnt/c/Program Files/Python312/:/mnt/c/Windows/system32:/mnt/c/Windows:/mnt/c/Windows/System32/Wbem:/mnt/c/Windows/System32/WindowsPowerShell/v1.0/:/mnt/c/Windows/System32/OpenSSH/:/mnt/c/Program Files (x86)/NVIDIA Corporation/PhysX/Common:/mnt/c/Program Files/NVIDIA Corporation/NVIDIA NvDLISR:/mnt/c/WINDOWS/system32:/mnt/c/WINDOWS:/mnt/c/WINDOWS/System32/Wbem:/mnt/c/WINDOWS/Syste
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.