Error: SHA256 mismatch,To retry an incomplete download, remove the file above.

==> Downloading https://www.ijg.org/files/jpegsrc.v9d.tar.gz
Already downloaded: /Users/yangchangjia/Library/Caches/Homebrew/downloads/23faa446d5ad2c8f0a288f26af4c4f70666394f107eb58154ab432da5f6705d1–jpegsrc.v9d.tar.gz
Error: SHA256 mismatch
Expected: 99cb50e48a4556bc571dadd27931955ff458aae32f68c4d9c39d624693f69c32
Actual: 2303a6acfb6cc533e0e86e8a9d29f7e6079e118b9de3f96e07a71a11c082fa6a
Archive: /Users/yangchangjia/Library/Caches/Homebrew/downloads/23faa446d5ad2c8f0a288f26af4c4f70666394f107eb58154ab432da5f6705d1–jpegsrc.v9d.tar.gz
To retry an incomplete download, remove the file above.


解决方法

ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

brew update 
brew upgrade
brew install xxx

相关文章

最近做自动化测试时,深感自己对前端涉猎太少,加上对这块比...
homebrew本身就是一个git仓库。使用homebrew安装软件包时,会...
一、Homebrew安装、卸载等命令Homebrew的安装和卸载都非常简...
在mac系统中,使用homebrew可以很方便的管理包。按照官网的说...
我按照说明从这里使用brew安装mysqlhttps://gist.github.com...
我在macOS10.12.4上安装了nginx1.10.3和php5.5.38作为开发服...