Skip to content

Instantly share code, notes, and snippets.

@ajshastri
Created January 23, 2024 16:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ajshastri/0868eb162409152f1f0594db41770a55 to your computer and use it in GitHub Desktop.
Save ajshastri/0868eb162409152f1f0594db41770a55 to your computer and use it in GitHub Desktop.
Chocolatey error for correttojdk-23 Jan 2024
Original error in GIST
```
2024-01-23 01:59:13,807 1932 [DEBUG] - Command ['C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe' -c="58899be77c0992cce93172389de1cbeb8" -t="md5" -f="C:\Users\vagrant\AppData\Local\Temp\chocolatey\correttojdk\21.0.2.131\amazon-corretto-21.0.2.13.1-windows-x64.msi"] exited with '1'.
2024-01-23 01:59:13,884 1932 [ERROR] - ERROR: Checksum for 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\correttojdk\21.0.2.131\amazon-corretto-21.0.2.13.1-windows-x64.msi' did not meet '58899be77c0992cce93172389de1cbeb8' for checksum type 'md5'. 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.
at <ScriptBlock>, <No file>: line 1
```
Manual attempt
```
vagrant@WIN-KPPHL22A2FC C:\ProgramData\chocolatey\tools>'C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe' -f "C:\Users\vagrant\AppData\Local\Temp\chocolatey\correttojdk\21.0.2.131\amazon-corretto-21.0.2.13.1-windows-x64.msi"
The filename, directory name, or volume label syntax is incorrect.
```
Windows Dir output
```
vagrant@WIN-KPPHL22A2FC C:\ProgramData\chocolatey\tools>dir "C:\Users\vagrant\AppData\Local\Temp\chocolatey\correttojdk\21.0.2.131\amazon-corretto-21.0.2.13.1-windows-x64.msi"
Volume in drive C is Windows 2019
Volume Serial Number is FA7B-08AD
Directory of C:\Users\vagrant\AppData\Local\Temp\chocolatey\correttojdk\21.0.2.131
01/23/2024 04:08 PM 178,888,704 amazon-corretto-21.0.2.13.1-windows-x64.msi
1 File(s) 178,888,704 bytes
0 Dir(s) 40,290,738,176 bytes free
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment