microsoft / microsoft/winget-cli

Issue with Version Detection for Discord and PostgreSQL

Open
#4,257 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Area-External Issue-Docs
Dominant language
C++
Stars
26.4k
Forks
1.8k
Avg merge
1d 11h
Merged PRs (30d)
15

Description

Brief description of your issue

Hello winget-cli Team,

I am reaching out to report an issue I’ve encountered with the winget tool. Despite having the latest versions of Discord and PostgreSQL installed on my system, winget is not recognizing these versions correctly and continues to suggest that updates are available. Below are the details of the installed versions and the output from winget:

PostgreSQL is updated to version 16.2, confirmed via psql --version.
Discord is updated to version Stable 273507 (17db3f8), Host 1.0.9035 x86 (44780), confirmed within the Discord application.
However, when running winget upgrade, it shows that the following updates are available:

PostgreSQL from version 16.1 to 16.2
Discord from version 1.0.9030 to 1.0.9035
I have already tried winget source update and restarted my system multiple times, but the issue persists.

It appears that winget may not be updating its local package version cache after applications have been updated by other means. This might lead to persistent update notifications for the latest versions of packages that are already up to date.

Please find the attached screenshot for Discord’s version details and the command line output showing the discrepancy.

I appreciate any assistance you can provide to resolve this issue.

Best regards,
Miluše Gaigerová

image
issue_psql_discord.docx
image

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the reported winget upgrade output after checking PostgreSQL with psql --version and Discord's in-app version details. Compare the installed versions with the versions shown by winget after winget source update; done means current installations are no longer reported as available upgrades.

Written by the indexing model from the issue text.

Assessment

Tech stack
postgresql
Domain
cli
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.