by shigemk2

当面は技術的なことしか書かない

boost, Error: SHA1 mismatch

以下を実行しようとしたら、こんな感じのエラーが出ました(パスを修正しています)

% brew install source-highlight
Warning: It appears you have MacPorts or Fink installed.
Software installed with other package managers causes known problems for
Homebrew. If a formula fails to build, uninstall MacPorts/Fink and try again.
==> Installing source-highlight dependency: boost
==> Downloading https://downloads.sourceforge.net/project/machomebrew/Bottles/boost
File already downloaded in /ディレクトリ...
Error: SHA1 mismatch
Expected: d5edc2714c4182081d0399f0a0278672e1c85410
Got: c7871ddd020a24e3b0cfd3c9a352a1210b68b372
Archive: /ディレクトリ...
(To retry an incomplete download, remove the file above.)

boost, Error: SHA1 mismatch · Issue #9194 · mxcl/homebrew · GitHub
こちらによると解決方法は単純明快。

% brew update

するだけ。ね、簡単でしょ?