You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
"No installed package found matching input criteria." when attempting to update #2686
when i run winget upgrade, several programs have updates. for some, such as mozilla thunderbird, attempting to run the update causes a "No installed package found matching input criteria." error.
if i uninstall the program and reinstall using winget, it works find however.
example command:
winget upgrade Mozilla.Thunderbird
Steps to reproduce
use command winget upgrade Mozilla.Thunderbird on version 102.4.1. it might appear.
Expected behavior
winget begins to upgrade the application
Actual behavior
winget throws a error "No installed package found matching input criteria."
Environment
Windows Package Manager v1.3.2691
Copyright (c) Microsoft Corporation. All rights reserved.
Windows: Windows.Desktop v10.0.19045.2251
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.18.2691.0
Logs: %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir
current affected programs:
Mozilla Thunderbird
(Mozilla.Thunderbird)
Reacted by Pentadome, Arshaan ABH, Zane D. Purvis, Abdul Haseeb, John Hennig, Serg, Hans5958, Kuangda He, Saptam Bakshi, Henry and 14 more
having that problem for a long time.
winget upgrade lists a package. but then it doesnt upgarde, neiter by using --all nor by using any variant of its name.
after a couple of days it usually works.
PS C:\Users\Michael> winget upgrade
Name ID Version Verfügbar Quelle
------------------------------------------------------------------------------
LibreOffice 7.4.2.1 TheDocumentFoundation.LibreOffice 7.4.2.1 7.4.2.3 winget
1 Aktualisierungen verfügbar.
1 Paket hat eine Versionsnummer, die nicht bestimmt werden kann. Wenn Sie „--include-unknown“ verwenden, werden möglicherweise weitere Ergebnisse angezeigt.
PS C:\Users\Michael> winget upgrade Libreoffice
Es wurden keine anwendbaren Aktualisierungen gefunden.
PS C:\Users\Michael> winget upgrade TheDocumentFoundation.LibreOffice
Es wurden keine anwendbaren Aktualisierungen gefunden.
PS C:\Users\Michael> winget upgrade --all
Name ID Version Verfügbar Quelle
------------------------------------------------------------------------------
LibreOffice 7.4.2.1 TheDocumentFoundation.LibreOffice 7.4.2.1 7.4.2.3 winget
1 Aktualisierungen verfügbar.
1 Paket hat eine Versionsnummer, die nicht bestimmt werden kann. Wenn Sie „--include-unknown“ verwenden, werden möglicherweise weitere Ergebnisse angezeigt.
PS C:\Users\Michael>
I have same issue with a couple of packages. In the beginning I was able to solve the issue by uninstalling the package and install it again with Winget but after a couple of updates it fails again
In addition, I just discovered my PuTTY was removed - is it possible that, while failing to install the new one, winget first did successfully remove my existing version? If so, that's very much not cool...
In addition, I just discovered my PuTTY was removed - is it possible that, while failing to install the new one, winget first did successfully remove my existing version? If so, that's very much not cool...
Note: installing the 0.78 or later Windows installer will not automatically uninstall 0.77 or earlier, due to a change we've made to work around a bug. We recommend uninstalling the old version first, if possible. If both end up installed, uninstalling both and then re-installing the new version will fix things up.
In addition, I just discovered my PuTTY was removed - is it possible that, while failing to install the new one, winget first did successfully remove my existing version? If so, that's very much not cool...
Note: installing the 0.78 or later Windows installer will not automatically uninstall 0.77 or earlier, due to a change we've made to work around a bug. We recommend uninstalling the old version first, if possible. If both end up installed, uninstalling both and then re-installing the new version will fix things up.
Ah, I see, thanks. So it's just a temp issue, right?
That depends on the publisher. If future installers perform "in-place" upgrade instead of requiring the version to be manually uninstalled first, the behavior will be duly updated in the winget's manifest.
i've found another package that has the same issue, the microsoft visual C++ redistributable 2013, specifically the x64 version has the issue, not the x86 version which updated fine. can we have a developer explain why this issue is appearing?
The matching logic is based on comparing what values are written to the registry (it's the same thing that powers what you see in Windows Apps & Features), and what metadata is listed in manifests in all configured sources. Sometimes the installer isn't reporting things consistently to the registry and in other cases, the manifest doesn't have all the variations of what is reported.
WinGet looks at package family name, product code, upgrade code, display name, and display version. Depending on what is available, heuristics are used to determine the "best match" when there isn't an exact match.
As the Visual C++ Redistributable packages can be installed side-by-side for different versions and different architectures, it's been more challenging to capture all the correct metadata for all the variations. We are incrementally making improvements with both the manifests and the client (matching logic and upgrade/install logic), but clearly there is still more work to be done.
I tried to use that modifier but I wasn't able to upgrade Microsoft.PowerShell, can you elaborate the command you used for the upgrade to work?
Copy the full name and version from the name field of the list command. As it contains spaces, don't forget to put it in quotes. In my case it was:
winget update --name "PowerShell 7.4.6.0-x64"
This seems to recognize the correct package, which does not work with id. In my case, this leads to a more helpful error message:
A newer version was found, but the install technology is different from the current version installed. Please uninstall the package and install the newer version.
This is weird because I can see it's installed over winget. But I will try to uninstall. I uninstalled and reinstalled and now it shows as PowerShell 7-x64 in the winget list without any specific version number. Maybe this will fix future update issues ...
Reacted by Sayak Mukhopadhyay, Kyle Davis, artdedeco, Yue JIN, tom, Octávio Richter, Christian Svensson, Xeaver, Christopher Kwiatkowski and szybinfover
The matching logic is based on comparing what values are written to the registry (it's the same thing that powers what you see in Windows Apps & Features), and what metadata is listed in manifests in all configured sources. Sometimes the installer isn't reporting things consistently to the registry and in other cases, the manifest doesn't have all the variations of what is reported.
WinGet looks at package family name, product code, upgrade code, display name, and display version. Depending on what is available, heuristics are used to determine the "best match" when there isn't an exact match.
As the Visual C++ Redistributable packages can be installed side-by-side for different versions and different architectures, it's been more challenging to capture all the correct metadata for all the variations. We are incrementally making improvements with both the manifests and the client (matching logic and upgrade/install logic), but clearly there is still more work to be done.
There are a couple of classes of issues. One is when the installer type has changed. For the most part, I think we've isolated that path and resolved it.
Another is when it's an MSI based installer and we aren't getting a good match for the "Product Code" or "Upgrade Code".
Another is when the package is installed in either "user" or "machine" scope and the upgrade is defaulting to the opposite scope, or the user has a requirement in their settings which doesn't match the installed scope or the default scope specified in the manifest.
I just discovered Winget recently and was so excited to have an app to install and keep things up to date. It made setting up a new PC much easier than doing things the old way one app at a time. Then I was bummed to find out shortly thereafter that a large number of apps were consistently failing to update. I've spent an hour or so researching and from what I've gathered, it is very odd to me that these issues seem to have been going on for years and affecting a large number of users, I would have expected them to have been fixed by now. I'm sure there's a good reason they haven't but I'm curious where these issue lie on the roadmap and what's being done to address them. Is there an open Issue tracking the overall problem including the various classes of root causes at play? Are these issues something that the WinGet team has to fix, or is it issues that individual publishers need to fix, or both? Is there anything that end users can do to contribute, such as filing winget-cli bug reports for each individual app that fails to upgrade? Or filing bug reports directly with the individual app's publishers instead? Or if nothing else, are there specific existing Issues that we should +1 to help to quantify the scale of impact?
I guess what I really want to know is if this is actively being worked on and likely to be fixed in the near future or if there is really no concerted overall effort/committment to fix. I much prefer to use a native solution but if there's no end in sight for these issues I might need to cut my losses and try another package manager for a while until these update issues are addressed.
2024-08-15 16:58:30.300 [REPO] Adding manifest for [ARP\Machine\X64\VLC media player, 3.0.20] at relative path []
2024-08-15 16:58:30.300 [REPO] Did not find an Id { ARP\Machine\X64\VLC media player }
The application was discovered by name as installed, and a corresponding ID was not found before adding it to the list of installed packages that winget is tracking. winget matches that application to a specific one from its online source when displaying it in the upgrade list, but when going to actually upgrade/reinstall the application, it can't find the application by its ID in your registry.
So, it seems to me, winget is gambling on the fact that it found the right package when it is displaying information in its upgrade list, but it is erring on the cautious side when it goes to actually upgrade the application on your system when you specified it by ID in the command and you don't specifically have that ID discovered on your system itself. When you specify to upgrade by name, it is satisfied when it finds an application on your system by that name.
As to all the problems with discovering and upgrading applications from different user/machine scopes or with/without elevated privileges, I would like to figure out a way to understand that more clearly.
Experiencing the same issue with Git. winget upgrade --id work around is working.
The problem with the --id "workaround" (which IMO it isn't a workaround, but the correct way of doing it) is you can't string multiple --ids in a single command, so you're stuck running winget upgrade over and over. Shold stop being a problem when #5501 gets implemented... whenever that happens.
I have the same issue, even with uninstall...
If you run winget list --id GodotEngine.GodotEngine.Mono you get a match;
if you do winget uninstall --id GodotEngine.GodotEngine.Mono --all you'll get
the error of this issue ("No installed package found matching input criteria.").
BTW, it's the same with or without --id.
In my case it's for GodotEngine.GodotEngine.Mono.
Here's the console output.
PS> winget list --id GodotEngine.GodotEngine.Mono
Nome Id Versione Disponibile Origine
-----------------------------------------------------------------------------
Godot Engine (Mono) GodotEngine.GodotEngine.Mono 4.5.14.6 winget
PS> winget uninstall --id GodotEngine.GodotEngine.Mono --all
Non è stato trovato alcun pacchetto installato corrispondente ai criteri di input.
PS> winget update --id GodotEngine.GodotEngine.Mono
Non è stato trovato alcun pacchetto installato corrispondente ai criteri di input.
I left out some other commands I tried; they threw errors due to the different packages available. Finally, I checked that PowerShell's version was the up-to-date release: winget show Microsoft.PowerShell
Additionally, UniGetUI is useful as it has a nice list view showing you the sources, ids, and names of packages, when you have multiple sources.
Terminal and PowerShell can be at variance too. When I launched Terminal it used to show more flavor text than PowerShell (like "try the latest PowerShell). I notice that after resetting and repairing Terminal (from the App Settings, or Apps -> Installed apps -> Terminal), it now shows the same simple string "PowerShell 7.6.0" as launching PowerShell; the only difference being that Terminal launches in the user directory and PowerShell launches in System32.
Activity
TheITCloudGuy commentedon Nov 10, 2022
Same issue here.
Location: UK

tranquilcarbon commentedon Nov 11, 2022
perhaps this is a issue with something in the UK, does winget use region specific servers or something like that?
additionally, i have attached a screenshot, in case this helps.

LukasDotEU commentedon Nov 19, 2022
Same issue here in Germany since more than a week i think.

(basically the same just with German language)
since i am in Germany it is probably not an issue regarding something in the UK
szlevi commentedon Nov 19, 2022
Yeah, I don't think it is country-specific - I'm in NYC and it's completely broken here too:
Not only that, but it also mis-detects the version to be 7.2.5.0 when I actually have 7.3.0 installed for some time now...
irzyxel commentedon Nov 26, 2022
having that problem for a long time.
winget upgrade lists a package. but then it doesnt upgarde, neiter by using --all nor by using any variant of its name.
after a couple of days it usually works.
SamaelAmbrona commentedon Nov 28, 2022
I have same issue with a couple of packages. In the beginning I was able to solve the issue by uninstalling the package and install it again with Winget but after a couple of updates it fails again
szlevi commentedon Nov 28, 2022
In addition, I just discovered my PuTTY was removed - is it possible that, while failing to install the new one, winget first did successfully remove my existing version? If so, that's very much not cool...
mdanish-kh commentedon Nov 28, 2022
szlevi Please note that this was done intentionally to align with the publisher's changelog:
Please see microsoft/winget-pkgs#87021
szlevi commentedon Nov 28, 2022
Ah, I see, thanks. So it's just a temp issue, right?
mdanish-kh commentedon Nov 28, 2022
That depends on the publisher. If future installers perform "in-place" upgrade instead of requiring the version to be manually uninstalled first, the behavior will be duly updated in the winget's manifest.
tranquilcarbon commentedon Nov 30, 2022
i've found another package that has the same issue, the microsoft visual C++ redistributable 2013, specifically the x64 version has the issue, not the x86 version which updated fine. can we have a developer explain why this issue is appearing?

denelon commentedon Dec 1, 2022
The matching logic is based on comparing what values are written to the registry (it's the same thing that powers what you see in Windows Apps & Features), and what metadata is listed in manifests in all configured sources. Sometimes the installer isn't reporting things consistently to the registry and in other cases, the manifest doesn't have all the variations of what is reported.
WinGet looks at package family name, product code, upgrade code, display name, and display version. Depending on what is available, heuristics are used to determine the "best match" when there isn't an exact match.
As the Visual C++ Redistributable packages can be installed side-by-side for different versions and different architectures, it's been more challenging to capture all the correct metadata for all the variations. We are incrementally making improvements with both the manifests and the client (matching logic and upgrade/install logic), but clearly there is still more work to be done.
35 remaining items
SayakMukhopadhyay commentedon Jan 13, 2025
Uninstalling and reset the source didn't work for me. But if instead of using
--idI use the--name, the upgrade works.ZeeroMX commentedon Feb 3, 2025
I tried to use that modifier but I wasn't able to upgrade Microsoft.PowerShell, can you elaborate the command you used for the upgrade to work?
codekoenig commentedon Feb 4, 2025
Copy the full name and version from the name field of the list command. As it contains spaces, don't forget to put it in quotes. In my case it was:
winget update --name "PowerShell 7.4.6.0-x64"This seems to recognize the correct package, which does not work with id. In my case, this leads to a more helpful error message:
A newer version was found, but the install technology is different from the current version installed. Please uninstall the package and install the newer version.This is weird because I can see it's installed over winget.
But I will try to uninstall.I uninstalled and reinstalled and now it shows asPowerShell 7-x64in the winget list without any specific version number. Maybe this will fix future update issues ...wapenshaw commentedon Feb 15, 2025
I am pretty sure I installed pnpm, nvm-windows and Papercut with winget and I still get this
I've also tried
winget source reset --forcesuggested in #2426 (comment)and its the same after.
agedburd commentedon Feb 24, 2025
Experiencing the same issue with Git.
winget upgrade --idwork around is working.amadou-6e commentedon Mar 6, 2025
Issue like this happening for years is not normal
oapy123 commentedon Apr 3, 2025
Demitrius Nelon (@denelon) or anyone else in the know
I just discovered Winget recently and was so excited to have an app to install and keep things up to date. It made setting up a new PC much easier than doing things the old way one app at a time. Then I was bummed to find out shortly thereafter that a large number of apps were consistently failing to update. I've spent an hour or so researching and from what I've gathered, it is very odd to me that these issues seem to have been going on for years and affecting a large number of users, I would have expected them to have been fixed by now. I'm sure there's a good reason they haven't but I'm curious where these issue lie on the roadmap and what's being done to address them. Is there an open Issue tracking the overall problem including the various classes of root causes at play? Are these issues something that the WinGet team has to fix, or is it issues that individual publishers need to fix, or both? Is there anything that end users can do to contribute, such as filing winget-cli bug reports for each individual app that fails to upgrade? Or filing bug reports directly with the individual app's publishers instead? Or if nothing else, are there specific existing Issues that we should +1 to help to quantify the scale of impact?
I guess what I really want to know is if this is actively being worked on and likely to be fixed in the near future or if there is really no concerted overall effort/committment to fix. I much prefer to use a native solution but if there's no end in sight for these issues I might need to cut my losses and try another package manager for a while until these update issues are addressed.
jessiewestlake commentedon Apr 18, 2025
Most of these issues seem to be related to using
--idversus using--nameand I noticed why that is while looking through the verbose logs from Olav Rønnestad Birkeland (@o-l-a-v) in issuecomment-2291473749.The application was discovered by name as installed, and a corresponding ID was not found before adding it to the list of installed packages that winget is tracking. winget matches that application to a specific one from its online source when displaying it in the upgrade list, but when going to actually upgrade/reinstall the application, it can't find the application by its ID in your registry.
So, it seems to me, winget is gambling on the fact that it found the right package when it is displaying information in its upgrade list, but it is erring on the cautious side when it goes to actually upgrade the application on your system when you specified it by ID in the command and you don't specifically have that ID discovered on your system itself. When you specify to upgrade by name, it is satisfied when it finds an application on your system by that name.
As to all the problems with discovering and upgrading applications from different user/machine scopes or with/without elevated privileges, I would like to figure out a way to understand that more clearly.
github-account1111 commentedon Jul 18, 2025
The problem with the
--id"workaround" (which IMO it isn't a workaround, but the correct way of doing it) is you can't string multiple--ids in a single command, so you're stuck runningwinget upgradeover and over. Shold stop being a problem when #5501 gets implemented... whenever that happens.tesfabpel commentedon Feb 20, 2026
I have the same issue, even with
uninstall...If you run
winget list --id GodotEngine.GodotEngine.Monoyou get a match;if you do
winget uninstall --id GodotEngine.GodotEngine.Mono --allyou'll getthe error of this issue ("No installed package found matching input criteria.").
BTW, it's the same with or without
--id.In my case it's for
GodotEngine.GodotEngine.Mono.Here's the console output.
EdHerdman commentedon Apr 20, 2026
Since PowerShell was mentioned, I thought I'd document my steps to get PowerShell updated with winget:
I closed Terminal (Windows PowerShell) and used cmd (Administrator Command Prompt) for the first two commands.
I left out some other commands I tried; they threw errors due to the different packages available. Finally, I checked that PowerShell's version was the up-to-date release:
winget show Microsoft.PowerShellEdHerdman commentedon Apr 20, 2026
Additionally, UniGetUI is useful as it has a nice list view showing you the sources, ids, and names of packages, when you have multiple sources.
Terminal and PowerShell can be at variance too. When I launched Terminal it used to show more flavor text than PowerShell (like "try the latest PowerShell). I notice that after resetting and repairing Terminal (from the App Settings, or Apps -> Installed apps -> Terminal), it now shows the same simple string "PowerShell 7.6.0" as launching PowerShell; the only difference being that Terminal launches in the user directory and PowerShell launches in System32.
masterflitzer commentedon Apr 20, 2026
only if you start an admin session, which is not what you should use by default, a regular user session will start in your home dir
denelon commentedon Apr 29, 2026
Potentially Correlated Issues
The following open issues appear to share the same underlying root cause (package matching logic failing to re-find installed packages):
winget upgrade --allgivesNo installed package found matching input criteria.#2426No installed package found matching input criteria.(--name/--id behaviour) #3093winget updatereports aHashicorp.Terraformupdate is available, butwinget update Hashicorp.Terraformsays none is found #4761pnpm.pnpmvia the exact ID does not work #4751Note
These potentially correlated issues were identified using GitHub Copilot CLI as a research tool.