赞
踩
报错信息如下
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%
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。