Describe the bug
Goose CLI fails to update on Linux due to ETXTBSY ("Text file busy") on Linux where the kernel refuses to open-write a running executable.
To Reproduce
Just run goose update on Linux.
Expected behavior
The goose binary updated without errors.
Screenshots
$ goose --version
1.30.0
$ goose update
Downloading goose-x86_64-unknown-linux-gnu.tar.bz2 from stable release...
Downloaded 72451366 bytes.
Archive SHA-256: 47f5cbc3b55a36fa55b85b7166c606758dd2595137b1c5d246ddf32556a99087
Verifying SLSA provenance via Sigstore...
Sigstore provenance verification passed.
Error: Failed to replace current binary
Caused by:
0: Failed to copy new binary to /home/lmartins/.local/bin/goose
1: Text file busy (os error 26)
Please provide the following information
- OS & Arch: Fedora 43 x86_64
- Interface: CLI
- Version: 1.30.0
- Extensions enabled: N/A
- Provider & Model: N/A
Additional context
Goose was installed with the following command:
curl -fsSL https://github.com/aaif-goose/goose/releases/download/stable/download_cli.sh | bash
Describe the bug
Goose CLI fails to update on Linux due to ETXTBSY ("Text file busy") on Linux where the kernel refuses to open-write a running executable.
To Reproduce
Just run
goose updateon Linux.Expected behavior
The
goosebinary updated without errors.Screenshots
$ goose --version 1.30.0 $ goose update Downloading goose-x86_64-unknown-linux-gnu.tar.bz2 from stable release... Downloaded 72451366 bytes. Archive SHA-256: 47f5cbc3b55a36fa55b85b7166c606758dd2595137b1c5d246ddf32556a99087 Verifying SLSA provenance via Sigstore... Sigstore provenance verification passed. Error: Failed to replace current binary Caused by: 0: Failed to copy new binary to /home/lmartins/.local/bin/goose 1: Text file busy (os error 26)Please provide the following information
Additional context
Goose was installed with the following command:
curl -fsSL https://github.com/aaif-goose/goose/releases/download/stable/download_cli.sh | bash