Shopify / themekit

Shopify theme development command line tool.
https://shopify.dev/tools/theme-kit
MIT License
1.19k stars 374 forks source link

SHA mismatch when installing with Brew #886

Closed sstadt closed 3 years ago

sstadt commented 3 years ago

Describe the bug When installing with Brew:

$ brew install themekit
Updating Homebrew...
==> Installing themekit from shopify/shopify
==> Downloading https://shopify-themekit.s3.amazonaws.com/v1.1.5/darwin-amd64/theme
######################################################################## 100.0%
Error: SHA256 mismatch
Expected: fd72d6d06acdc1122e0399a25e4714e3b887053fab0b76a3fa5c97260d99af35
  Actual: 483a660c655cfad28787106bcaea3c52d09ee1dcd8007e05007d223ae8aaf4ea
    File: /Users/<username>/Library/Caches/Homebrew/downloads/5401d24029b30f2d4245eeb39278c9a817bfe01558fa4b09f0ddd164e0ffcec6--theme
To retry an incomplete download, remove the file above.

To Reproduce

brew tap shopify/shopify
brew install themekit

Expected behavior themekit installs

Environment (please complete the following information):

Additional context Have tried brew update and deleting the temp file, same result.

bekahmcdonald commented 3 years ago

I'm experiencing the exact same issue.

JakkuSakura commented 3 years ago

I have everything SHA mismatch

==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles/bottles/libyaml-0.2.5.arm64_big_sur.bottle.tar.gz
Already downloaded: /Users/jack/Library/Caches/Homebrew/downloads/8ef8bff851906b0536c391ce117c3d9f14041506e4b89d33171418ce334f888f--libyaml-0.2.5.arm64_big_sur.bottle.tar.gz
Error: SHA256 mismatch
Expected: fe1082f3475a144261b41e2c3e0728b9331911b1cbfadfbc1f3d70d454709154
  Actual: 1bf0828f67cc4ffdcf84eb95a7f51115132b181c6d4ccf145c3d1873ebdb5f3d
    File: /Users/jack/Library/Caches/Homebrew/downloads/8ef8bff851906b0536c391ce117c3d9f14041506e4b89d33171418ce334f888f--libyaml-0.2.5.arm64_big_sur.bottle.tar.gz
To retry an incomplete download, remove the file above.
Warning: Bottle installation failed: building from source.
==> Downloading https://github.com/yaml/libyaml/archive/0.2.5.tar.gz
Already downloaded: /Users/jack/Library/Caches/Homebrew/downloads/688fdcea5b88140cb83d1f72e3a77fa76b6560f0d66eabcea7d54cf9f06d5e72--libyaml-0.2.5.tar.gz
==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles/bottles/gdbm-1.18.1_1.arm64_big_sur.bottle.tar.gz
Already downloaded: /Users/jack/Library/Caches/Homebrew/downloads/77233b168e5be5024eaecc47df2eff4ddcc91000bf77922404bbbd96693ef860--gdbm-1.18.1_1.arm64_big_sur.bottle.tar.gz
Error: SHA256 mismatch
Expected: 801b2bf95118871ee206de507131325613a1aa59ab7809032bb456f1b5f01a89
  Actual: 090ec5647502d8a23d813f7e6aea328b77547f78b2bf69b76a817656ecb09e97
    File: /Users/jack/Library/Caches/Homebrew/downloads/77233b168e5be5024eaecc47df2eff4ddcc91000bf77922404bbbd96693ef860--gdbm-1.18.1_1.arm64_big_sur.bottle.tar.gz
To retry an incomplete download, remove the file above.
Warning: Bottle installation failed: building from source.
==> Downloading https://ftp.gnu.org/gnu/gdbm/gdbm-1.18.1.tar.gz
######################################################################## 100.0%
==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles/bottles/readline-8.1.arm64_big_sur.bottle.tar.gz
######################################################################## 100.0%
Error: SHA256 mismatch
Expected: 940e7c2b80ef7f59b26726a5669a31fcb8ba7cbbb17eb1f2ca589dafa6e68e5e
  Actual: 26971810ce31d63cd0966c733a132b47e7df5eb790dcbd3f38947cc5d3114ce0
    File: /Users/jack/Library/Caches/Homebrew/downloads/ad46a5a60b2948a91c235d8e24bb732d859473901d6b368f1810770ddd7048cb--readline-8.1.arm64_big_sur.bottle.tar.gz
To retry an incomplete download, remove the file above.
Warning: Bottle installation failed: building from source.
==> Downloading https://ftp.gnu.org/gnu/readline/readline-8.1.tar.gz
tanema commented 3 years ago

Thanks I will fix this right away

tanema commented 3 years ago

okay I updated the formula and it should work now

andyw8 commented 3 years ago

(you may need to run brew update first)

sstadt commented 3 years ago

Works great, thank you!