mac-cleanup / mac-cleanup-sh

🗑️ Cleanup script for macOS (DEPRECATED)
https://wartner.io
MIT License
2.63k stars 243 forks source link

Homebrew - SHA256 mismatch for v1.1.9 #92

Open troyxmccall opened 3 years ago

troyxmccall commented 3 years ago

there's a SHA256 mismatch on the latest bottle for the homebrew tap

==> Upgrading fwartner/tap/mac-cleanup
  1.1.8 -> 1.1.9

==> Downloading https://github.com/mac-cleanup/mac-cleanup-sh/archive/v1.1.9.tar.gz
==> Downloading from https://codeload.github.com/mac-cleanup/mac-cleanup-sh/tar.gz/v1.1.9
######################################################################## 100.0%
Error: SHA256 mismatch
Expected: 2d00ac048f6220fe23fb508c9f3a4a1d47cc1f8067fa22127c0f2e87a5b0182a
  Actual: c2734d26a91270c0ee5094090c6f13849e054b44bc62b5f4187aebf80762a564
    File: /Users/xxxxxx/Library/Caches/Homebrew/downloads/9d268e80709a90f4c6b174a2f5ca1d68ff62e47169e31ff1e54e5d578c232327--mac-cleanup-sh-1.1.9.tar.gz
To retry an incomplete download, remove the file above.

system info

ProductName:    macOS
ProductVersion: 11.5.2
BuildVersion:   20G95

brew info

Homebrew 3.2.8
Homebrew/homebrew-core (git revision 1ecf846b99; last commit 2021-08-18)
Homebrew/homebrew-cask (git revision eb665cc548; last commit 2021-08-18)
welcome[bot] commented 3 years ago

Thanks for opening your first issue here! Be sure to follow the issue template!

mircobabini commented 3 years ago

Same here.

fwartner commented 3 years ago

Working on that now! :)

pchaganti commented 3 years ago

Same here.

jeffmurch commented 3 years ago

Anything on this bug yet?

rosharp commented 2 years ago

Everything works just fine if installing using curl instead of Homebrew. I'm on Mac OS Monterey.

rogerioaguas commented 2 years ago

Same here

rodrigobdz commented 2 years ago

Monkey patch:

  1. Edit brew formula locally:

    brew edit fwartner/tap/mac-cleanup
  2. Replace the actual SHA256 by the expected one:

    - 2d00ac048f6220fe23fb508c9f3a4a1d47cc1f8067fa22127c0f2e87a5b0182a
    + c2734d26a91270c0ee5094090c6f13849e054b44bc62b5f4187aebf80762a564
  3. Re-run installation command:

    brew install fwartner/tap/mac-cleanup

curl and wget installations didn't work for me due to error https://github.com/mac-cleanup/mac-cleanup-sh/issues/102.