microsoft / microsoft/winget-pkgs
[Package Issue]: PostgreSQL.PostgreSQL.14
Open
Nobody has claimed this yet.
Error-Hash-Mismatch
Issue-Task
Needs-Triage
Package-Update
- Dominant language
- No language data
- Stars
- 11.1k
- Forks
- 9.7k
- Avg merge
- 1h 32m
- Merged PRs (30d)
- 616
Description
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
"Installer hash does not match" error when trying to update PostgreSQL.PostgreSQL.14 to version 14.20-2
Steps to reproduce
winget upgrade --id PostgreSQL.PostgreSQL.14
Actual behavior
Found PostgreSQL 14 [PostgreSQL.PostgreSQL.14] Version 14.20-2
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://get.enterprisedb.com/postgresql/postgresql-14.20-2-windows-x64.exe
██████████████████████████████ 341 MB / 341 MB
Installer hash does not match; this cannot be overridden when running as admin
Expected behavior
Update without error
Environment
Windows Package Manager v1.12.350
Windows: Windows.Desktop v10.0.26200.7171
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.27.350.0
Screenshots and Logs
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the PostgreSQL.PostgreSQL.14 package manifest from the reported winget upgrade command, then inspect the installer URL and declared hash for version 14.20-2. Confirm the manifest matches the installer and verify that the same upgrade command completes without the hash-mismatch error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- postgresql
- Domain
- databases
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100