WinGet - Failed to install as Administrator (Hash Mismatch)
See original GitHub issueSystem information:
- Operating system: Windows 11 (Build 22000.376)
- DBeaver version: 21.3.0.202111281534 (Not Latest)
- Additional extensions: N/A
Connection specification:
- Database name and version: N/A
- Driver name: N/A
- Do you use tunnels or proxies (SSH, SOCKS, etc)?: N/A
Describe the problem you’re observing:
When attempting to install / update DBeaver using winget
command line utility, an error is encountered. The downloaded installer hash does not match the hash provided in DBeaver’s winget
repository entry.
Steps to reproduce, if exist:
- Launch PowerShell / Windows Terminal as Administrator.
- Execute
winget upgrade --id "dbeaver.dbeaver"
(or, in my case,winget upgrade --all
) winget
downloads the installer successfully.- Installation is skipped because the installer hash did not match, and
winget
will not bypass hash checks when running as Administrator.
Include any warning/errors/backtraces from the logs
Here is a screenshot from the output of winget
:
Issue Analytics
- State:
- Created 2 years ago
- Reactions:2
- Comments:6 (1 by maintainers)
Top Results From Across the Web
Cannot override installer hash as admin. Even if EnableLua ...
Yes, when I use --force I get the following error still: "Installer hash does not match; this cannot be overridden when running as...
Read more >Use the winget tool to install and manage applications
The winget command line tool enables developers to discover, install, upgrade, remove and configure applications on Windows computers.
Read more >Windows package manager installation error - Support
the windows package manager offers a mp3tag installation but that is not working quite right C:\Users\typ_xxi\Downloads>winget install ...
Read more >Install Uninstall Apps From Windows Package Manager Using ...
Let's try to understand Uninstallation Error with WinGet Tool on Windows PCs. The WinGet uninstall command doesn't seem to work on Windows 10 ......
Read more >Need help installing WinGet : r/MDT - Reddit
I ran my script post sequence and winget is then registered but I still get an immediate install hash error. Could be group...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@ooobii Thank you for the report, this happened because we implemented a hotfix after a release but the version number remained the same. This should be fixed now, because version 21.3.3 was released
I will use this for the time being - hash checks in
choco
match! Thanks, @mattcargile 👍🏼But, the problem with
winget
still remains and should be corrected.