microsoft / winget-pkgs

The Microsoft community Windows Package Manager manifest repository
MIT License
8.76k stars 4.57k forks source link

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

Open mcarteramacon opened 1 month ago

mcarteramacon commented 1 month ago

Please confirm these before moving forward

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.

similar-issues-ai[bot] commented 1 month ago

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.

mcarteramacon commented 1 month ago

Appears to be in the process of being addressed as per https://github.com/microsoft/winget-pkgs/issues/181365

stephengillie commented 1 month ago

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

tb-mtg commented 1 month ago

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?