Yu-Chieh’s Blog (Y.C. Chang)

Ruby on Rails / Rubygems / FullStack / Git / Mac notes.

Error Message on Brew Install: Error: SHA1 Mismatch

  • Sometimes we might get error message when we use brew install xxxxx_package.
  • What can we do to solve this?
  • We could just remove the package which we already download.

  • e.g.

1
2
3
4
5
6
7
...
Error: SHA1 mismatch
...
$ rm /Library/Caches/Homebrew/libpng-1.6.16.tar.xz
# and install it again
$ brew install libpng
...
  • done.

Comments