Skip to content

Winget upgrade finds out-of-date packages. #6725

Backlog

Description

@n2b12

Relevant area(s)

WinGet CLI

Relevant command(s)

winget upgrade

Brief description of your issue

Running built into windows winget upgrade returns versions of packages that are already outdated.

PS C:\ProgramData\WingetPortable> (Get-Command winget).source
C:\Users\Administrator\AppData\Local\Microsoft\WindowsApps\winget.exe
PS C:\ProgramData\WingetPortable> winget upgrade
Name                         Id                     Version          Available           Source
-----------------------------------------------------------------------------------------------
App Installer                Microsoft.AppInstaller 1.29.379.0       1.29.380            winget
Microsoft Teams              Microsoft.Teams        26032.208.4399.5 26198.304.4946.9672 winget
Mozilla Firefox ESR (x64 pl) Mozilla.Firefox.ESR.pl 140.8.0          153.4.0             winget
Neovim                       Neovim.Neovim          0.12.4           0.12.6              winget
4 upgrades available.

Running the same command, with winget downloaded from github releases (on some machines even the same version of winget can produce different output) and extracted with 7zip returns different results:

PS C:\ProgramData\WingetPortable> .\winget.exe upgrade
Name                         Id                            Version          Available           Source
------------------------------------------------------------------------------------------------------
App Installer                Microsoft.AppInstaller        1.29.379.0       1.29.380            winget
Google Chrome                Google.Chrome                 158.0.8127.37    158.0.8127.108      winget
Microsoft Teams              Microsoft.Teams               26032.208.4399.5 26304.1207.5384.858 winget
Mozilla Firefox ESR (x64 pl) Mozilla.Firefox.ESR.pl        140.8.0          153.8.0             winget
WindowsAppRuntime.2          Microsoft.WindowsAppRuntime.2 2.4.0.0          2.7.0               winget
5 upgrades available.

As can be seen, the discrepancy goes even further than outdated versions - extracted winget didn't find Neovim on machine in question.

Running winget source update doesn't change anything.

Issue has been spotted on most of the machines in my organization, rendering winget as unreliable tool for managing software.

Steps to reproduce

Run winget upgrade on affected machine, then run & path\to\winget\portable\winget.exe upgrade and compare outputs

Expected behavior

Winget reliably finds latest packages, or at least is capable of updating its internal db (akin to apt update on Debian derived Linuxes)

Actual behavior

As above

Environment

PS C:\ProgramData\WingetPortable> winget --info
Windows Package Manager v1.29.380
© 2026 Microsoft. All rights reserved.

Windows: Windows.Desktop v10.0.26200.9974
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.29.379.0

WinGet Directories
-------------------------------------------------------------------------------------------------------------------------------
Logs                               %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir
User Settings                      %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\settings.json
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
ConfigurationProcessorPath                Disabled
DefaultProxy                              Disabled
PS C:\ProgramData\WingetPortable> Test-Path "$env:LOCALAPPDATA\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\settings.json"
False
PS C:\ProgramData\WingetPortable> .\winget.exe --info
Windows Package Manager v1.29.380
© 2026 Microsoft. All rights reserved.

Windows: Windows.Desktop v10.0.26200.9974
System Architecture: X64

WinGet Directories
------------------------------------------------------------------------------------------------------
Logs                               %TEMP%\WinGet\defaultState
User Settings                      %LOCALAPPDATA%\Microsoft\WinGet\Settings\defaultState\settings.json
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
ConfigurationProcessorPath                Disabled
DefaultProxy                              Disabled

Activity

  1. added
    Issue-Bug
    on Dec 2, 2026
  2. added theissue type on Dec 2, 2026
  3. added
    Needs-Triage
    on Dec 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Command-UpgradeIssue-BugNeeds-Triage

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions