Skip to content

winget list node shows correctly, but winget list and winget update can't match the winget packages. #6132

Open

Description

@leic4u

Relevant area(s)

WinGet CLI

Relevant command(s)

winget list

Brief description of your issue

winget list

Image

winget update

Image Image

Steps to reproduce

run winget install nodejs.nodejs (also Kingsoft.WPSOffice)
run winget list
run winget list node

Expected behavior

winget list shows packages correctly, just like winget list node.

Actual behavior

winget list shows pakcages is diffrent with winget list node

Environment

winget --info
Windows 程序包管理器 v1.28.190
版权所有 (C) Microsoft Corporation。保留所有权利。

Windows: Windows.Desktop v10.0.26200.8117
系统体系结构: X64
软件包: Microsoft.DesktopAppInstaller v1.28.190.0

Winget 目录
-------------------------------------------------------------------------------------------------------------------
日志                   %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir
用户设置               %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\settings.json
可移植链接目录(用户)   %LOCALAPPDATA%\Microsoft\WinGet\Links
可移植链接目录(计算机) C:\Program Files\WinGet\Links
可移植包根目录(用户)   %LOCALAPPDATA%\Microsoft\WinGet\Packages
可移植包根目录         C:\Program Files\WinGet\Packages
可移植包根目录 (x86)   C:\Program Files (x86)\WinGet\Packages
安装程序下载           %USERPROFILE%\Downloads
配置模块               %LOCALAPPDATA%\Microsoft\WinGet\Configuration\Modules

链接
----------------------------------------------------------------------------
隐私声明             https://aka.ms/winget-privacy
许可协议             https://aka.ms/winget-license
第三方声明           https://aka.ms/winget-3rdPartyNotice
主页                 https://aka.ms/winget
Windows 应用商店条款 https://www.microsoft.com/en-us/storedocs/terms-of-sale

管理员设置                                状态
------------------------------------------------
LocalManifestFiles                        已禁用
BypassCertificatePinningForMicrosoftStore 已禁用
InstallerHashOverride                     已禁用
LocalArchiveMalwareScanOverride           已禁用
ProxyCommandLineOptions                   已禁用
DefaultProxy                              已禁用

Activity

  1. added
    Issue-Bug
    Needs-Triage
    on Apr 8, 2026
  2. fabergen commented on Oct 8, 2026

    @fabergen

    Additional reproducible case: localized Mozilla Firefox (Mozilla.Firefox.de)

    I can reproduce what appears to be the same WinGet package-correlation issue with the German localized Mozilla Firefox package on multiple Windows PCs.

    Environment

    winget --version
    v1.29.380
    

    Affected package:

    Mozilla.Firefox.de
    

    In our tests, affected systems initially had:

    Mozilla Firefox (x64 de)
    Version 152.0.3
    

    while WinGet offered:

    157.0.1
    

    The important observation is that WinGet behaves differently depending on whether Firefox is queried through the general package enumeration or explicitly by its WinGet package ID.


    1. General winget list does not correlate Firefox with Mozilla.Firefox.de

    Running:

    winget list

    shows the installed Firefox only as an ARP entry:

    Mozilla Firefox (x64 de)    ARP\Machine\X64\Mozilla Firefox    152.0.3
    

    It does not show:

    Mozilla.Firefox.de
    

    Also:

    winget list --source winget

    does not list Firefox at all.

    For comparison, the German Thunderbird installation on the same systems is correlated correctly:

    Mozilla Thunderbird (x64 de)    Mozilla.Thunderbird.de    157.0.1    winget
    

    2. General update detection misses the Firefox update

    Running:

    winget update --include-unknown --accept-source-agreements

    does not report Firefox as upgradeable.

    Other available package updates are detected normally.

    So the normal WinGet update enumeration does not detect the available Firefox update from:

    152.0.3 -> 157.0.1
    

    3. Explicit query by package ID works correctly

    Running:

    winget list --id Mozilla.Firefox.de -e --source winget

    correctly correlates the installed Firefox:

    Name                     ID                 Version   Available
    Mozilla Firefox (x64 de) Mozilla.Firefox.de 152.0.3  157.0.1
    

    Running:

    winget search --id Mozilla.Firefox.de -e --source winget

    also works correctly:

    Mozilla Firefox (de)    Mozilla.Firefox.de    157.0.1
    

    So WinGet is able to correlate the locally installed Firefox with Mozilla.Firefox.de when the package ID is explicitly supplied.


    4. Explicit upgrade works correctly

    Running:

    winget upgrade --id Mozilla.Firefox.de -e --source winget

    works successfully.

    Example output from one of the affected German systems:

    Gefunden Mozilla Firefox (de) [Mozilla.Firefox.de] Version 157.0.1
    Diese Anwendung wird von ihrem Besitzer an Sie lizenziert.
    Microsoft ist nicht verantwortlich und erteilt keine Lizenzen für Pakete von Drittanbietern.
    Download läuft https://download-installer.cdn.mozilla.net/pub/firefox/releases/157.0.1/win64/de/Firefox%20Setup%20157.0.1.exe
    Der Installer-Hash wurde erfolgreich überprüft
    Paketinstallation wird gestartet...
    Erfolgreich installiert
    

    This was tested successfully on multiple PCs.

    We also tested this with a real Windows standard user.

    WinGet was started from a normal, non-elevated PowerShell session:

    winget upgrade --id Mozilla.Firefox.de -e --source winget

    When the Firefox installer required administrative rights, Windows automatically displayed the UAC credential dialog.

    After entering the credentials of a separate administrator account, the Firefox update completed successfully.

    So no elevated PowerShell session is required for this targeted upgrade.

    After the upgrade:

    winget list --id Mozilla.Firefox.de -e --source winget

    correctly reports:

    Mozilla Firefox (x64 de)    Mozilla.Firefox.de    157.0.1
    

    5. Important: upgrading does NOT repair the general correlation

    After the successful upgrade to Firefox 157.0.1, running a normal:

    winget list

    still reports Firefox as:

    Mozilla Firefox (x64 de)    ARP\Machine\X64\Mozilla Firefox    157.0.1
    

    instead of:

    Mozilla.Firefox.de
    

    So explicitly upgrading Firefox through WinGet does not repair the general package correlation.

    The mismatch remains even after the current Firefox version was installed through the explicitly targeted WinGet package.


    6. Reproduced on multiple PCs

    We reproduced the behavior on several Windows PCs.

    Two systems initially had:

    Mozilla Firefox (x64 de) 152.0.3
    

    Both systems were successfully upgraded to:

    157.0.1
    

    using:

    winget upgrade --id Mozilla.Firefox.de -e --source winget

    The installed version was then successfully verified as 157.0.1.

    Other systems already running Firefox 157.0.1 were also correctly recognized as current when explicitly queried with:

    winget list --id Mozilla.Firefox.de -e --source winget

    However, the general:

    winget list

    still identifies Firefox as:

    ARP\Machine\X64\Mozilla Firefox
    

    instead of correlating it with:

    Mozilla.Firefox.de
    

    7. Effect on applications using WinGet

    This also affects applications such as UniGetUI.

    UniGetUI does not detect the available Firefox update because its normal WinGet package enumeration receives Firefox as:

    ARP\Machine\X64\Mozilla Firefox
    

    with the package effectively treated as a local/ARP installation instead of:

    Mozilla.Firefox.de
    

    However, this issue can be reproduced completely with the WinGet CLI itself, without UniGetUI being involved.

    Therefore UniGetUI does not appear to be the root cause.


    Summary

    The behavior is reproducible as follows.

    General WinGet enumeration:

    Installed Mozilla Firefox (x64 de)
            |
            v
    ARP\Machine\X64\Mozilla Firefox
            |
            v
    No correlation with Mozilla.Firefox.de
            |
            v
    Firefox upgrade is missed
    

    But when the package ID is explicitly supplied:

    Mozilla.Firefox.de
            |
            v
    Installed Firefox is correlated correctly
            |
            v
    Available update is detected
            |
            v
    Upgrade succeeds
    

    The key commands demonstrating the difference are:

    # General enumeration - Firefox correlation fails
    winget list
    
    # General update enumeration - Firefox update is missed
    winget update --include-unknown --accept-source-agreements
    
    # Explicit correlation - works
    winget list --id Mozilla.Firefox.de -e --source winget
    
    # Explicit upgrade - works
    winget upgrade --id Mozilla.Firefox.de -e --source winget

    This looks very similar to the behavior reported in:

    #5249

    There is also a Firefox locale-specific report for the Spanish package with a very similar ARP/localized-package mismatch:

    microsoft/winget-pkgs#326552

    Our case confirms the same type of problem with the German localized package:

    Mozilla.Firefox.de
    

    and additionally shows that the general package correlation remains incorrect even after Firefox has been successfully upgraded through the explicitly targeted WinGet package.

    Please let me know if additional WinGet diagnostic logs or other information would help investigate the correlation issue.

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-ListIssue-Bug

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions