microsoft / microsoft/winget-cli
`winget upgrade` V `winget upgrade --all` produces different sets of packages
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 upgrade V winget upgrade --all produces different sets of packages.
Steps to reproduce
Here I run winget upgrade then winget upgrade --all ....
PS C:\Users\john> winget upgrade
Name Id Version Available Source
-------------------------------------------------------------------------------
IrfanView IrfanSkiljan.IrfanView 4.51 4.58 winget
Microsoft Edge Microsoft.Edge 97.0.1072.55 97.0.1072.62 winget
PSpad editor JanFiala.PSpad 4.6.0.2700 5.0.6.589 winget
VeraCrypt IDRIX.VeraCrypt 1.22 1.25.4 winget
Yubico Authenticator Yubico.Authenticator 3.1.0 5.1.0 winget
Signal OpenWhisperSystems.Signal 1.27.4 5.27.1 winget
Hue Sync Philips.HueSync 1.6.1.12 1.7.0.19 winget
7 upgrades available.
PS C:\Users\john> winget upgrade --all
Found IrfanView [IrfanSkiljan.IrfanView] Version 4.58
Found PSpad editor [JanFiala.PSpad] Version 5.0.6.589
Found Signal [OpenWhisperSystems.Signal] Version 5.27.1
Found [IrfanSkiljan.IrfanView] Version 4.58
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licences to, third-party packages.
Downloading https://download.betanews.com/download/967963863-1/iview458_x64_setup.exe
██████████████████████████████ 3.56 MB / 3.56 MB
Successfully verified installer hash
Starting package install...
Successfully installed
.... [Other install output omitted]
Expected behavior
The same list of packages.
Actual behavior
Observe that the following packages are listed under winget upgrade but not winget upgrade --all
- Microsoft Edge
- VeraCrypt
- Yubico Authenticator
- Hue Sync
Environment
Windows Package Manager v1.1.13405
Windows: Windows.Desktop v10.0.19043.1466
Package: Microsoft.DesktopAppInstaller v1.16.13405.0
Notes
This issue is separate to #752 (even if it turns out to have a common cause). I also experience #752.
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 difference between winget upgrade and winget upgrade --all using the commands and environment details in the issue. Compare the package sets, including Microsoft Edge, VeraCrypt, Yubico Authenticator, and Hue Sync. Done means both commands report the same upgradeable packages, with behavior verified against the reported case.
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