Skip to content

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

@pwgseml

Description

@pwgseml

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions