sourcegraph / app

Issue tracker for the Sourcegraph app - a lightweight single-binary version of Sourcegraph for your local machine
27 stars 2 forks source link

brew install fails because of SHA256 mismatch #2

Closed Nezteb closed 1 year ago

Nezteb commented 1 year ago

I'm on macOS-13.2.1-arm64-arm-64bit

❯ brew install sourcegraph/app/sourcegraph

==> Fetching dependencies for sourcegraph/app/sourcegraph: git and sourcegraph/src-cli/src-cli
==> Fetching git
==> Downloading https://ghcr.io/v2/homebrew/core/git/manifests/2.40.0
Already downloaded: /Users/noah/Library/Caches/Homebrew/downloads/266ddb0440c8288ff2855fd4cb9565dc034a63597f76f92068d6430a6c1d3ec2--git-2.40.0.bottle_manifest.json
==> Downloading https://ghcr.io/v2/homebrew/core/git/blobs/sha256:bfa99673257b830efa1acbda7df7e52fdc9477882c3cd5ee0bdce2fb56d411ae
Already downloaded: /Users/noah/Library/Caches/Homebrew/downloads/c14efc765c14e8000e3238f4f8f1253a46be8c8c3acaea6c0d0bb765a451c94b--git--2.40.0.arm64_ventura.bottle.tar.gz
==> Fetching sourcegraph/src-cli/src-cli
==> Downloading https://github.com/sourcegraph/src-cli/releases/download/5.0.0/src-cli_5.0.0_darwin_arm64.tar.gz
Already downloaded: /Users/noah/Library/Caches/Homebrew/downloads/5011ffdace386045f6995a1d739eafb2ec284a6cb9ffd918d277053f47a1993c--src-cli_5.0.0_darwin_arm64.tar.gz
==> Fetching sourcegraph/app/sourcegraph
==> Downloading https://storage.googleapis.com/sourcegraph-app-releases/2023.03.23+205301.ca3646/sourcegraph_2023.03.23+205301.ca3646_darwin_arm64.zip
######################################################################## 100.0%
Error: sourcegraph: SHA256 mismatch
Expected: 6867783c6ccdc1bdf9e02168ff0ea54566c0cd6cbf163d88735a7a047b01d2f0
  Actual: 6970e452e69ece6e4d5ba778958daac1b1f83d8a0bf9e9a8bb0dc6e49393ff25
    File: /Users/noah/Library/Caches/Homebrew/downloads/0f19339ae14d872a3b43dae6eb6e5932913820b1edba13ec19ecdf64c26f55b3--sourcegraph_2023.03.23 205301.ca3646_darwin_arm64.zip
To retry an incomplete download, remove the file above.

Removing the file and redownloading does not fix the error.

slimsag commented 1 year ago

Hello @Nezteb @tatablack - sorry for the late reply; we've fixed this now and you can try again following the instructions at https://docs.sourcegraph.com/app#installation

Please let us know if you're able to get it running or not! We'd really like to know :)