Skip to content

Conversation

@kalvinnchau
Copy link
Contributor

fixes #1745

The following error happens when the user runs the download script and their working directory has a goose directory:

❯ goose update -c
Downloading canary 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.

Use a temporary directory in /tmp to extract the binary, then move it to the final location

@kalvinnchau kalvinnchau merged commit 96b905a into main Mar 25, 2025
6 checks passed
@kalvinnchau kalvinnchau deleted the kalvin/download-cli-tmp branch March 25, 2025 17:17
michaelneale added a commit that referenced this pull request Mar 26, 2025
* main:
  ui: turn on extensions at startup (#1861)
  ui: models dropdown (#1860)
  fix: cli empty line (#1856)
  feat: Allow setting OpenAI timeout from config (#1819)
  feat: add retry for google (#1854)
  feat(extensions): add Java/JDK support for MCP servers (#1816)
  feat: extract `StdioProcessError(msg)` to try to display (#1855)
  fix: show window bugfix (#1840)
  fix: append the attachment path to the existing text in the input prompt (#1842)
  docs: updated docs for smart approval mode (#1853)
  styles: chat scroll interaction (#1837)
  ui: add description field  to modal (#1846)
  feat: use temp dir for extracting goose binary (#1838)
  ui: remove and update extensions (#1847)
  fix: disappearing user text when stopped (#1839)
cbruyndoncx pushed a commit to cbruyndoncx/goose that referenced this pull request Jul 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

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

3 participants