microsoft / microsoft/winget-cli
--uninstall-previous doesn't seem to be working
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 26.4k
- Forks
- 1.8k
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 15
Description
There is already an --uninstall-previous option which was intended to cover this case, but last time I tried it, it didn't seem to work for this case. I was going to retest that the other day and file an issue if it failed, but at some point I already upgraded PowerShell to 7.4.1 so I'll wait for the next release and if this issue happens again, follow through on that investigation.
(Unless someone else looks into it first, of course...)
Originally posted by @TBBle in https://github.com/microsoft/winget-cli/discussions/2155#discussioncomment-8974299
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 reviewing the --uninstall-previous option documentation and the related issue #2727, then retest the behavior when upgrading PowerShell after the next release. Compare the observed result with the option's intended behavior and document a reproducible failure or confirm that the case works.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, powershell
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100