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

firefox checksum error with lang=CA #2548

Open
2 tasks done
JordiRoman opened this issue Oct 4, 2024 · 2 comments
Open
2 tasks done

firefox checksum error with lang=CA #2548

JordiRoman opened this issue Oct 4, 2024 · 2 comments
Labels

Comments

@JordiRoman
Copy link

Checklist

  • I have verified that this is the correct repository, and the package is maintained by the chocolatey-community user.
  • I have verified that this is happening in the latest available version of the package.

Chocolatey Version

2.3.0

Chocolatey License

None

Package Version

v131.0.0

Current Behaviour

checksum error

Expected Behaviour

No response

Steps To Reproduce

choco install firefox

Environment

- Operating System: Windows 10/11
- PowerShell Version: 5.1
- Shell:cmd

Chocolatey Log

2024-10-04 13:55:58,489 3092 [INFO ] - Download of Firefox Setup 130.0.1.exe (64.1 MB) completed.
2024-10-04 13:56:01,513 3092 [DEBUG] - No runtime virus checking built into FOSS Chocolatey. Check out Pro/Business - https://chocolatey.org/compare
2024-10-04 13:56:01,514 3092 [DEBUG] - Verifying package provided checksum of 'd3e997f1aba37a40b3391918032c0e7d64ea6d9e43eba74ed821d8d57a7076d236881d998233c1378c31d16099212059f39c4a29756377a2e2fb492992a980b8' for 'C:\Users\Sabadell\AppData\Local\Temp\chocolatey\Firefox\130.0.1\Firefox Setup 130.0.1.exe'.
2024-10-04 13:56:01,515 3092 [DEBUG] - Running Get-ChecksumValid -file 'C:\Users\Sabadell\AppData\Local\Temp\chocolatey\Firefox\130.0.1\Firefox Setup 130.0.1.exe' -checksum 'd3e997f1aba37a40b3391918032c0e7d64ea6d9e43eba74ed821d8d57a7076d236881d998233c1378c31d16099212059f39c4a29756377a2e2fb492992a980b8' -checksumType 'sha512' -originalUrl 'https://download.mozilla.org/?product=firefox-130.0.1-ssl&os=win64&lang=ca'
2024-10-04 13:56:01,516 3092 [DEBUG] - checksum.exe found at 'C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe'
2024-10-04 13:56:01,517 3092 [DEBUG] - Executing command ['C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe' -c="d3e997f1aba37a40b3391918032c0e7d64ea6d9e43eba74ed821d8d57a7076d236881d998233c1378c31d16099212059f39c4a29756377a2e2fb492992a980b8" -t="sha512" -f="C:\Users\Sabadell\AppData\Local\Temp\chocolatey\Firefox\130.0.1\Firefox Setup 130.0.1.exe"]
2024-10-04 13:56:01,957 3092 [DEBUG] - Command ['C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe' -c="d3e997f1aba37a40b3391918032c0e7d64ea6d9e43eba74ed821d8d57a7076d236881d998233c1378c31d16099212059f39c4a29756377a2e2fb492992a980b8" -t="sha512" -f="C:\Users\Sabadell\AppData\Local\Temp\chocolatey\Firefox\130.0.1\Firefox Setup 130.0.1.exe"] exited with '1'.
2024-10-04 13:56:01,960 3092 [ERROR] - ERROR: Checksum for 'C:\Users\Sabadell\AppData\Local\Temp\chocolatey\Firefox\130.0.1\Firefox Setup 130.0.1.exe' did not meet 'd3e997f1aba37a40b3391918032c0e7d64ea6d9e43eba74ed821d8d57a7076d236881d998233c1378c31d16099212059f39c4a29756377a2e2fb492992a980b8' for checksum type 'sha512'. 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.
2024-10-04 13:56:01,964 3092 [DEBUG] - 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\Firefox\tools\chocolateyInstall.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null'] exited with '-1'.
2024-10-04 13:56:01,967 3092 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2024-10-04 13:56:02,019 3092 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2024-10-04 13:56:02,086 3092 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\Firefox'
2024-10-04 13:56:02,088 3092 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\Firefox\Firefox.nupkg'
  with checksum 'D6627B0B491FAC68AF3EC5457988C606'
2024-10-04 13:56:02,089 3092 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\Firefox\firefox.nuspec'
  with checksum '2B3312593D093AF49380A80614CEB623'
2024-10-04 13:56:02,090 3092 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\Firefox\tools\chocolateyInstall.ps1'
  with checksum 'C84191433CF018E576364E457D11B152'
2024-10-04 13:56:02,090 3092 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\Firefox\tools\chocolateyUninstall.ps1'
  with checksum '3B18166A8B26ACBA217BC72C55274198'
2024-10-04 13:56:02,091 3092 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\Firefox\tools\helpers.ps1'
  with checksum 'CA5876FC9410D72822211D4F0C66BEBD'
2024-10-04 13:56:02,092 3092 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\Firefox\tools\LanguageChecksums.csv'
  with checksum '0BB3ADB8FDFBB46BFCAFFE7577D423F8'
2024-10-04 13:56:02,105 3092 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\Firefox.130.0.1\.arguments".
2024-10-04 13:56:02,106 3092 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\Firefox.130.0.1\.extra".
2024-10-04 13:56:02,106 3092 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\Firefox.130.0.1\.version".
2024-10-04 13:56:02,107 3092 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\Firefox.130.0.1\.sxs".
2024-10-04 13:56:02,108 3092 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\Firefox.130.0.1\.pin".
2024-10-04 13:56:02,108 3092 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\Firefox.130.0.1\.deploymentLocation".
2024-10-04 13:56:02,112 3092 [DEBUG] - Attempting to delete directory "C:\ProgramData\chocolatey\lib-bad\Firefox".
2024-10-04 13:56:02,116 3092 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
2024-10-04 13:56:02,118 3092 [ERROR] - The install of Firefox was NOT successful.
2024-10-04 13:56:02,121 3092 [ERROR] - Error while running 'C:\ProgramData\chocolatey\lib\Firefox\tools\chocolateyInstall.ps1'.
 See log for details.
2024-10-04 13:56:02,127 3092 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib-bad\Firefox".
2024-10-04 13:56:02,128 3092 [DEBUG] - Moving C:\ProgramData\chocolatey\lib\Firefox to C:\ProgramData\chocolatey\lib-bad\Firefox\130.0.1
2024-10-04 13:56:02,130 3092 [DEBUG] - Moving 'C:\ProgramData\chocolatey\lib\Firefox'
 to 'C:\ProgramData\chocolatey\lib-bad\Firefox\130.0.1'
2024-10-04 13:56:04,155 3092 [WARN ] -
Chocolatey installed 0/1 packages. 1 packages failed.
 See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2024-10-04 13:56:04,157 3092 [INFO ] -
2024-10-04 13:56:04,158 3092 [ERROR] - Failures
2024-10-04 13:56:04,160 3092 [ERROR] -  - Firefox (exited -1) - Error while running 'C:\ProgramData\chocolatey\lib\Firefox\tools\chocolateyInstall.ps1'.
 See log for details.
2024-10-04 13:56:04,163 3092 [WARN ] -
Enjoy using Chocolatey? Explore more amazing features to take your
experience to the next level at
 https://chocolatey.org/compare
2024-10-04 13:56:04,165 3092 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2024-10-04 13:56:04,167 3092 [DEBUG] - Exiting with -1

Anything else?

No response

@JordiRoman JordiRoman added the Bug label Oct 4, 2024
@JordiRoman
Copy link
Author

I think the problem is because download a localized version (LANG=ca)

@pauby
Copy link
Member

pauby commented Oct 4, 2024

@JordiRoman can you update the title to be descriptive? This allows other people to see it directly on in searches for the same issue.

@JordiRoman JordiRoman changed the title firefox firefox checksum error with lang=CA Oct 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants