nwoolls / homebrew-xgminer

Homebrew formulas for CGMiner and BFGMiner
35 stars 27 forks source link

brew install bfgminer: Error: SHA1 mismatch #12

Closed marcoleong closed 9 years ago

marcoleong commented 9 years ago

I try to install, however it cannot install one of the dep, uthash.

$ brew install bfgminer

==> Installing bfgminer from nwoolls/homebrew-xgminer
==> Installing dependencies for bfgminer: uthash, jansson, libmicrohttpd, libevent, libusb, hidapi
==> Installing bfgminer dependency: uthash
==> Downloading https://github.com/troydhanson/uthash/archive/58d5990617.zip
######################################################################## 100.0%
Error: SHA1 mismatch
Expected: 015622dfee4367b5de07a7207f7beb3768e0bd99
Actual: dda1f1116d41e190990cff1cb11c654daee1d256
Archive: /Library/Caches/Homebrew/uthash-58d5990617.zip
To retry an incomplete download, remove the file above.
Usul1980 commented 9 years ago

Does anyone have enough brains to help us out here I'm having the same issue. have tried lots of things but refuses.

nwoolls commented 9 years ago

Type the following:

brew update && brew install bfgminer

Usul1980 commented 9 years ago

Thanks that helped get much further, but then gets stuck at another one:

Error: SHA1 mismatch Expected: a586882bc93a208318c70fc7077ed8fca9862864 Actual: ea60df615387f47bdfdfe4da48f6567c4ec60f74 Archive: /Library/Caches/Homebrew/libevent-2.0.22.tar.gz To retry an incomplete download, remove the file above.

nwoolls commented 9 years ago

Remove the file above as it instructs. I do not provide the libevent formula so cannot fix that one (unlike uthash).

rm /Library/Caches/Homebrew/libevent-2.0.22.tar.gz