mac-cleanup-sh icon indicating copy to clipboard operation
mac-cleanup-sh copied to clipboard

Homebrew - SHA256 mismatch for v1.1.9

Open troyxmccall opened this issue 4 years ago • 8 comments

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)

troyxmccall avatar Aug 18 '21 16:08 troyxmccall

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

welcome[bot] avatar Aug 18 '21 16:08 welcome[bot]

Same here.

mircobabini avatar Aug 18 '21 17:08 mircobabini

Working on that now! :)

fwartner avatar Aug 19 '21 07:08 fwartner

Same here.

pchaganti avatar Oct 20 '21 13:10 pchaganti

Anything on this bug yet?

jeffmurch avatar Oct 27 '21 15:10 jeffmurch

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

rosharp avatar Dec 31 '21 04:12 rosharp

Same here

rogerioaguas avatar May 01 '22 17:05 rogerioaguas

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.

rodrigobdz avatar May 13 '22 07:05 rodrigobdz