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.Sysinternals.BGInfo - Installer hash does not match #229523

Closed
2 tasks done
janegilring opened this issue Feb 14, 2025 · 2 comments · Fixed by #229527
Closed
2 tasks done

[Package Issue]: Microsoft.Sysinternals.BGInfo - Installer hash does not match #229523

janegilring opened this issue Feb 14, 2025 · 2 comments · Fixed by #229527
Labels
Error-Hash-Mismatch The InstallerSHA256 Hash specified in the manifest doesn't match with the InstallerURL hash In-PR Package-Update This package needs to be updated

Comments

@janegilring
Copy link

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

Installation issue.

Brief description of your issue

Trying to install Microsoft.Sysinternals.BGInfo returns an error.

Steps to reproduce

winget install Microsoft.Sysinternals.BGInfo

Actual behavior

Found BGInfo [Microsoft.Sysinternals.BGInfo] Version 4.32
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://live.sysinternals.com/Bginfo.exe
  ██████████████████████████████  2.09 MB / 2.09 MB
Installer hash does not match.

Expected behavior

Microsoft.Sysinternals.BGInfo should be installed

Environment

winget --info
Windows Package Manager v1.9.25200
Copyright (c) Microsoft Corporation. All rights reserved.

Windows: Windows.Desktop v10.0.26100.2894
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.24.25200.0

Winget Directories
-------------------------------------------------------------------------------------------------------------------------------
Logs                               %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir
User Settings                      %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\settings.json
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

No response

@janegilring janegilring added the Issue-Bug It either shouldn't be doing this or needs an investigation. label Feb 14, 2025
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 Feb 14, 2025
@microsoft-github-policy-service microsoft-github-policy-service bot added In-PR and removed Needs-Triage This work item needs to be triaged by a member of the core team. labels Feb 14, 2025
@Dragon1573
Copy link
Contributor

Manually verified ❤

22:06:47 D:\...\winget-pkgs  [master ≡] 13ms pwsh$ winget download -e --id Microsoft.Sysinternals.BGInfo -s winget --skip-dependencies                             
已找到 BGInfo [Microsoft.Sysinternals.BGInfo] 版本 4.32
此应用程序由其所有者授权给你。
Microsoft 对第三方程序包概不负责,也不向第三方程序包授予任何许可证。
已跳过依赖项。
正在下载 https://live.sysinternals.com/Bginfo.exe
  ██████████████████████████████  2.09 MB / 2.09 MB
安装程序哈希不匹配;若要重写此检查,请使用 --ignore-security-hash

22:21:39 D:\...\winget-pkgs  [master ≡] 51ms pwsh$ winget download -e --id Microsoft.Sysinternals.BGInfo -s winget --skip-dependencies --ignore-security-hash
已找到 BGInfo [Microsoft.Sysinternals.BGInfo] 版本 4.32
此应用程序由其所有者授权给你。
Microsoft 对第三方程序包概不负责,也不向第三方程序包授予任何许可证。
已跳过依赖项。
正在下载 https://live.sysinternals.com/Bginfo.exe
  ██████████████████████████████  2.09 MB / 2.09 MB
安装程序哈希不匹配;由于 --ignore-security-hash 而继续进行
已下载安装程序: C:\Users\Dragon1573\Downloads\Microsoft.Sysinternals.BGInfo_4.32\BGInfo_4.32_X64_portable_en-US.exe

22:22:01 D:\...\winget-pkgs  [master ≡] 10.259s pwsh$ komac analyse C:\Users\Dragon1573\Downloads\Microsoft.Sysinternals.BGInfo_4.32\BGInfo_4.32_X64_portable_en-US.exe
Architecture: neutral
InstallerType: portable
InstallerUrl: https://example.com/
InstallerSha256: 599B391980A5C9CBADD6C70BA3D5A5258DB8B9D87C68B3FE587D9DC84EFFDF63

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 In-PR Package-Update This package needs to be updated
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants