-
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
Specifying a package doesnt help when multiple packages are found #1568
Comments
I just noticed winget found two different packages, even though the input was the same?! |
I'm now seeing this behaviour also with my Kiwix JS package. I have defined a moniker "kiwix", and I expect it to be unique. Until very recently, a user could type A naïve user will not know how to proceed. If I have defined a moniker, I expect it to take precedence over an arbitrary match in the MS Store. The matching here is arbitrary because it doesn't pick up the other packages we have in MS Store which are "Kiwix JS", "Wikivoyage by Kiwix" and "WikiMed by Kiwix". These packages are correctly picked up by Note that |
This issue seems to be similar to #1523, but not exactly the same. It may have the same cause. |
This is mostly because the Microsoft Store's search isn't good (#1523 is the right issue, I believe). You can bypass it by adding |
That worked for me. I still think choosing which package you want to select should be much easier (for example, letting the user choose a number corresponding with the packages found) edit: the possibility of getting different outputs with the same input is also a problem imo |
Installing by moniker and installing by product ID are now completely broken! This is not a good situation. Do I have to find ways to alert users that they must add |
Issue is already well known and is being worked on behind the scenes. For now either just remove the msstore source or add --id to the install command and specify the exact id, kiwix.kiwixJS.electron in this case |
@Masamune3210 If it's well known, then it should have an issue here tracking it and explaining the proposed fix. As recently as end of September, monikers were working perfectly for I've had to spend time this afternoon updating the install instructions in places where I'd advertised that the app could be installed with a simple |
The fix is in the backend, nothing to fix on public-facing code, and has been mentioned in the countless issues mimicking the issue of failed or improper search results. Yes, it could be communicated better but it has been mentioned multiple times in multiple issues. One of the main issues explaining the issue and that the devs are aware and are working on a fix is even mentioned in this exact thread. You cant fix people not searching before they complain. This project is still really new and is not completely set in stone yet so issues due to shifts are a thing |
Duplicate of #1523 We're working on several issues related to the "msstore" source: |
@leochras 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. |
Brief description of your issue
When I have to specify a package name when installing, winget asks for the package name over and over again.
Steps to reproduce
winget install <package>
firefox is just an exampleExpected behavior
Just install the specified package?!
When I try to install a package and don't know the exact package name there should be an input choice (1,2,3) for which one I want to install, like with many Linux package managers.
Actual behavior
Asks again, which package I want to install, even if the package name is unique!
Environment
The text was updated successfully, but these errors were encountered: