Please confirm these before moving forward
Category of the issue
Installation issue.
Brief description of your issue
Discord upgrade with winget upgrade -h --all fails because it requires a explicit targeting.
Upgrading with explicit targeting fails with "Installer hash does not match"
Steps to reproduce
Run winget upgrade -h --all, then run winget upgrade -h Discord.Discord.
Actual behavior
After the first command the upgrade is not executed and I get the following message:
The following packages have an upgrade available, but require explicit targeting for upgrade:
Name Id Version Available Source
-------------------------------------------------
Discord Discord.Discord 1.0.9012 1.0.9030 winget
After the second command the upgrade is not executed and I get the following error:
Found Discord [Discord.Discord] Version 1.0.9030
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://discord.com/api/downloads/distributions/app/installers/latest?channel=stable&platform=win&arch=x86
██████████████████████████████ 91.7 MB / 91.7 MB
Installer hash does not match; this cannot be overridden when running as admin
Expected behavior
The upgrade succeeds after the first command, or at least after the second.
Environment
Windows Package Manager v1.6.3482
Copyright (c) Microsoft Corporation. All rights reserved.
Windows: Windows.Desktop v10.0.22631.3085
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.21.3482.0
Screenshots and Logs
WinGet-2024-01-29-11-47-13.285.log
WinGet-2024-01-29-11-47-20.241.log
Please confirm these before moving forward
Category of the issue
Installation issue.
Brief description of your issue
Discord upgrade with
winget upgrade -h --allfails because it requires a explicit targeting.Upgrading with explicit targeting fails with "Installer hash does not match"
Steps to reproduce
Run
winget upgrade -h --all, then runwinget upgrade -h Discord.Discord.Actual behavior
After the first command the upgrade is not executed and I get the following message:
After the second command the upgrade is not executed and I get the following error:
Expected behavior
The upgrade succeeds after the first command, or at least after the second.
Environment
Screenshots and Logs
WinGet-2024-01-29-11-47-13.285.log
WinGet-2024-01-29-11-47-20.241.log