赞
踩
- Downloading https://ghcr.io/v2/homebrew/portable-ruby/portable-ruby/blobs/sha256:1f50bf80583bd436c9542d4fa5ad47df0ef0f0bea22ae710c4f04c42d7560bca
- Already downloaded: /Users/用户名/Library/Caches/Homebrew/portable-ruby-2.6.8_1.el_capitan.bottle.tar.gz
- Error: Checksum mismatch.
- Expected: 1f50bf80583bd436c9542d4fa5ad47df0ef0f0bea22ae710c4f04c42d7560bca
- Actual: 6bdfab83fe60fc3de4f85a2698bb98bcd472b0b074dd24d9b97cdc9bd1fc8f9b
- Archive: /Users/用户名/Library/Caches/Homebrew/portable-ruby-2.6.8_1.el_capitan.bottle.tar.gz
- To retry an incomplete download, remove the file above.
- Error: Failed to upgrade Homebrew Portable Ruby!
执行brew search redis时候报错,看了一下报错
报错原因:portable-ruby-2.6.8_1.el_capitan.bottle.tar.gz 这个文件校验不匹配,Homebrew升级失败。
解决方案:可以看到提示让我们To retry an incomplete download, remove the file above.
删除上面这个portable-ruby-2.6.8_1.el_capitan.bottle.tar.gz文件。
rm -rf /Users/自己的用户名/Library/Caches/Homebrew/portable-ruby-2.6.8_1.el_capitan.bottle.tar.gz
删除后在去获取redis版本和下载就没问题了。
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。