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

[Package Issue]: Google.Chrome – Installer Hash Mismatch #183878

Open
chris-nicholls22 opened this issue Oct 17, 2024 · 4 comments
Open

[Package Issue]: Google.Chrome – Installer Hash Mismatch #183878

chris-nicholls22 opened this issue Oct 17, 2024 · 4 comments
Labels
Error-Hash-Mismatch The InstallerSHA256 Hash specified in the manifest doesn't match with the InstallerURL hash Package-Update This package needs to be updated

Comments

@chris-nicholls22
Copy link

chris-nicholls22 commented Oct 17, 2024

### Please confirm these before moving forward

I have searched for my issue and not found a work-in-progress/duplicate/resolved issue.

I have not been informed if the issue is resolved in a preview version of the winget client.
### Category of the issue
Installer hash mismatch.

Brief description of your issue

The installation of Google.Chrome fails due to an installer hash mismatch. This error occurs while running the installation via WinGet.

Steps to reproduce

winget install --id "Google.Chrome" --source "winget" --silent --accept-package-agreements --accept-source-agreements --verbose-logs

Actual behavior

PS C:\Users\XXX> winget install --id=Google.Chrome --source="winget" --silent --accept-package-agreements --accept-source-agreements --verbose-logs
Found Google Chrome [Google.Chrome] Version 129.0.6668.90
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
Downloading https://dl.google.com/dl/chrome/install/googlechromestandaloneenterprise64.msi
██████████████████████████████ 118 MB / 118 MB
Installer hash does not match; this cannot be overridden when running as admin
PS C:\Users\XXX>

Expected behavior

The package should install without any hash mismatch issues.

Environment

2024-10-17 16:34:33.506 [CORE] WinGet, version [1.8.1911], activity [{268E35D8-2EC7-4185-9F0B-48BA38528B50}]
2024-10-17 16:34:33.507 [CORE] OS: Windows.Desktop v10.0.22631.4249
2024-10-17 16:34:33.507 [CORE] Command line Args: "C:\Program Files\WindowsApps\Microsoft.DesktopAppInstaller_1.23.1911.0_x64__8wekyb3d8bbwe\winget.exe"

Screenshots and Logs

winget search Google.Chrome

Name Id Version Source

Google Chrome Google.Chrome 129.0.6668.90 winget

searching the Manifests area shows the version 130.0.6723.59

Copy link

We've found some similar issues:

If any of the above are duplicates, please consider closing this issue out and adding additional context in the original issue.

Note: You can give me feedback by 👍 or 👎 this comment.

@microsoft-github-policy-service microsoft-github-policy-service bot added Needs-Triage This work item needs to be triaged by a member of the core team. Package-Update This package needs to be updated Error-Hash-Mismatch The InstallerSHA256 Hash specified in the manifest doesn't match with the InstallerURL hash labels Oct 17, 2024
@stephengillie stephengillie removed the Needs-Triage This work item needs to be triaged by a member of the core team. label Oct 18, 2024
@SpecterShell
Copy link
Contributor

The current version of Google Chrome in the WinGet repo is 130.0.6723.59. You may need to update your source cache through winget source update.

@chris-nicholls22
Copy link
Author

Tried this but still issue exists

PS C:\Users\XXX> winget source update
Updating all sources...
Updating source: msstore...
Done
Updating source: winget...
████████████████████ 0%
Done
PS C:\Users\XXX> winget install --id=Google.Chrome --source="winget" --silent --accept-package-agreements --accept-source-agreements --verbose-logs
Found Google Chrome [Google.Chrome] Version 129.0.6668.90
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
Downloading https://dl.google.com/dl/chrome/install/googlechromestandaloneenterprise64.msi
██████████████████████████████ 118 MB / 118 MB
Installer hash does not match; this cannot be overridden when running as admin

@SpecterShell
Copy link
Contributor

That's weird. It works normally on my end:

❯ winget install --id=Google.Chrome --source="winget" --silent --accept-package-agreements --accept-source-agreements --verbose-logs
Found Google Chrome [Google.Chrome] Version 130.0.6723.59
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
Downloading https://dl.google.com/dl/chrome/install/googlechromestandaloneenterprise64.msi
  ██████████████████████████████   118 MB /  118 MB
Successfully verified installer hash

It might be a CDN issue from the WinGet source server.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Error-Hash-Mismatch The InstallerSHA256 Hash specified in the manifest doesn't match with the InstallerURL hash Package-Update This package needs to be updated
Projects
None yet
Development

No branches or pull requests

3 participants