繁体   English   中英

使用brew在Mac OS X Yosemite上安装libpng失败

[英]Installing libpng on Mac OS X Yosemite using brew fails

我在使用brew在Mac OS X Yosemite上安装libpng时遇到问题。

输出看起来像这样:

    brew install libpng
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/libpng-1.6.16.yosemite.bottle.tar.gz
######################################################################## 100,0%
Error: SHA1 mismatch
Expected: f7b47fcf9d4111075745b04b6fbdb63062982bca
Actual: a2fd3379ea944f6b2f97fb0f79b7b85cb3e14d0b
Archive: /Library/Caches/Homebrew/libpng-1.6.16.yosemite.bottle.tar.gz
To retry an incomplete download, remove the file above.
Warning: Bottle installation failed: building from source.
==> Downloading https://downloads.sf.net/project/libpng/libpng16/1.6.16/libpng-1.6.16.tar.xz
######################################################################## 100,0%
Error: SHA1 mismatch
Expected: 31855a8438ae795d249574b0da15b34eb0922e13
Actual: a2fd3379ea944f6b2f97fb0f79b7b85cb3e14d0b
Archive: /Library/Caches/Homebrew/libpng-1.6.16.tar.xz
To retry an incomplete download, remove the file above.

我认为此输出非常奇怪,因为两个不同文件的SHA1哈希相同。 我怎么解决这个问题?

Sourforge当前处于灾难模式下... brew文件下载可能包含以下内容:

<html><head>
<title>Testing</title>
<!-- <script src="/js/jquery.com/jquery-1.11.0.min.js"></script> -->
<script src="//code.jquery.com/jquery-1.11.0.min.js"></script>
<script src="//sourceforge.net/js/mirrors.js"></script>
<script src="/js/sf.js"></script>
<script>
var DR_loc = DR_parse_hash_url();
if (DR_loc) {
    DR_sf_main(DR_loc);
} else {
    window.location.href = 'http://sourceforge.net/home.html';
}
</script>
</head><body>
<noscript>
We're sorry -- the Sourceforge site is currently in Disaster Recovery mode, and currently requires
the use of javascript to function.  Please check back later.
</noscript>
</body></html>

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM