Homebrew / homebrew-cask

🍻 A CLI workflow for the administration of macOS applications distributed as binaries
https://brew.sh
BSD 2-Clause "Simplified" License
20.88k stars 10.69k forks source link

kindlegen v2.9 minor version-upgrade? or sha256 wrong? #5574

Closed kun432 closed 10 years ago

kun432 commented 10 years ago

Thanks for awesome work!

I've tried to install KindleGen a few times, but always SHA2 mismatched.

$ brew cask install kindlegen
==> Downloading https://kindlegen.s3.amazonaws.com/KindleGen_Mac_i386_v2_9.zip
######################################################################## 100.0%
==> Note: running "brew update" may fix checksum errors
Error: SHA2 mismatch
Expected: e09ad8f985c7096556f978df15903b71f9cf44d2e1f501139a420ff16931f980
Actual: 418e285c4dad907d920e040e81001736463a5b4b6aa22d58f623d99613cd2822
Archive: /Library/Caches/Homebrew/kindlegen-2.9.zip
To retry an incomplete download, remove the file above.
$ shasum -a 256 KindleGen_Mac_i386_v2_9.zip 
418e285c4dad907d920e040e81001736463a5b4b6aa22d58f623d99613cd2822  KindleGen_Mac_i386_v2_9.zip
$ ./kindlegen -releasenotes

*************************************************************
 Amazon kindlegen(MAC OSX) V2.9 build 0730-890adc2 
 A command line e-book compiler 
 Copyright Amazon.com and its Affiliates 2013 
*************************************************************

 Release Notes:
    Check the latest release notes and known issues at https://kindlegen.s3.amazonaws.com/manual.html
alebcay commented 10 years ago

Seems like the Cask is just broken.

❯ cask audit --download kindlegen
==> Downloading https://kindlegen.s3.amazonaws.com/KindleGen_Mac_i386_v2_9.zip
######################################################################## 100.0%
==> Note: running "brew update" may fix checksum errors
audit for kindlegen: failed
 - download not possible: SHA2 mismatch
Expected: e09ad8f985c7096556f978df15903b71f9cf44d2e1f501139a420ff16931f980
Actual: 418e285c4dad907d920e040e81001736463a5b4b6aa22d58f623d99613cd2822
Archive: /Library/Caches/Homebrew/kindlegen-2.9.zip
To retry an incomplete download, remove the file above.
Error: audit failed
rolandwalker commented 10 years ago

I got the same and am amending.