aws / aws/amazon-q-developer-cli

bug : q-developer CLI installation on Ubuntu 24.04 LTS via AppImage breaks the system

Aperta
#2,748 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Rust
Stelle
2k
Fork
439
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

### 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

Ubuntu 24.04 LTS

### Expected behaviour

Installing with :
```
wget https://desktop-release.q.us-east-1.amazonaws.com/latest/amazon-q.appimage
chmod +x amazon-q.appimage
./amazon-q.appimage --appimage-extract
sudo rsync -a ./squashfs-root/usr/ /usr/
```

The q-developer CLI should be installed, and the system should remain functional. The installation method, while not the officially recommended one, should not cause system instability or corruption.

### Actual behaviour

This installation method is a common practice for some AppImage applications (e.g., Neovim) to make them available system-wide.

After running the sudo rsync command, the system does not start and breaks before login (dark screen).

The system corruption appears to be deeper than a simple file conflict or overwrite, as removing the installed files does not restore functionality. This suggests that the installation process may be modifying or corrupting critical system components or dependencies.

Given that the system state is not recoverable, this bug is severe and requires urgent attention.

### Steps to reproduce

In a fresh install of Ubuntu 24.04 LTS (reproducible in a virtual machine)

Download the AppImage and install it this way:
```
wget https://desktop-release.q.us-east-1.amazonaws.com/latest/amazon-q.appimage
chmod +x amazon-q.appimage
./amazon-q.appimage --appimage-extract
sudo rsync -a ./squashfs-root/usr/ /usr/
```

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Inizia in una nuova macchina virtuale Ubuntu 24.04 LTS e riproduci i comandi dell’issue, iniziando con `q doctor` e `q restart`. Confronta il contenuto estratto di `squashfs-root/usr/` e lo stato del sistema prima e dopo `sudo rsync`; il lavoro è completato quando la CLI si installa senza impedire ad Ubuntu di raggiungere la schermata di accesso.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
linux, rust, ubuntu
Ambito
cli, operating-systems
Tipo di issue
Bug
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
30/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.