upgrade
should be more verbose on failure
#1583
Labels
Issue-Feature
This is a feature request for the Windows Package Manager client.
Description of the new feature/enhancement
When I run
winget upgrade
3 packages are shown. So I runwinget upgrade --all
, but 2 package are never mentioned in the output and the 3th fails silently.Note that there are 3 packages available for upgrade.
Note that Edge and Powertoys are not mentioned here and that Teams is mentioned as installed successfully. But when I run
winget upgrade
again it outputs exactly the same as above. So apparently Teams didn't get upgraded as well.When I dig into the log there are explanations for all the failures, but there are never shown to the user. I've provided the errors from the log file below.
Note that this issue is not about these specific errors below (they are explainable and fixable), but about the fact that the they not show to user when
winget upgrade --all
is ran.FYI the error for Edge (never installed it through winget, came with Win10):
FYI the error for Teams (installed by Office 365, most likely caused by microsoft/winget-pkgs#18415):
And later on in that some log:
FYI the error for PowerToys (installed manually before I discovered winget):
The text was updated successfully, but these errors were encountered: