microsoft / winget-cli

WinGet is the Windows Package Manager. This project includes a CLI (Command Line Interface), PowerShell modules, and a COM (Component Object Model) API (Application Programming Interface).
https://learn.microsoft.com/windows/package-manager/
MIT License
22.69k stars 1.41k forks source link

winget search gives outdated package version #2633

Closed Shengyis closed 1 year ago

Shengyis commented 1 year ago

Brief description of your issue

winget search xxx gives the outdated result. For example, I can manually check the newest version of "Fndroid.ClashForWindows" on https://github.com/microsoft/winget-pkgs is 0.20.6, Screenshot 2022-10-24 144616 however my search result only returns version 0.20.4 Screenshot 2022-10-24 144437 I guess the database does not update ? My winget source is https://cdn.winget.microsoft.com/cache, already tried winget source reset --force also tried to change source to https://winget.azureedge.net/cache but gives the same issue.

Steps to reproduce

winget search "clash for windows"

Expected behavior

return version 0.20.7

Actual behavior

return outdated version 0.20.4

Environment

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

Windows: Windows.Desktop v10.0.22621.754
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.18.2691.0

Logs: %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir

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
Trenly commented 1 year ago
Shengyis commented 1 year ago

See https://github.com/microsoft/winget-pkgs/issues/86160 And now I can see updates I close the issue.