winget upgrade --all
should not list upgrades it's not going to apply
#3664
Labels
Area-Output
Issue related to CLI output
Command-Upgrade
Issue related to WinGet Upgrade
Issue-Bug
It either shouldn't be doing this or needs an investigation.
Brief description of your issue
Under some circumstances, no real updates to an installed application are available.
For instance, no 32-bit update might exist for a given application.
(in my repro case, 3 applications are in that case)
In that case,
winget upgrade --all
should not list that updates are available for those applications.Alternatively, a specific message should be displayed.
Steps to reproduce
Run
winget upgrade --all
on a 32-bit Windows machine with Git.Git version 2.39.2 installed.Expected behavior
winget upgrade --all
should not indicate that Git.Git can be upgraded to version 2.42.0.2, as there is no 32-bit version 2.42.0.2.Actual behavior
Here are the logs:
WinGet-2023-09-23-16-07-08.169.log.zip
Environment
The text was updated successfully, but these errors were encountered: