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

Winget gets confused with remotely similar package names #1654

Closed
abuturabofficial opened this issue Oct 28, 2021 · 5 comments
Closed

Winget gets confused with remotely similar package names #1654

abuturabofficial opened this issue Oct 28, 2021 · 5 comments
Labels
Resolution-Duplicate Issue is a duplicate
Milestone

Comments

@abuturabofficial
Copy link

Brief description of your issue

I was trying to install python3, git and Zoom. I got an error stating "there are multiple programs with the same name, I should refine my input" despite using the exact ID of the required programs.

Steps to reproduce

winget install zoom.zoom

winget install git.git

winget install Python.Python.3

Clipboard01
Clipboard03

Expected behavior

Should successfully install git, python3 and zoom web client

Actual behavior

Multiple packages found matching input criteria. Please refine the input.

Environment

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

Windows: Windows.Desktop v10.0.22000.282
Package: Microsoft.DesktopAppInstaller v1.16.12653.0

Logs: %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir

Links
---------------------------------------------------------------------------
Privacy Statement   https://aka.ms/winget-privacy
Licence Agreement   https://aka.ms/winget-license
Third Party Notices https://aka.ms/winget-3rdPartyNotice
Homepage            https://aka.ms/winget
Windows Store Terms https://www.microsoft.com/en-us/storedocs/terms-of-sale
@ghost ghost added the Needs-Triage Issue need to be triaged label Oct 28, 2021
@Masamune3210
Copy link

Dup #1523

@Mikaela
Copy link

Mikaela commented Oct 28, 2021

The workaround is to use the --id flag, e.g. winget install --id Git.Git, to require case-sensitivity, you can also add a -e after winget. It looks like there is another workaround involving -s winget #1523 (comment).

I am adding this comment here as that issue seems so crowded that the workarounds seem a bit difficult to find for me.

@jedieaston
Copy link
Contributor

Hopefully we should start seeing the fix shortly though. -s winget forces winget to only search the community repo, which gets around the search mess since it's due to the msstore's search being a bit overzealous.

@denelon
Copy link
Contributor

denelon commented Oct 28, 2021

Duplicate of #1523

I've provided some tips for working with multiple sources in the Windows Package Manager 1.1 release blog.

@ghost
Copy link

ghost commented Oct 28, 2021

@sajiddotm 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 Oct 28, 2021
@ghost ghost added Resolution-Duplicate Issue is a duplicate and removed Needs-Triage Issue need to be triaged labels Oct 28, 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

5 participants