Homebrew 安装 kettle 过程中报错 for Mac

报错信息如下

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.

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

切换到 admin 用户:

su -

执行以下命令:

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

然后根据提示删除文件:

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

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%

猜你喜欢

转载自blog.csdn.net/zhang50303/article/details/80000557