简体   繁体   English

安装haskell平台,得到错误

[英]install haskell-platform, get error

I tried to install haskell-platform with 我尝试使用安装Haskell平台

brew cask install haskell-platform brew cask install haskell-platform

But got the following error. 但是出现了以下错误。 How do you fix it? 您如何解决?

==> Satisfying dependencies
==> Downloading https://haskell.org/platform/download/8.2.1/Haskell%20Platform%2
######################################################################## 100.0%
==> Verifying checksum for Cask haskell-platform
==> Note: running "brew update" may fix sha256 checksum errors
Error: Checksum for Cask 'haskell-platform' does not match.

Expected: b0182bb721b5dff3d66794cbdcea93cec562dc254fcf23c0e7a1a7a8d680aaa7
Actual:   05fc22d2cefdf67f1da2f62a90fda73a746accd08b44ec197046972b82afee06
File:     /Users/william/Library/Caches/Homebrew/Cask/haskell-platform--8.2.1.pkg

A new binary release of HP 8.2.1 was made recently, and announced on the haskell-cafe list: https://mail.haskell.org/pipermail/haskell-cafe/2017-October/127979.html 最近制作了HP 8.2.1的新二进制版本,并在haskell-cafe列表中宣布: https//mail.haskell.org/pipermail/haskell-cafe/2017-October/127979.html

This changed the hash. 这改变了哈希。 As noted in the error message, a "brew update" should update the platform cask and pull in the new hash, which should allow things to continue properly. 如错误消息中所述,“ brew更新”应更新平台容器并提取新的哈希,这应可使事情继续正常进行。

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

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