Error: Checksum mismatch.

bogon:bin macname$ brew install go
==> Downloading https://homebrew.bintray.com/bottles-portable-ruby/portable-ruby-2.3.7.leopard_64.bottle.tar.gz
Already downloaded: /Users/macname/Library/Caches/Homebrew/portable-ruby-2.3.7.leopard_64.bottle.tar.gz
Error: Checksum mismatch.
Expected: 033ac518bb14abdb1bb47d968dc9e967c3ae2035499383a21a79b49d523065d1
Actual: e205b1fdae5e49c186f7c28a6e06bfe8ea3ee122548b96732b247fbf952cc577
Archive: /Users/macname/Library/Caches/Homebrew/portable-ruby-2.3.7.leopard_64.bottle.tar.gz
To retry an incomplete download, remove the file above.
Error: Failed to install vendor Ruby.

如提示,删除重新下载文件就可以了

bogon:bin macname$ rm -rf /Users/macname/Library/Caches/Homebrew/portable-ruby-2.3.7.leopard_64.bottle.tar.gz

原文地址:https://www.cnblogs.com/sea-stream/p/10310002.html