Skip to content

Goose CLI fails to update on linux (ETXTBSY) #8468

@umago

Description

@umago

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions