Skip to content

Can't search for a specific version of yt-dlp #4721

@Mujtaba0150

Description

@Mujtaba0150

Brief description of your issue

I can't search for other versions of yt-dlp because its ID matches the ID of its nightly version, the only difference is that in the the nightly version has ".nightly" at the end, which winget fails to identify and differentiate and instead tells me that there are multiple packages found matching input criteria but there's no other differentiating factor but the ID.

C:\Users\user>winget search --name yt-dlp --versions
Multiple packages found matching input criteria. Please refine the input.
Name           Id                    Source
-------------------------------------------
yt-dlp         yt-dlp.yt-dlp         winget
yt-dlp-nightly yt-dlp.yt-dlp.nightly winget

C:\Users\user>winget search --id yt-dlp.yt-dlp --versions
Multiple packages found matching input criteria. Please refine the input.
Name           Id                    Source
-------------------------------------------
yt-dlp         yt-dlp.yt-dlp         winget
yt-dlp-nightly yt-dlp.yt-dlp.nightly winget

C:\Users\user>winget search --name yt-dlp --id yt-dlp.yt-dlp --versions
Multiple packages found matching input criteria. Please refine the input.
Name           Id                    Source
-------------------------------------------
yt-dlp         yt-dlp.yt-dlp         winget
yt-dlp-nightly yt-dlp.yt-dlp.nightly winget

Steps to reproduce

Search for available versions of yt-dlp using "winget search --id yt-dlp.yt-dlp --versions"

Expected behavior

I expect it to give me a list of all previous version numbers of yt-dlp.

Actual behavior

It says "Multiple packages found matching input criteria. Please refine the input." whereas there's no other factor except the ID and the name that can be used to differentiate the yt-dlp package from the nightly package

Environment

C:\Users\mujta>winget --info
Windows Package Manager v1.8.1911
Copyright (c) Microsoft Corporation. All rights reserved.

Windows: Windows.Desktop v10.0.19045.4717
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.23.1911.0

Winget Directories
-----------------------------------------------------------------------------------------------------------------------
Logs                               %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\Diag…
User Settings                      %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\sett…
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                D:\User\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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions