在使用brew安裝軟件時(shí)報(bào)錯(cuò)Failed to upgrade Homebrew Portable Ruby!
brew install --cask --appdir=/Applications docker
==> Downloading https://ghcr.io/v2/homebrew/portable-ruby/portable-ruby/blobs/sha256:0cb1cc7af109437fe0e020c9f3b7b95c3c709b140bde9f991ad2c1433496dd42
Already downloaded: /Users/zhanghe/Library/Caches/Homebrew/portable-ruby-2.6.8.yosemite.bottle.tar.gz
Error: Checksum mismatch.
Expected: 0cb1cc7af109437fe0e020c9f3b7b95c3c709b140bde9f991ad2c1433496dd42
Actual: f3d9a51cb325eb9fb4cf098821c11cc7299cda637fb5e4c23a846a7390c305cd
Archive: /Users/zhanghe/Library/Caches/Homebrew/portable-ruby-2.6.8.yosemite.bottle.tar.gz
To retry an incomplete download, remove the file above.
Error: Failed to upgrade Homebrew Portable Ruby!
將已存在的文件刪除掉即可
rm -rf /Users/zhanghe/Library/Caches/Homebrew/portable-ruby-2.6.8.yosemite.bottle.tar.gz
https://zhhll.icu/2020/Mac/brew使用失敗/文章來源:http://www.zghlxwxcb.cn/news/detail-631663.html
本文由mdnice多平臺發(fā)布文章來源地址http://www.zghlxwxcb.cn/news/detail-631663.html
到了這里,關(guān)于Mac使用brew安裝軟件報(bào)錯(cuò)的文章就介紹完了。如果您還想了解更多內(nèi)容,請?jiān)谟疑辖撬阉鱐OY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!