goose icon indicating copy to clipboard operation
goose copied to clipboard

goose update fails with 'Can't replace existing directory' error

Open pwgseml opened this issue 9 months ago • 0 comments

When I run goose update at the command line, I get the following error:

❯ goose update
Downloading stable release: goose-aarch64-apple-darwin.tar.bz2...
Extracting goose-aarch64-apple-darwin.tar.bz2...
goose: Can't replace existing directory with non-directory
tar: Error exit delayed from previous errors.

Steps to Reproduce

  1. Have Goose already installed on macOS (Apple Silicon)
  2. Run goose update from the terminal
  3. Observe the error during the extraction phase

System Information

  • Operating System: macOS
  • Architecture: ARM64 (Apple Silicon)
  • Goose Installation Method: I followed the instructions at go/getgoose curl -fsSL https://github.com/block/goose/releases/download/stable/download_cli.sh \| GOOSE_PROVIDER=databricks GOOSE_MODEL=goose DATABRICKS_HOST=https://block-lakehouse-production.cloud.databricks.com/ bash

Additional Context

The error seems to occur during the extraction of the update package, suggesting there might be a file system permission issue or a conflict between directory and file types during the update process.

Additional Notes

  • This was my first time running goose update
  • ❯ goose --version 1.0.13
  • To the best of my knowledge, I have not made any manual modifications to the Goose installation directory

pwgseml avatar Mar 18 '25 17:03 pwgseml