microsoft / microsoft/winget-cli
Issue with Version Detection for Discord and PostgreSQL
Nobody has claimed this yet.
- 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á
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 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