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]: Microsoft.Office Hash mismatch #181598

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

[Package Issue]: Microsoft.Office Hash mismatch #181598

mcarteramacon opened this issue Oct 11, 2024 · 4 comments
Labels
Error-Hash-Mismatch The InstallerSHA256 Hash specified in the manifest doesn't match with the InstallerURL hash Help-Wanted This is a good candidate work item from the community. Package-Update This package needs to be updated

Comments

@mcarteramacon
Copy link

mcarteramacon commented Oct 11, 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

"Microsoft.Office" WinGet package is downloading version 16.0.18129.20030 of "setup.exe" (InstallerSha256: D6F6FD3FE8EBA8CCEE31A270BA3FC6B6A7A1DE58F4C9B45F40A9F322A84F8B1F)

but WinGet is checking the hash for version 16.0.17830.20162 (InstallerSha256: 335932E68D7A8BFA4FA00BBCDEA09256ED6ECAB2BEDD640E2580B0B43E3B7744)

Which results with an "Installer Hash does not match" error.

Steps to reproduce

winget install -e --id Microsoft.Office

Actual behavior

"Installer hash does not match."

Expected behavior

Installation completing successfully.

Environment

Windows Package Manager v1.9.2507
Copyright (c) Microsoft Corporation. All rights reserved.

Windows: Windows.Desktop v10.0.22631.2861
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.24.2507.0

Winget Directories

Logs %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\Diag…
User Settings %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\sett…
Portable Links Directory (User) %LOCALAPPDATA%\Microsoft\WinGet\Links
Portable Links Directory (Machine) C:\Program Files\WinGet\Links
Portable Package Root (User) %LOCALAPPDATA%\Microsoft\WinGet\Packages
Portable Package Root C:\Program Files\WinGet\Packages
Portable Package Root (x86) C:\Program Files (x86)\WinGet\Packages
Installer Downloads %USERPROFILE%\Downloads

Links

Privacy Statement https://aka.ms/winget-privacy
License Agreement https://aka.ms/winget-license
Third Party Notices https://aka.ms/winget-3rdPartyNotice
Homepage https://aka.ms/winget
Windows Store Terms https://www.microsoft.com/en-us/storedocs/terms-of-sale

Admin Setting State

LocalManifestFiles Disabled
BypassCertificatePinningForMicrosoftStore Disabled
InstallerHashOverride Disabled
LocalArchiveMalwareScanOverride Disabled
ProxyCommandLineOptions Disabled
DefaultProxy Disabled

Screenshots and Logs

Image
WinGet-2024-10-11-15-04-42.023.log

Edit: WinGet-2024-10-11-15-54-46.987.log
Uploading a fresh log in case the "[CLI ] Failed to remove installer file. Reason: remove: The process cannot access the file because it is being used by another process." line in the original log was throwing anyone. New log doesn't have this but still reproduces the same hash mismatch issue.

@mcarteramacon mcarteramacon added the Issue-Bug It either shouldn't be doing this or needs an investigation. label Oct 11, 2024
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 and removed Issue-Bug It either shouldn't be doing this or needs an investigation. labels Oct 11, 2024
@mcarteramacon
Copy link
Author

Appears to be in the process of being addressed as per #181365

@stephengillie stephengillie removed the Needs-Triage This work item needs to be triaged by a member of the core team. label Oct 14, 2024
@stephengillie
Copy link
Collaborator

I wasn't able to find PRs to update this package.

@stephengillie stephengillie added the Help-Wanted This is a good candidate work item from the community. label Oct 14, 2024
@tb-mtg
Copy link

tb-mtg commented Oct 14, 2024

I have been using winget upgrade --id Microsoft.Office with no problems until today.

Now I get the following message: No installed package found matching input criteria.

Has this been removed, or is there an alternative id or method to install/upgrade Microsoft 365 in winget?

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 Help-Wanted This is a good candidate work item from the community. Package-Update This package needs to be updated
Projects
None yet
Development

No branches or pull requests

3 participants