-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
winget upgrade --all
gets cancelled if winget
needs to be updated
#4283
Comments
This comment was marked as off-topic.
This comment was marked as off-topic.
After running the command, what are the results of |
I hate to say, but I can't repro right now since |
Repro'ed today:
@denelon is there anything you want me to check before running here are today's logs up to the repro: wingetlogs20240330.zip |
I encountered the same problem today on my work laptop. At the same time, on the other laptop, everything upgraded fine and |
PS> winget update --all
|
PS> winget update --include-unknown "Microsoft.AppInstaller"
|
Brief description of your issue
If
winget upgrade --all
is run andwinget
needs upgrading, the whole command is aborted.Steps to reproduce
On a system where
winget
v1.22.10582.0 is install, runwinget upgrade --all
.The upgrade process will start, then abort after reaching
winget
.Expected behavior
winget
should either update itself last, or defer the update after the whole command has been run. Or even better: update itself first, then proceed with the rest of the updates.Actual behavior
Environment
The text was updated successfully, but these errors were encountered: