当前位置:   article > 正文

Homebrew 安装 kettle 过程中报错 for Mac_houmebrew 安装kettle

houmebrew 安装kettle

报错信息如下

zhangzhandeMacBook-Pro:Homebrew zhangzhan$ brew install kettle
==> Downloading https://downloads.sourceforge.net/project/pentaho/Data%20Integration/6.1/pdi-ce-6.1.0.1-196.zip
Already downloaded: /Users/zhangzhan/Library/Caches/Homebrew/kettle-6.1.0.1-196.zip
Error: SHA256 mismatch
Expected: ef5076c09e8481d1ab4cfc5f7d4701437f80f2b97a3bf19dfa74821de9524495
Actual: 251a85b3bac687974f360d3796048c20ded3bf0bd69e0d1cfd1db23d013f89ed
Archive: /Users/zhangzhan/Library/Caches/Homebrew/kettle-6.1.0.1-196.zip
To retry an incomplete download, remove the file above.
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8

找了很多方案都不能解决,最终解决方案如下:

切换到 admin 用户:

su -
  • 1

执行以下命令:

zhangzhandeMacBook-Pro:Homebrew zhangzhan$ brew cleanup && brew update
  • 1

然后根据提示删除文件:

zhangzhandeMacBook-Pro:Homebrew zhangzhan$ rm -rf /Users/zhangzhan/Library/Caches/Homebrew/kettle-6.1.0.1-196.zip
  • 1

OK ,处理之后结果如下:

zhangzhandeMacBook-Pro:Homebrew zhangzhan$ brew install kettle
==> Downloading https://downloads.sourceforge.net/project/pentaho/Data%20Integration/6.1/pdi-ce-6.1.0.1-196.zip
==> Downloading from https://jaist.dl.sourceforge.net/project/pentaho/Data%20Integration/6.1/pdi-ce-6.1.0.1-196.zip
#                                                                          2.4%
  • 1
  • 2
  • 3
  • 4
声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/Gausst松鼠会/article/detail/475370
推荐阅读
相关标签
  

闽ICP备14008679号