Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'itch' package checksum mismatch #110

Open
gbakeman opened this issue Dec 14, 2024 · 2 comments
Open

'itch' package checksum mismatch #110

gbakeman opened this issue Dec 14, 2024 · 2 comments

Comments

@gbakeman
Copy link

Hi,

I was just trying to install the itch package, but it looks like there's a checksum mismatch!

Verifying package provided checksum of '55E97E558F22F6EE39243EB47C6E3A5DEE12D1039EA73B9A860562AD12AF0FEB' for 'C:\ProgramData\chocolatey\lib\itch\tools\itch-setup.exe'.
Running Get-ChecksumValid -file 'C:\ProgramData\chocolatey\lib\itch\tools\itch-setup.exe' -checksum '55E97E558F22F6EE39243EB47C6E3A5DEE12D1039EA73B9A860562AD12AF0FEB' -checksumType 'SHA256' -originalUrl 'https://itch.io/app/download?platform=windows'
checksum.exe found at 'C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe'
Executing command ['C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe' -c="55E97E558F22F6EE39243EB47C6E3A5DEE12D1039EA73B9A860562AD12AF0FEB" -t="SHA256" -f="C:\ProgramData\chocolatey\lib\itch\tools\itch-setup.exe"]
Error - hashes do not match. Actual value was 'F0E7D635D07EB4985FCE3D7C7D274CF1A040BDA08A98B627C165C66381F3E5AD'.
Command ['C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe' -c="55E97E558F22F6EE39243EB47C6E3A5DEE12D1039EA73B9A860562AD12AF0FEB" -t="SHA256" -f="C:\ProgramData\chocolatey\lib\itch\tools\itch-setup.exe"] exited with '1'.
ERROR: Checksum for 'C:\ProgramData\chocolatey\lib\itch\tools\itch-setup.exe' did not meet '55E97E558F22F6EE39243EB47C6E3A5DEE12D1039EA73B9A860562AD12AF0FEB' 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.
 at Get-ChecksumValid, C:\ProgramData\chocolatey\helpers\functions\Get-CheckSumValid.ps1: line 215
at Get-ChocolateyWebFile, C:\ProgramData\chocolatey\helpers\functions\Get-ChocolateyWebFile.ps1: line 421
at <ScriptBlock>, C:\ProgramData\chocolatey\lib\itch\tools\chocolateyInstall.ps1: line 19
at <ScriptBlock>, C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1: line 63
at <ScriptBlock>, <No file>: line 1
Built-in PowerShell host called with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = '';[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::SystemDefault; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\itch\tools\chocolateyInstall.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null'] exited with '-1'.
Calling command ['"C:\Windows\System32\shutdown.exe" /a']
Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
Capturing package files in 'C:\ProgramData\chocolatey\lib\itch'
 Found 'C:\ProgramData\chocolatey\lib\itch\itch.nupkg'
  with checksum '6C47C11CADB16023978B290B50F859F0'
 Found 'C:\ProgramData\chocolatey\lib\itch\itch.nuspec'
  with checksum '499C838AF09F1D49916BB782ACB498D9'
 Found 'C:\ProgramData\chocolatey\lib\itch\tools\.skipAutoUninstall'
  with checksum 'D41D8CD98F00B204E9800998ECF8427E'
 Found 'C:\ProgramData\chocolatey\lib\itch\tools\chocolateyInstall.ps1'
  with checksum '8009AADA93114750808A3886368EDE96'
 Found 'C:\ProgramData\chocolatey\lib\itch\tools\chocolateyuninstall.ps1'
  with checksum '87FEB2F93104FE7362B3DF05B2D4929B'
 Found 'C:\ProgramData\chocolatey\lib\itch\tools\itch-setup.exe'
  with checksum '80E6D964515855671E0368EF7F7CCDA8'
Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\itch.26.1.9\.arguments".
Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\itch.26.1.9\.extra".
Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\itch.26.1.9\.version".
Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\itch.26.1.9\.sxs".
Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\itch.26.1.9\.pin".
Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\itch.26.1.9\.deploymentLocation".
Attempting to delete directory "C:\ProgramData\chocolatey\lib-bad\itch".
Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
The install of itch was NOT successful.
Error while running 'C:\ProgramData\chocolatey\lib\itch\tools\chocolateyInstall.ps1'.
 See log for details.
Attempting to create directory "C:\ProgramData\chocolatey\lib-bad\itch".
Moving C:\ProgramData\chocolatey\lib\itch to C:\ProgramData\chocolatey\lib-bad\itch\26.1.9
Moving 'C:\ProgramData\chocolatey\lib\itch'
 to 'C:\ProgramData\chocolatey\lib-bad\itch\26.1.9'

Chocolatey installed 0/1 packages. 1 packages failed.
 See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).

Failures
 - itch (exited -1) - Error while running 'C:\ProgramData\chocolatey\lib\itch\tools\chocolateyInstall.ps1'.
 See log for details.
Sending message 'PostRunMessage' out if there are subscribers...
Exiting with -1

Thanks in advance for any help fixing this.

@TakataSanshiro
Copy link
Owner

@gbakeman Thanks for your inform. I've updated one.
https://community.chocolatey.org/packages/itch/26.1.9.20241215

@gbakeman
Copy link
Author

Just updated here! There was a strange issue where the installation hung after starting the installer. I wonder if it's because the installer launched the full client after. I exited the client, then about 30 seconds later the installation completed in Chocolatey. Thanks for your work!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants