web3j / homebrew-web3j

web3j homebrew tap
2 stars 8 forks source link

Error: SHA256 mismatch while calling 'brew install web3j' #2

Closed javahippie closed 6 years ago

javahippie commented 7 years ago

I tried to install the command line tools according to this site. There seems to be a mismatch in the hashsums:

> brew tap web3j/web3j
> brew install web3j

Updating Homebrew...
==> Auto-updated Homebrew!
Updated 1 tap (caskroom/cask).

==> Installing web3j from web3j/web3j
==> Downloading https://github.com/web3j/web3j/releases/download/v3.1.0/web3j-3.1.0.zip
==> Downloading from https://github-production-release-asset-2e65be.s3.amazonaws.com/67328052/b45b41ea-c862-11e7-9398-6d95aee80561?X-Amz-Algor
######################################################################## 100,0%
Error: SHA256 mismatch
Expected: bf6b1ae9e6f9cfbcfadad036a2524dace053bd956cfbb9a54cb9dc5a96a90877
Actual: e141a3a0945b69788dcee08346b21654409709d05b9c124fbfdd82c1b915eff2
Archive: /Users/*******/Library/Caches/Homebrew/web3j-3.1.0.zip
To retry an incomplete download, remove the file above.
javahippie commented 7 years ago

Update: to me it looks like the hashsum was updated to v3.1.1, but the link to the zip file was not?

https://github.com/web3j/homebrew-web3j/commit/07b843f14529a9360eee9c342cb9902f58af7443

markwigmans commented 7 years ago

@javahippie Yes I agree, when I change the SHA-256 back (with: brew edit web3j) it works. Looking forward to the 3.1.1 version

conor10 commented 6 years ago

Fixed - sorry about that.