Skip to content

winget upgrade --exact Microsoft.Teams: Multiple installed packages found matching input criteria. #1355

Closed

Description

Brief description of your issue

Unable to use winget upgrade, since it reports

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

  1. winget upgrade
Name                          Id                             Version          Available        Source
-----------------------------------------------------------------------------------------------------
Microsoft Teams               Microsoft.Teams                1.4.0.4167       1.4.00.19572     winget
  1. winget upgrade Microsoft.Teams
Multiple installed packages found matching input criteria. Please refine the input.
Name            Id
-------------------------------
Microsoft Teams Microsoft.Teams
Microsoft Teams Teams
  1. 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
  1. 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
  1. 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
  1. 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.

Environment

[winget --info]
Windows Package Manager v1.0.11692
Windows: Windows.Desktop v10.0.19043.1110
Package: Microsoft.DesktopAppInstaller v1.12.11692.0

Activity

  1. ghost added
    Needs-Triage
    on Aug 9, 2021
  2. jedieaston commented on Aug 9, 2021

    @jedieaston
    Contributor

    This is a duplicate of microsoft/winget-pkgs#18415, here's what the current status is.

  3. added
    Area-External
    and removed
    Needs-Triage
    on Aug 9, 2021
  4. fredrikhr commented on Aug 10, 2021

    @fredrikhr
    Author

    Easton Pillay (@jedieaston)

    This is a duplicate of microsoft/winget-pkgs#18415

    I don't think that is entirely true. As I point out in the issue description:

    This issue is not specific to the Microsoft.Teams package. I observe the exact same faulty behaviour for other packages.

    For example I experience the exact same issue with upgrading the Microsoft.dotnet package for the .NET SDK.

  5. jedieaston commented on Aug 10, 2021

    @jedieaston
    Contributor

    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).

  6. aavdberg commented on Aug 10, 2021

    @aavdberg

    Have the same problem with Java.
    image

  7. aavdberg commented on Aug 10, 2021

    @aavdberg

    image

  8. datatimp commented on Aug 10, 2021

    @datatimp

    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.

    Environment

    [winget --info]
    Windows Package Manager v1.0.11692
    Windows: Windows.Desktop v10.0.19042.1110
    Package: Microsoft.DesktopAppInstaller v1.12.11692.0
    
  9. added
    Issue-Bug
    on Aug 18, 2021
  10. nascentt commented on Sep 13, 2021

    @nascentt
     winget upgrade
    Name                                  Id                              Version     Available   Source
    ----------------------------------------------------------------------------------------------------
    Plexamp                               plex.Plexamp                    3.4.0       3.5.0       winget
    Python 3                              Python.Python.3                 3.9.5150.0  3.9.7150.0  winget
    Remote Desktop                        Microsoft.RemoteDesktopClient   1.2.1672.0  1.2.2130.0  winget
    PS C:\Code\PowerShell> winget upgrade plex.Plexamp
    Multiple installed packages found matching input criteria. Please refine the input.
    Name          Id
    ----------------------------------------------------
    Plexamp       plex.Plexamp
    Plexamp 3.4.0 {46418f0f-cea3-5740-a7e9-a0166db1e7c4}
    PS C:\Code\PowerShell> winget upgrade Python.Python.3
    Multiple installed packages found matching input criteria. Please refine the input.
    Name                  Id
    ------------------------------------------------------------
    Python 3              Python.Python.3
    Python 3.9.5 (32-bit) {708847ae-c2de-49fb-9b85-8d2e9c991358}
    PS C:\Code\PowerShell> winget upgrade Microsoft.RemoteDesktopClient
    Multiple installed packages found matching input criteria. Please refine the input.
    Name           Id
    -----------------------------------------------------
    Remote Desktop Microsoft.RemoteDesktopClient
    Remote Desktop {CD7D52DB-9CB4-49A4-9554-8A229C9F6674}
    
  11. VincentVerweij commented on Sep 13, 2021

    @VincentVerweij

    Hi there,

    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
    

    My winget version is: v1.0.11692

  12. RobThree commented on Sep 15, 2021

    @RobThree

    image
    Same issue here. v1.0.11692

    I am also unable to update Microsoft.dotnet:
    image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Area-ExternalIssue-Bug

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions