microsoft / microsoft/winget-cli
Winget not recognising an update is installed, and installs it every time I run update
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
Winget list
Microsoft .NET SDK 9.0.204 (x64) Microsoft.DotNet.SDK.9 9.0.204 9.0.300 winget
Microsoft .NET SDK 9.0.300 (x64) Microsoft.DotNet.SDK.9 9.0.300 winget
Every time use winget upgrade --all try to install Microsoft .NET SDK 9.0.300 (x64), but it is already installed.
Please, fix this bug!.
Steps to reproduce
Install Microsoft .NET SDK 9.0.204 (x64)
Upgrade with winget to 9.0.300
And infinite loop
Expected behavior
Detect intalled new version
Actual behavior
Not detected installed version
Environment
Winget info: Windows v1.10.390
Windows: Windows.Desktop v10.0.26100.4061
Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.25.390.0
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
Reproduce the issue with winget list and winget upgrade --all using Microsoft.DotNet.SDK.9, starting from the reported 9.0.204 to 9.0.300 upgrade. Compare the installed and offered versions in the upgrade decision; done means winget upgrade --all no longer repeatedly offers or installs 9.0.300 after it is installed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100