Skip to content

WinGet manifest resolution selects older version (15.1.1) despite newer manifests present #5983

@MrHinsh

Description

@MrHinsh

Relevant area(s)

WinGet CLI

Relevant command(s)

winget install

Brief description of your issue

When executing winget install nkdAgility.AzureDevOpsMigrationTools it returns 15.1.1 when previously it had retuned newer versions.

Indeed 15.1.1 is 28 versions ago and from 2 years ago. Over teh last 2 years the corect versin (the latest) has been consistantly returned unltill recently.

Why would an older version be returned?

For reference this is new behaviour and I was able to install newer versions than 15.1.1 over teh last 2 years.

Steps to reproduce

winget search nkdagility

returns

Name                                   Id                                           Version          Source
------------------------------------------------------------------------------------------------------------
Azure DevOps Migration Tools           nkdAgility.AzureDevOpsMigrationTools         15.1.1           winget
Azure DevOps Migration Tools (Preview) nkdAgility.AzureDevOpsMigrationTools.Preview 15.1.2-Preview.2 winget

Expected behavior

Expected to return version v16.3.3

Actual behavior

Returns version v15.1.1

Environment

Windows Package Manager (Preview) v1.28.90-preview
Copyright (c) Microsoft Corporation. All rights reserved.

Windows: Windows.Desktop v10.0.26220.7535
System Architecture: Arm64
Package: Microsoft.DesktopAppInstaller v1.28.90.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                %USERPROFILE%\Downloads
Configuration Modules              %LOCALAPPDATA%\Microsoft\WinGet\Configuration\Modules

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

    Command-InstallIssue related to WinGet InstallIssue-BugIt either shouldn't be doing this or needs an investigation.

    Type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions