chocolatey / choco

Chocolatey - the package manager for Windows
https://chocolatey.org
Other
10.04k stars 890 forks source link

Chrome package not installing #3430

Closed Pauls83 closed 2 months ago

Pauls83 commented 2 months ago

Checklist

What You Are Seeing?

The Chrome package seems to have been failing to install for some time now. I just tried to install on a workstation, and it failed with the following:

ERROR: Checksum for 'C:\Users\edi\AppData\Local\Temp\chocolatey\GoogleChrome\124.0.6367.60\googlechromestandaloneenterprise64.msi' did not meet '6924105331effa0a710a27e0ba90088e8bbfd7e3dce953c1cb83662298251113' 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 GoogleChrome was NOT successful. Error while running 'C:\ProgramData\chocolatey\lib\GoogleChrome\tools\chocolateyInstall.ps1'. See log for details.</

When I check the logs, this is what I see at the bottom but I can't figure out why it's failing. Any suggestions? 2024-04-23 10:58:33,187 18888 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\GoogleChrome.124.0.6367.60". 2024-04-23 10:58:33,190 18888 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\GoogleChrome.124.0.6367.60\.files' 2024-04-23 10:58:33,191 18888 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\GoogleChrome.124.0.6367.60\.arguments". 2024-04-23 10:58:33,192 18888 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\GoogleChrome.124.0.6367.60\.extra". 2024-04-23 10:58:33,193 18888 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\GoogleChrome.124.0.6367.60\.version". 2024-04-23 10:58:33,194 18888 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\GoogleChrome.124.0.6367.60\.sxs". 2024-04-23 10:58:33,196 18888 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\GoogleChrome.124.0.6367.60\.pin". 2024-04-23 10:58:33,198 18888 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers... 2024-04-23 10:58:33,199 18888 [ERROR] - The install of GoogleChrome was NOT successful. 2024-04-23 10:58:33,202 18888 [ERROR] - Error while running 'C:\ProgramData\chocolatey\lib\GoogleChrome\tools\chocolateyInstall.ps1'. See log for details. 2024-04-23 10:58:33,206 18888 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib-bad\GoogleChrome". 2024-04-23 10:58:33,206 18888 [DEBUG] - Moving C:\ProgramData\chocolatey\lib\GoogleChrome to C:\ProgramData\chocolatey\lib-bad\GoogleChrome\124.0.6367.60 2024-04-23 10:58:33,209 18888 [DEBUG] - Moving 'C:\ProgramData\chocolatey\lib\GoogleChrome' to 'C:\ProgramData\chocolatey\lib-bad\GoogleChrome\124.0.6367.60' 2024-04-23 10:58:35,231 18888 [WARN ] - Chocolatey installed 0/1 packages. 1 packages failed. See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log). 2024-04-23 10:58:35,233 18888 [INFO ] - 2024-04-23 10:58:35,235 18888 [ERROR] - Failures 2024-04-23 10:58:35,238 18888 [ERROR] - - GoogleChrome (exited -1) - Error while running 'C:\ProgramData\chocolatey\lib\GoogleChrome\tools\chocolateyInstall.ps1'. See log for details. 2024-04-23 10:58:35,239 18888 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers... 2024-04-23 10:58:35,241 18888 [DEBUG] - Exiting with -1

What is Expected?

The issue seems to have started maybe 6 months' ago. Up until that, the Chrome package would install just fine.

How Did You Get This To Happen?

I ran "choco install googlechrome -y" as I would normally

System Details

Installed Packages

PS C:\WINDOWS\system32> choco list
Chocolatey v2.2.2
adobereader 2022.3.20258
chocolatey 2.2.2
chocolatey-compatibility.extension 1.0.0
chocolatey-core.extension 1.4.0
chocolatey-dotnetfx.extension 1.0.1
KB2919355 1.0.20160915
KB2919442 1.0.20160915
microsoft-teams 1.6.0.18681
netfx-4.7.2 4.7.2
office365business 15330.20230.0
procexp 17.5.0
treesizefree 4.6.3
zoom 5.15.5.19404
13 packages installed.
PS C:\WINDOWS\system32>

Output Log

the log is attached

Additional Context

chocolatey.log choco.summary.log

pauby commented 2 months ago

The checkbox on the issue:

I have verified this is not an issue for a specific package.

Has been checked. But this is for a specific package. This is not the correct repository for this issue.

The error is in what you provided:

ERROR: Checksum for 'C:\Users\edi\AppData\Local\Temp\chocolatey\GoogleChrome\124.0.6367.60\googlechromestandaloneenterprise64.msi' did not meet '6924105331effa0a710a27e0ba90088e8bbfd7e3dce953c1cb83662298251113' 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 GoogleChrome was NOT successful.

This is a package issue. Please either use the 'Contact Maintainers' link on the package page or go to the maintainers 'Package Source' and raise an issue.