-
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 does not work anymore #4261
Comments
I am having the exact same issue. Since at least a week back. Perhaps two. winget ---version Windows 10 Enterprise |
Same here. winget --version Windows 11 Professional |
I resolved a similar issue to yours by resetting Winget using the following command, executed in administrator mode. Perhaps it could be of assistance to you as well: |
Take a look at #4219 (comment) Using the release mentioned by denelon in that issue should help |
Hello @MarcoJanse, We've identified this as a duplicate of another issue or PR that already exists. This specific instance is being closed in favor of the linked issue. Please add your 👍 to the other issue to raise its priority. Thanks for your contribution! Template: msftbot/duplicate/closed |
@alikecat commented on Mar 12, 2024, 9:05 AM EDT:
Thank you, this fixed it for me. |
Brief description of your issue
For over more than a week now
winget upgrade --all
shows multiple apps that can be upgraded, but does not invoke the upgrade process.It's seems that only the
--all
parameter no longer works, I can target specific updates by usingwinget upgrade <packageName>
and that works fine.I was running winget v.1.8.532-preview, while I never deliberately installed a preview version.
I had a look on the releases page and noticed Windows Package Manager 1.7.10582, as latest version and no listing for 1.8.532-preview.
I've downgraded manually to the 1.7.10582, version but the issue is still there.
My environment:
Below is some more detail of my experience.
If I look in the winget logs, I see the following for each package:
That last line with
Terminating context: 0x8a15002b at C:\__w\1\s\external\pkg\src\AppInstallerCLICore\Workflows\UpdateFlow.cpp:bc
is occuring after every package update.Steps to reproduce
Invoke
winget upgrade --all
Expected behavior
All listed packages with a newer version should be upgraded with this command, unless pinned.
Actual behavior
Nothing happens in the console, just like when executing
winget upgrade
without the--all
parameter.Targeting a specific package does work though, for example:
Environment
The text was updated successfully, but these errors were encountered: