aws / aws/amazon-q-developer-cli

q update does not work 1.17.1 -> 1.18.1

Open
#3,197 1 comment 0 reactions 0 assignees View on GitHub
autocomplete bug
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 5.15.167.4-microsoft-standard-WSL2 - Ubuntu 24.04.3 LTS

### Expected behaviour

>q update should update the q cli properly

### Actual behaviour

Trying to update Q provokes the following error:

> q update -v
2025-10-17T07:40:46.772560Z 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"
A new version of q is available: 1.18.1
2025-10-17T07:40:46.772716Z 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"
2025-10-17T07:40:46.772724Z 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" }))

### Steps to reproduce

try updating w/ missing desktop socks...i dont know where they went tho!

### Environment

```yaml
[q-details]
version = "1.17.1"
hash = "52301a3b0f81abff5ecde04a02481734c5c7ecc4"
date = "2025-09-30T22:29:46.266086Z (16d ago)"
variant = "full"

[system-info]
chip = "Intel(R) Core(TM) Ultra 7 268V"
total-cores = 8
memory = "15.41 GB"

[system-info.os.linux (WSL2)]
kernel_version = "5.15.167.4-microsoft-standard-WSL2"
id = "ubuntu"
name = "Ubuntu"
pretty_name = "Ubuntu 24.04.3 LTS"
version_id = "24.04"
version = "24.04.3 LTS (Noble Numbat)"

[environment]
cwd = "/home/USER"
cli-path = "/home/USER"
os = "Linux"
shell-path = "/usr/bin/bash"
shell-version = "5.2.21"
install-method = "https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/command-line-installing.html Ubuntu"
in-wsl = true

[env-vars]
DISPLAY = ":0"
PATH = "/home/USER/.local/bin:
/home/USER/.nvm/versions/node/v20.19.5/bin:
/usr/local/sbin:
/usr/local/bin:
/usr/sbin:
/usr/bin:
/sbin:
/bin:
/usr/games:
/usr/local/games:
/usr/lib/wsl/lib:
/mnt/c/Program Files (x86)/Razer Chroma SDK/bin:
/mnt/c/Program Files/Razer Chroma SDK/bin:
/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/dotnet/:
/mnt/c/windows/system32/config/systemprofile/AppData/Local/Microsoft/WindowsApps:
/mnt/c/Program Files (x86)/Razer/ChromaBroadcast/bin:
/mnt/c/Program Files/Razer/ChromaBroadcast/bin:
/mnt/c/Users/USER./AppData/Local/Microsoft/WindowsApps:
/mnt/c/Program Files/PuTTY/:
/mnt/c/Program Files/Git/cmd:
/mnt/c/Program Files/Amazon/AWSCLIV2/:
/mnt/c/Program Files/nodejs/:
/mnt/c/Users/USER./AppData/Local/Programs/oh-my-posh/bin/:
/mnt/c/Users/USER./AppData/Local/Microsoft/WindowsApps:
/mnt/c/Users/USER./AppData/Local/Programs/Microsoft VS Code/bin:
/mnt/c/Users/USER./.dotnet/tools:
/mnt/c/Users/USER./AppData/Roaming/npm:/mnt/c/Program Files/JetBrains/IntelliJ IDEA 2025.2/bin:
/snap/bin:
/home/USER/.local/bin"
QTERM_SESSION_ID = "45072e9d921647739c4882b6618a83da"
Q_SET_PARENT_CHECK = "1"
Q_TERM = "1.17.1"
SHELL = "/bin/bash"
TERM = "xterm-256color"
```

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.