-
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-CLI Issue - winget upgrade Not Showing Results #5202
Comments
I downgraded to the most recent previous version, and the error still occurs. I just installed the latest release, and also getting the same error. In Reliability Monitor I get the following: Source Summary Date Status Description Problem signature Files that help describe the problem (some files may no longer be available) Extra information about the problem What's weird is that if I run an upgrade command directly such as @denelon as of right now, I can't run any winget upgrade commands or see what's available to update. Variations of It seems there has been an increase in bugs lately, so trying to be as helpful and provide as much as I can for you! |
Thank you for using Feedback Hub, it made it much easier to find the issue via the crash reporting infrastructure. Yes, this bug has been around for a while, but for some reason has only recently started happening. It is dependent on both your local state and the various available package data. I'm not sure of the exact package(s) that could be leading to this for you, but you may be less likely to hit the issue if you provide a specific source to update from, like It is strange that it started hitting the crash without anything new being installed on your machine. The crash report that I ultimately dug into (which was not yours) to find the bug indicated |
Fixes #5202 ## Change When moving the primary package to a new location, update the index so any future attempts to reference it target the correct location.
Fixes microsoft#5202 ## Change When moving the primary package to a new location, update the index so any future attempts to reference it target the correct location.
Here is a list of all the commands I ran from the last
I'm guessing npm or pnpm wouldn't cause issues, but I did update to the latest version of Python 3.13 at command 2879 in this timeline. Could that be the issue as I know that there is an app execution alias, so maybe a compatibility issue with the latest version? Interesting you mention different versions installed as I did have multiple versions of CodingWondersSoftware.DISMTools installed, but uninstalling didn't fix it. Also interesting is the Powershell issue. I had installed the latest PS Preview and enabled Windows Update and ever since then, Programs and Features would show two different versions. Uninstalled other version, still winget didn't work. I could uninstall PS and reinstall to see if that helps? |
Could it be my configuration by any chance? Here it is:
|
No, I don't think your config is to blame. We should be able to get a build out this week with the fix for this issue. |
Brief description of your issue
When running:
winget source update --verbose && winget upgrade --include-unknown --include-pinned --verbose
the command initially shows available upgrades. However, after subsequent executions, no results are displayed, even though no updates were performed in between. Running winget source update --verbose does not resolve the issue.
Updates were not performed in between running "winget upgrade" commands, so they should still appear - however they do not.
Extensive logs and system diagnostics can be found on the Microsoft Feedback Hub here: https://aka.ms/AAug4te
Steps to reproduce
winget source update --verbose && winget upgrade --include-unknown --include-pinned --verbose
Expected behavior
winget upgrade
should consistently display available upgrades whenever updates are detected.Actual behavior
After one or two successful runs, winget upgrade intermittently fails to list any upgradeable packages, even though they should still be available.
Environment
The text was updated successfully, but these errors were encountered: