-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
It is difficult to get the app I want if they have the same / similar names. #301
Comments
I'd take a peak at linux package managers and see how they address it, they've been handling this exact problem from the beginning and it's been a non-issue. |
Right, this's the same issue I reported |
At the moment, when installing apps with multiple search results, the following nomenclature is working perfectly:
Note that the appName is Case Sensitive ! |
I also ran into this issue, i think if there is an exact match, winget should take this package and install it |
not only is it hard to install, there is no help from winget at all. a very simple example is trying to install Java. |
Java in particular is a tricky area for any package manager. There are many different providers for JREs and JDKs. If there was only one package with the name, tag, or moniker for Java the Windows Package Manager would be able to install it. One example is |
Here's another example for
Why on Earth is it even matching "Python 2" with "Python 3"?! |
Here is another example, only to add test-cases: winget upgrade --Id Microsoft.ASPNetCore.5-x64 --exact --source winget --silent:
Se encontraron varios paquetes instalados que coinciden con los criterios de entrada. Por favor, vuelve a ajustar la búsqueda.
Nombre Id
---------------------------------------------------------------------------------------
Microsoft ASP.NET Core - Shared Framework (x64) Microsoft.ASPNetCore.5-x64
Microsoft ASP.NET Core 3.1.16 - Shared Framework {f316ce75-c233-4afb-a6e8-2dd7fe72cb8e} |
I would like to choose between the packages winget finds by inputting a number, for example. yay handles this perfectly imo |
This issue was raised on the docs. MicrosoftDocs/windows-dev-docs#2474
Description of the new feature/enhancement
I am having problems installing applications where the name of a package is a subset of another package name. I get this problem when trying to install PowerShell from "winget.exe".
The following is the command I entered for installing PowerShell.
C:\Users\namehere>winget.exe install Microsoft.Powershell
Multiple apps found matching input criteria. Please refine the input.
Name Id Version
Powershell Microsoft.Powershell 7.0.1
PowerShell-Preview Microsoft.PowerShell-Preview 7.1.0-preview.3
I can not find any way to install Powershell (not PowerShell-Preview).
While we have the -e for exact, it is not intuitive.
winget install Microsoft.Powershell --exact
--exact or -e for short
We should noodle on how to intuitively eliminate the "preview" Should this have been moved to the version so that is was a prerelease? Maybe it is just a bug in the version.
The text was updated successfully, but these errors were encountered: