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
Multiple installed packages found matching input criteria. Please refine the input.
Even when using either/both the --exact or --id options, winget is still not able to disambiguate.
Steps to reproduce
winget upgrade
Name Id Version Available Source
-----------------------------------------------------------------------------------------------------
Microsoft Teams Microsoft.Teams 1.4.0.4167 1.4.00.19572 winget
winget upgrade Microsoft.Teams
Multiple installed packages found matching input criteria. Please refine the input.
Name Id
-------------------------------
Microsoft Teams Microsoft.Teams
Microsoft Teams Teams
winget upgrade --id Microsoft.Teams
Multiple installed packages found matching input criteria. Please refine the input.
Name Id
-------------------------------
Microsoft Teams Microsoft.Teams
Microsoft Teams Teams
winget upgrade --exact Microsoft.Teams
Multiple installed packages found matching input criteria. Please refine the input.
Name Id
-------------------------------
Microsoft Teams Microsoft.Teams
Microsoft Teams Teams
winget upgrade --exact --id Microsoft.Teams
Multiple installed packages found matching input criteria. Please refine the input.
Name Id
-------------------------------
Microsoft Teams Microsoft.Teams
Microsoft Teams Teams
winget upgrade --id --exact Microsoft.Teams
No installed package found matching input criteria.
Expected behavior
Either step 3, 4 or 5 should be able to disambiguate the input criteria.
Actual behavior
There is seemingly no way to disambiguate. There is no way for me to upgrade the package using winget.
Notes
This issue is not specific to the Microsoft.Teams package. I observe the exact same faulty behaviour for other packages.
Reacted by Nicola Delfino, Dan Anstis, Anil Desai, Vladislav Grechannik, Johan Ringman, Matthew Parsons, mark-lambe-dhsc, Darwin Freitag and Václav Brožík
Microsoft.dotnet is intentional as lots of people install multiple versions of the .NET SDK. What other apps are you experiencing this with? (We're trying to track them because a lot of them will be resolved by the underlying issues mentioned in my linked comment above being fixed).
This same behavior happened with the Slack package for me.
Issue
winget would report Slack as needing an upgrade even if winget upgrade was run. Running winget install Slack installed an entirely new instance of the program with the most current version #.
At this point, I had two versions existing on the machine, just as Fredrik Høisæther Rasch (@fredrikhr) does in his Microsoft Teams example. Furthermore, winget list --name Slack produced a list view identical to the one Fredrik Høisæther Rasch (@fredrikhr) shows, with one instance having a full ID and one having none. I had to uninstall the older, original instance through ARP as winget kept giving me the
Multiple installed packages found
error when trying to run winget uninstall --id SlackTechnologies.Slack, even though only the original instance had that ID.
I am having the same issue as the author.
Did try winget upgrade Microsoft.Teams
Got the following output:
Multiple installed packages found matching input criteria. Please refine the input.
Name Id
----------------------------------------------------
Microsoft Teams Microsoft.Teams
Microsoft Teams Teams
I specifically looked at the case, since I've seen in some issue that it is case sensitive.
And I also did try with the -e (--exact) flag, but had no luck with that either.
Another thing that I tried is this command: winget upgrade --id Microsoft.Teams --version 1.3.0.9267
Although I am sure about the ID, I am not quite sure whether I should put my current version in the --version flag or the to-be version (took my installed version as that seemed obvious to me to look for a specific version on my computer).
This is what the winget upgrade command is showing me:
Name Id Version Available Source
----------------------------------------------------------------------------------------------------
Microsoft Teams Microsoft.Teams 1.3.0.9267 1.4.00.22472 winget
Activity
jedieaston commentedon Aug 9, 2021
This is a duplicate of microsoft/winget-pkgs#18415, here's what the current status is.
fredrikhr commentedon Aug 10, 2021
Easton Pillay (@jedieaston)
I don't think that is entirely true. As I point out in the issue description:
For example I experience the exact same issue with upgrading the
Microsoft.dotnetpackage for the .NET SDK.jedieaston commentedon Aug 10, 2021
Microsoft.dotnetis intentional as lots of people install multiple versions of the .NET SDK. What other apps are you experiencing this with? (We're trying to track them because a lot of them will be resolved by the underlying issues mentioned in my linked comment above being fixed).aavdberg commentedon Aug 10, 2021
Have the same problem with Java.

aavdberg commentedon Aug 10, 2021
datatimp commentedon Aug 10, 2021
This same behavior happened with the Slack package for me.
Issue
winget would report Slack as needing an upgrade even if
winget upgradewas run. Runningwinget install Slackinstalled an entirely new instance of the program with the most current version #.At this point, I had two versions existing on the machine, just as Fredrik Høisæther Rasch (@fredrikhr) does in his Microsoft Teams example. Furthermore,
winget list --name Slackproduced a list view identical to the one Fredrik Høisæther Rasch (@fredrikhr) shows, with one instance having a full ID and one having none. I had to uninstall the older, original instance through ARP as winget kept giving me theerror when trying to run
winget uninstall --id SlackTechnologies.Slack, even though only the original instance had that ID.Environment
nascentt commentedon Sep 13, 2021
VincentVerweij commentedon Sep 13, 2021
Hi there,
I am having the same issue as the author.
Did try
winget upgrade Microsoft.TeamsGot the following output:
I specifically looked at the case, since I've seen in some issue that it is case sensitive.
And I also did try with the -e (--exact) flag, but had no luck with that either.
Another thing that I tried is this command:
winget upgrade --id Microsoft.Teams --version 1.3.0.9267Although I am sure about the ID, I am not quite sure whether I should put my current version in the --version flag or the to-be version (took my installed version as that seemed obvious to me to look for a specific version on my computer).
This is what the
winget upgradecommand is showing me:My winget version is: v1.0.11692
RobThree commentedon Sep 15, 2021
Same issue here. v1.0.11692
I am also unable to update

Microsoft.dotnet: