BUG: Brew Install fails OpenCode 0.4.14 #1225

Closed
opened 2026-02-16 17:30:04 -05:00 by yindo · 6 comments
Owner

Originally created by @henrysachs on GitHub (Aug 11, 2025).

When currently trying to update Opencode it tries to download a non existent version

── 09:17:53 - Brew ─────────────────────────────────────────────────────────────
==> Updating Homebrew...
Already up-to-date.
==> Upgrading 1 outdated package:
sst/tap/opencode 0.4.1 -> 0.4.14
==> Fetching downloads for: opencode
==> Fetching sst/tap/opencode
==> Downloading https://github.com/sst/opencode/releases/download/v0.4.14/opencode-darwin-arm64.zip
curl: (56) The requested URL returned error: 404

Error: opencode: Failed to download resource "opencode (0.4.14)"
Download failed: https://github.com/sst/opencode/releases/download/v0.4.14/opencode-darwin-arm64.zip
==> No outdated dependents to upgrade!
Brew (ARM) fehlgeschlagen:
0: Command failed: /opt/homebrew/bin/brew upgrade --formula
1: /opt/homebrew/bin/brew fehlgeschlagen: exit status: 1

Location:

Originally created by @henrysachs on GitHub (Aug 11, 2025). When currently trying to update Opencode it tries to download a non existent version ── 09:17:53 - Brew ───────────────────────────────────────────────────────────── ==> Updating Homebrew... Already up-to-date. ==> Upgrading 1 outdated package: sst/tap/opencode 0.4.1 -> 0.4.14 ==> Fetching downloads for: opencode ==> Fetching sst/tap/opencode ==> Downloading https://github.com/sst/opencode/releases/download/v0.4.14/opencode-darwin-arm64.zip curl: (56) The requested URL returned error: 404 Error: opencode: Failed to download resource "opencode (0.4.14)" Download failed: https://github.com/sst/opencode/releases/download/v0.4.14/opencode-darwin-arm64.zip ==> No outdated dependents to upgrade! Brew (ARM) fehlgeschlagen: 0: Command failed: `/opt/homebrew/bin/brew upgrade --formula` 1: `/opt/homebrew/bin/brew` fehlgeschlagen: exit status: 1 Location:
yindo closed this issue 2026-02-16 17:30:04 -05:00
Author
Owner

@gokaygurcan commented on GitHub (Aug 11, 2025):

Same here:

$ brew upgrade
==> Upgrading 1 outdated package:
sst/tap/opencode 0.4.1 -> 0.4.14
==> Fetching downloads for: opencode
==> Fetching sst/tap/opencode
==> Downloading https://github.com/sst/opencode/releases/download/v0.4.14/opencode-darwin-arm64.zip
curl: (56) The requested URL returned error: 404

Error: opencode: Failed to download resource "opencode (0.4.14)"
Download failed: https://github.com/sst/opencode/releases/download/v0.4.14/opencode-darwin-arm64.zip
==> No outdated dependents to upgrade!

Looks like the last tag is 0.4.14 but the last release is 0.4.12, prolly because of this: https://github.com/sst/opencode/actions/runs/16872007722/job/47788423281

[dev 11bca51d] release: v0.4.14
 9 files changed, 9 insertions(+), 9 deletions(-)
To https://github.com/sst/opencode
 * [new tag]           v0.4.14 -> v0.4.14
 ! [rejected]          HEAD -> dev (fetch first)
error: failed to push some refs to 'https://github.com/sst/opencode'
hint: Updates were rejected because the remote contains work that you do not
hint: have locally. This is usually caused by another repository pushing to
hint: the same ref. If you want to integrate the remote changes, use
hint: 'git pull' before pushing again.
hint: See the 'Note about fast-forwards' in 'git push --help' for details.
@gokaygurcan commented on GitHub (Aug 11, 2025): Same here: ```bash $ brew upgrade ==> Upgrading 1 outdated package: sst/tap/opencode 0.4.1 -> 0.4.14 ==> Fetching downloads for: opencode ==> Fetching sst/tap/opencode ==> Downloading https://github.com/sst/opencode/releases/download/v0.4.14/opencode-darwin-arm64.zip curl: (56) The requested URL returned error: 404 Error: opencode: Failed to download resource "opencode (0.4.14)" Download failed: https://github.com/sst/opencode/releases/download/v0.4.14/opencode-darwin-arm64.zip ==> No outdated dependents to upgrade! ``` Looks like the last tag is 0.4.14 but the last release is 0.4.12, prolly because of this: https://github.com/sst/opencode/actions/runs/16872007722/job/47788423281 ```bash [dev 11bca51d] release: v0.4.14 9 files changed, 9 insertions(+), 9 deletions(-) To https://github.com/sst/opencode * [new tag] v0.4.14 -> v0.4.14 ! [rejected] HEAD -> dev (fetch first) error: failed to push some refs to 'https://github.com/sst/opencode' hint: Updates were rejected because the remote contains work that you do not hint: have locally. This is usually caused by another repository pushing to hint: the same ref. If you want to integrate the remote changes, use hint: 'git pull' before pushing again. hint: See the 'Note about fast-forwards' in 'git push --help' for details. ```
Author
Owner

@gt-solaris commented on GitHub (Aug 11, 2025):

Looks like the tap was auto updated but the release was yanked

@gt-solaris commented on GitHub (Aug 11, 2025): Looks like the tap was auto updated but the release was yanked
Author
Owner

@aeons commented on GitHub (Aug 11, 2025):

Don't think it was yanked, the action just failed: https://github.com/sst/opencode/actions/runs/16872007722

@aeons commented on GitHub (Aug 11, 2025): Don't think it was yanked, the action just failed: https://github.com/sst/opencode/actions/runs/16872007722
Author
Owner

@gt-solaris commented on GitHub (Aug 11, 2025):

I used this workaround to upgrade to 0.4.12 for now

cd /opt/homebrew/Library/Taps/sst/homebrew-tap
git reset --hard HEAD~2
brew upgrade opencode
@gt-solaris commented on GitHub (Aug 11, 2025): I used this workaround to upgrade to 0.4.12 for now ```bash cd /opt/homebrew/Library/Taps/sst/homebrew-tap git reset --hard HEAD~2 brew upgrade opencode ```
Author
Owner

@codeagencybe commented on GitHub (Aug 11, 2025):

same problem here 😟

Hopefully they get it resolved asap so we can update and get past the bugs...

@codeagencybe commented on GitHub (Aug 11, 2025): same problem here 😟 Hopefully they get it resolved asap so we can update and get past the bugs...
Author
Owner

@thdxr commented on GitHub (Aug 11, 2025):

should be fixed now sorry about that

@thdxr commented on GitHub (Aug 11, 2025): should be fixed now sorry about that
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#1225