当前位置:   article > 正文

【MAC】brew命令Homebrew命令Error: Checksum mismatch._checksum mismatch. expected: 1f50bf80583bd436c9542

checksum mismatch. expected: 1f50bf80583bd436c9542d4fa5ad47df0ef0f0bea22ae71

  1. Downloading https://ghcr.io/v2/homebrew/portable-ruby/portable-ruby/blobs/sha256:1f50bf80583bd436c9542d4fa5ad47df0ef0f0bea22ae710c4f04c42d7560bca
  2. Already downloaded: /Users/用户名/Library/Caches/Homebrew/portable-ruby-2.6.8_1.el_capitan.bottle.tar.gz
  3. Error: Checksum mismatch.
  4. Expected: 1f50bf80583bd436c9542d4fa5ad47df0ef0f0bea22ae710c4f04c42d7560bca
  5.  Actual: 6bdfab83fe60fc3de4f85a2698bb98bcd472b0b074dd24d9b97cdc9bd1fc8f9b
  6.  Archive: /Users/用户名/Library/Caches/Homebrew/portable-ruby-2.6.8_1.el_capitan.bottle.tar.gz
  7. To retry an incomplete download, remove the file above.
  8. 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版本和下载就没问题了。

 

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/花生_TL007/article/detail/475382
推荐阅读
相关标签
  

闽ICP备14008679号