holman / spark

▁▂▃▅▂▇ in your shell.

Home Page:http://zachholman.com/spark/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

brew install spark fails with SHA1 mismatch

AshyIsMe opened this issue · comments

Console output below:

Aarons-MacBook-Air:~ aaron$ brew install spark
==> Downloading https://github.com/holman/spark/zipball/v1.0.1

################################################################## 100.0%

Error: SHA1 mismatch
Expected: c44be4dee3b375ce2a33d096ff41ed3212eaa7ce
Actual: 48f0b2c8417d22d9c248af50a4a6495828ac3879
Archive: /Library/Caches/Homebrew/spark-1.0.1.zip
(To retry an incomplete download, remove the file above.)
Aarons-MacBook-Air:~ aaron$ uname -a
Darwin Aarons-MacBook-Air.local 12.4.0 Darwin Kernel Version 12.4.0: Wed May 1 17:57:12 PDT 2013; root:xnu-2050.24.151/RELEASE_X86_64 x86_64
Aarons-MacBook-Air:
aaron$

Please take a look at http://apple.stackexchange.com/questions/57172/homebrew-sha1-mismatch-even-after-update

It is possible that the file was not downloaded in full or corrupted when downloaded.

'brew install spark' worked fine for me just today and /usr/local/Library/Formula/spark.rb lists the following:

url 'https://github.com/holman/spark/archive/v1.0.1.tar.gz'
sha1 '11c6a0c5e52720a1282c5da5019432c33dcf9403'

uname -a:
Darwin Krishnans-MacBook-Pro.local 12.4.0 Darwin Kernel Version 12.4.0: Wed May 1 17:57:12 PDT 2013; root:xnu-2050.24.15~1/RELEASE_X86_64 x86_64

brew -v:
Homebrew 0.9.4

Cheers for looking into it, i ended up just grabbing the latest from github and copying the script to my /usr/local/bin