Skip to content
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

Multiple installed packages found matching input criteria. Please refine the input #1784

Closed
Jason1269 opened this issue Dec 8, 2021 · 3 comments
Labels
Resolution-Duplicate Issue is a duplicate
Milestone

Comments

@Jason1269
Copy link

Jason1269 commented Dec 8, 2021

Brief description of your issue

Unable to upgrade package when there are more than one with similar names installed on the system even after the other package has been upgraded.

Packages with upgrade issues:

  • Microsoft.VC++2015-2022Redist-x86
  • Microsoft.VC++2013Redist-x86

No command combination with -e --name or --id worked

Steps to reproduce

Using package Microsoft.VC++2015-2022Redist-x86 as example

PS C:> winget --version

v1.1.12986

PS C:> winget upgrade

Name                                         Id                                Version          Available        Source
-----------------------------------------------------------------------------------------------------------------------
Git                                          Git.Git                           2.31.1           2.34.1           winget
Notepad++                                    Notepad++.Notepad++               7.9.5            8.1.9.2          winget
Microsoft OneDrive                           Microsoft.OneDrive                21.160.0808.0002 21.220.1024.0005 winget
Microsoft Visual C++ 2013 Redistributable (… Microsoft.VC++2013Redist-x64      12.0.30501.0     12.0.40664.0     winget
Eclipse Temurin JDK with Hotspot 8           EclipseAdoptium.Temurin.8         8.0.302.8        8.0.312.7        winget
Microsoft Build of OpenJDK with Hotspot 11   Microsoft.OpenJDK.11              11.0.12.7        11.0.13.8        winget
Microsoft Visual C++ 2015-2022 Redistributa… Microsoft.VC++2015-2022Redist-x86 14.30.30704.0    14.31.30818.0    winget
Microsoft Visual C++ 2013 Redistributable (… Microsoft.VC++2013Redist-x86      12.0.40660.0     12.0.40664.0     winget
Microsoft .NET SDK                           Microsoft.dotnet                  5.4.321.52708    6.1.21.52711     winget
Python 3                                     Python.Python.3                   3.9.4150.0       3.10.150.0       winget
Google Chrome                                Google.Chrome                     96.0.4664.45     96.0.4664.93     winget
Microsoft .NET SDK                           Microsoft.dotnet                  5.3.321.37723    6.1.21.52711     winget
Microsoft Visual C++ 2013 Redistributable (… Microsoft.VC++2013Redist-x64      12.0.40660.0     12.0.40664.0     winget
Microsoft Visual C++ 2013 Redistributable (… Microsoft.VC++2013Redist-x86      12.0.30501.0     12.0.40664.0     winget

PS C:> winget upgrade --id Microsoft.VC++2015-2022Redist-x86

Multiple installed packages found matching input criteria. Please refine the input.
Name                                                               Id
---------------------------------------------------------------------------------------------------------
Microsoft Visual C++ 2015-2022 Redistributable (x86)               Microsoft.VC++2015-2022Redist-x86
Microsoft Visual C++ 2015-2022 Redistributable (x64) - 14.31.30818 {69becc62-c3d6-4307-9fc5-738d92cdf886}

PS C:> winget upgrade -e --id Microsoft.VC++2015-2022Redist-x86

Multiple installed packages found matching input criteria. Please refine the input.
Name                                                               Id
---------------------------------------------------------------------------------------------------------
Microsoft Visual C++ 2015-2022 Redistributable (x86)               Microsoft.VC++2015-2022Redist-x86
Microsoft Visual C++ 2015-2022 Redistributable (x64) - 14.31.30818 {69becc62-c3d6-4307-9fc5-738d92cdf886}

PS C:> winget upgrade --name "Microsoft Visual C++ 2015-2022 Redistributable (x86)"

Multiple installed packages found matching input criteria. Please refine the input.
Name                                                               Id
---------------------------------------------------------------------------------------------------------
Microsoft Visual C++ 2015-2022 Redistributable (x86)               Microsoft.VC++2015-2022Redist-x86
Microsoft Visual C++ 2015-2022 Redistributable (x64) - 14.31.30818 {69becc62-c3d6-4307-9fc5-738d92cdf886}

PS C:> winget upgrade -e --name "Microsoft Visual C++ 2015-2022 Redistributable (x86)"

Multiple installed packages found matching input criteria. Please refine the input.
Name                                                               Id
---------------------------------------------------------------------------------------------------------
Microsoft Visual C++ 2015-2022 Redistributable (x86)               Microsoft.VC++2015-2022Redist-x86
Microsoft Visual C++ 2015-2022 Redistributable (x64) - 14.31.30818 {69becc62-c3d6-4307-9fc5-738d92cdf886}

Expected behavior

Either one of the command below should have successfully upgraded Microsoft.VC++2015-2022Redist-x86

winget upgrade --id Microsoft.VC++2015-2022Redist-x86

winget upgrade -e --id Microsoft.VC++2015-2022Redist-x86

winget upgrade -e "Microsoft Visual C++ 2015-2022 Redistributable (x86)"

winget upgrade -e --name "Microsoft Visual C++ 2015-2022 Redistributable (x86)"

Actual behavior

Returns message stating there are multiple packages that match criteria with a list of similarly named packages, even when using ID and the IDs of the packages are different

Multiple installed packages found matching input criteria. Please refine the input.
Name                                                               Id
---------------------------------------------------------------------------------------------------------
Microsoft Visual C++ 2015-2022 Redistributable (x86)               Microsoft.VC++2015-2022Redist-x86
Microsoft Visual C++ 2015-2022 Redistributable (x64) - 14.31.30818 {69becc62-c3d6-4307-9fc5-738d92cdf886}

Environment

Windows Package Manager v1.1.12986
Copyright (c) Microsoft Corporation. All rights reserved.

Windows: Windows.Desktop v10.0.19042.1348
Package: Microsoft.DesktopAppInstaller v1.16.12986.0
@ghost ghost added the Needs-Triage Issue need to be triaged label Dec 8, 2021
@Toby-Broom
Copy link

I also can repo this

@denelon
Copy link
Contributor

denelon commented Dec 8, 2021

Duplicate of #1413

@denelon denelon marked this as a duplicate of #1413 Dec 8, 2021
@ghost
Copy link

ghost commented Dec 8, 2021

@Jason1269 we've identified this Issue as a duplicate of another one that already exists. This specific instance is being closed in favor of tracking the concern over on the referenced Issue. Thanks for your report! Be sure to add your 👍 to the other issue to help raise the priority.

@ghost ghost closed this as completed Dec 8, 2021
@ghost ghost added Resolution-Duplicate Issue is a duplicate and removed Needs-Triage Issue need to be triaged labels Dec 8, 2021
@denelon denelon added this to the v1.3-Client milestone Jun 21, 2022
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Resolution-Duplicate Issue is a duplicate
Projects
None yet
Development

No branches or pull requests

3 participants