docfx: Choco install fails for version 2.58.9
Operating System: (Windows or Linux or MacOS)
Windows
DocFX Version Used: 2.58.9
Template used: (default or statictoc or contain custom template)
Steps to Reproduce:
- choco install docfx -y
Expected Behavior: Install and checksum validation succeeds
Actual Behavior: Download of docfx.zip (21.62 MB) completed. Error - hashes do not match. Actual value was ‘E6BD6D788DDB07D9BCB6D90F2822D7E2E6C4FEB0E2CAEABC60FF39232D07BC52’. ERROR: Checksum for ‘C:\Users\VssAdministrator\AppData\Local\Temp\chocolatey\docfx\2.58.9\docfx.zip’ did not meet ‘18e2277704b318d5c785681b69296aa072eca30ee5cab5b19de77ede830bbd3c’ for checksum type ‘SHA256’. Consider passing the actual checksums through with --checksum --checksum64 once you validate the checksums are appropriate. A less secure option is to pass --ignore-checksums if necessary. The install of docfx was NOT successful. Error while running ‘C:\ProgramData\chocolatey\lib\docfx\tools\chocolateyinstall.ps1’. See log for details.
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Reactions: 7
- Comments: 15 (3 by maintainers)
Maybe bump the version and release 2.58.10 is a better way (and flag 2.58.9 as a broken release)?
docfx.zip
This has 18E2277704B318D5C785681B69296AA072ECA30EE5CAB5B19DE77EDE830BBD3C
choco install docfx -y --version=2.58worksOut of curiosity, when you wrote that the correct hash is 18e2277704b318d5c785681b69296aa072eca30ee5cab5b19de77ede830bbd3c, did you verify this from a Microsoft source, or did you trust the information from Chocolatey?
(The files within are identical to those in the 2.58.9 NuGet package, anyway.)
@KalleOlaviNiemitalo Many thanks! 2.58.9 is back now on choco 👍👍👍
We find 2.59.0 release accidentally overwrote 2.58.9 GitHub release. We tried to re-create the 2.58.9 package, but failed to get the same checksum as before.
NEED YOUR HELP
If you happened to install 2.58.9 before, and has the zip on your local machine, please share your package with us, Thanks!
You can check the file’s checksum to see if it is
18e2277704b318d5c785681b69296aa072eca30ee5cab5b19de77ede830bbd3c:You could try to specify a specific version by doing
choco install docfx -y --version=<version>. Haven’t had the chance to try that yet myself.