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

你可能感兴趣的:(MacOS,日常错误,mac,brew,sha,install,download)