当前位置:   article > 正文

Mac使用brew安装软件报错_failed to upgrade homebrew portable ruby!

failed to upgrade homebrew portable ruby!

在使用brew安装软件时报错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!
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9

将已存在的文件删除掉即可

rm -rf /Users/zhanghe/Library/Caches/Homebrew/portable-ruby-2.6.8.yosemite.bottle.tar.gz
  • 1

https://zhhll.icu/2020/Mac/brew使用失败/

本文由mdnice多平台发布

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

闽ICP备14008679号