microsoft / microsoft/winget-cli
Old version of Android Studio is showing as installed when using "winget upgrade" command.
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
When running "winget upgrade" command, older Android Studio version shows up as installed despite latest already been installed. Which results in the reinstallation of the same version of the already installed software when using "winget upgrade --all" command.
Terminal:
Installed version:
Steps to reproduce
- Run winget upgrade
- Run winget upgrade --all
Expected behavior
It should not upgrade or show any software which has latest version already installed, when running the commands "winget upgrade" or "winget upgrade --all".
Actual behavior
It shows older version of the software under "Version", and installed version under "Available" when running "winget upgrade" command.
Resulting in downloading and reinstalling of the already installed version when running "winget upgrade -all" command.
Environment
Windows Package Manager VI. 5.2201
Windows: Windows. Desktop VIO .0.22631.2129
Package: Microsoft. DesktopAppInsta11er VI. 20.2201.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
Start by reproducing the issue with winget upgrade and winget upgrade --all using the Android Studio installation described in the report. Compare the installed and available versions; done means an already-current Android Studio version is absent from upgrade results and is not reinstalled.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100