OS X 10.9.2中的自制程序:错误:SHA256不匹配 [英] Homebrew in OS X 10.9.2: Error: SHA256 mismatch

查看:201
本文介绍了OS X 10.9.2中的自制程序:错误:SHA256不匹配的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

brew install php55
==> Downloading http://www.php.net/get/php-5.5.11.tar.bz2/from/this/mirror
######################################################################## 100.0%
Error: SHA256 mismatch
Expected: 60e14c255f2a461a7a26639b84a2fc448cc2f91c8dead0e9fd00cd8ba27a2e96
Actual: 0d9438c2557db5809f4232148ca1567516e7ece9bf8726853ceac4a111cb8690
Archive: /Library/Caches/Homebrew/php55-5.5.11
To retry an incomplete download, remove the file above.

我尝试了

< p>酿造&&酿造更新

brew cleanup && brew update

但没有用

推荐答案

有人面临着同样的问题. https://github.com/Homebrew/homebrew-php/issues/875

Some one face the same issue. https://github.com/Homebrew/homebrew-php/issues/875

我检查了下载的文件,它是html下载页面,而不是压缩包.

"I checked the downloaded file, and it's the html download page rather than the tarball.

似乎php现在希望URL的形式为 http://www.php.net/get/php-5.4.22.tar.bz2/from/a/mirror 而不是

It looks like php now wants the URLs to be in the form of http://www.php.net/get/php-5.4.22.tar.bz2/from/a/mirror instead of http://www.php.net/get/php-5.4.22.tar.bz2/from/this/mirror

我完全误解了这一点. from/this/mirror是正确的,但在php方面很令人讨厌."

I'm totally mistaken with this. from/this/mirror is the correct one, but it's borked on php's side."

这篇关于OS X 10.9.2中的自制程序:错误:SHA256不匹配的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆