microsoft / microsoft/winget-cli

Doesn't list the package despite the package existing

Open
#4,978 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Area-External Issue-Bug msstore
Dominant language
C++
Stars
26.4k
Forks
1.8k
Avg merge
1d 11h
Merged PRs (30d)
15

Description

Brief description of your issue
PS > winget search Xbox
Name                                             Id                            Version Match        Source
-----------------------------------------------------------------------------------------------------------
Xbox Accessories                                 9NBLGGH30XJ3                  Unknown              msstore
Xbox Avatar Editor                               9NBLGGH4V0R3                  Unknown              msstore
Xbox Insider Hub                                 9PLDPG46G47Z                  Unknown              msstore
Razer Controller Setup For Xbox                  9NSXXH05PFRQ                  Unknown              msstore
Xbox Avatars                                     9NBLGGGZ5QDQ                  Unknown              msstore
Xbox One Controller Tester                       9PD348F0FFNQ                  Unknown              msstore
HORI Device Manager for Xbox Series X Series S   9N02W73BVLXV                  Unknown              msstore
Razer Audio Setup for Xbox                       9PBQPKX61MZK                  Unknown              msstore
Xbox Insider Bundle                              9P8QTP44NJGB                  Unknown              msstore
HORI FFB RWD Device Manager for Xbox Series X S… 9MXQWFSZCNC0                  Unknown              msstore
Übersicht Xbox Abwärtskompatibler Spiele         9NC8RD1QQ98L                  Unknown              msstore
Stopwatch Widget for Xbox Gamebar                9N9R537QXK0V                  Unknown              msstore
Wifi-Remote for Xbox                             9NQR5WDT8GN2                  Unknown              msstore
Viewer for Baby Monitor for Kinect (Xbox One Ap… 9MZ2MVDRR1WJ                  Unknown              msstore
The Xbox Handbook                                9NKK1LH6HLQB                  Unknown              msstore
Greenlight                                       UnknownSKL.Greenlight         2.3.1   Tag: xbox    winget
Apache Parquet for .NET                          aloneguid.ParquetDotnet.floor 5.0.1   Tag: xbox    winget
UWPHook                                          brianlima.uwphook             2.14.1  Tag: xbox    winget
xemu                                             xemu-project.xemu             0.7.133 Tag: xbox    winget
Wiliwili                                         xfangfang.Wiliwili            1.4.1   Tag: xbox    winget
ViGEm Bus Driver                                 ViGEm.ViGEmBus                1.22.0  Tag: xbox360 winget

PS > winget search 9mv0b5hzvk9z
Name Id           Version Source
----------------------------------
Xbox 9MV0B5HZVK9Z Unknown msstore
Steps to reproduce
  1. Search for a package.
Expected behavior

In the example above, the Xbox should be at the very top of the list, as it matches the query the best.

Actual behavior

The package is not in the list at all.

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

Windows: Windows.Desktop v10.0.22631.4460
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.24.25200.0

Winget Directories
-----------------------------------------------------------------------------------------------------------
Logs                               %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\Loc…
User Settings                      %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\Loc…
Portable Links Directory (User)    %LOCALAPPDATA%\Microsoft\WinGet\Links
Portable Links Directory (Machine) C:\Program Files\WinGet\Links
Portable Package Root (User)       %LOCALAPPDATA%\Microsoft\WinGet\Packages
Portable Package Root              C:\Program Files\WinGet\Packages
Portable Package Root (x86)        C:\Program Files (x86)\WinGet\Packages
Installer Downloads                %USERPROFILE%\Downloads

Links
---------------------------------------------------------------------------
Privacy Statement   https://aka.ms/winget-privacy
License 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

Admin Setting                             State
--------------------------------------------------
LocalManifestFiles                        Disabled
BypassCertificatePinningForMicrosoftStore Disabled
InstallerHashOverride                     Disabled
LocalArchiveMalwareScanOverride           Disabled
ProxyCommandLineOptions                   Disabled
DefaultProxy                              Disabled

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue with winget search Xbox and winget search 9mv0b5hzvk9 using the reported Windows Package Manager version and environment. Trace the CLI's package search and result-ranking entry points; done means the existing Xbox package appears in the name search and is ranked at the top when it is the best match.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.