Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

winget upgrade does not list some applications but list does #5165

Open
xj39eldiablo opened this issue Jan 29, 2025 · 0 comments
Open

winget upgrade does not list some applications but list does #5165

xj39eldiablo opened this issue Jan 29, 2025 · 0 comments
Labels
Issue-Bug It either shouldn't be doing this or needs an investigation.

Comments

@xj39eldiablo
Copy link

xj39eldiablo commented Jan 29, 2025

Brief description of your issue

WInget Upgrade is not identifying some applications when checking however if listed individually they are.
I am relying on the winget uprgade to capture and leverage upgrades for some appolications and currently some examplesss such as node.js are not being displayed.

Steps to reproduce

Install node.js 17.9.1

Run winget upgrade command results are:
`
winget upgrade
Name Id Version Available Source

Microsoft Visual Studio 2010 Tools for Office R… Microsoft.VSTOR 10.0.60910 10.0.60917 winget
Notepad++ (64-bit x64) Notepad++.Notepad++ 8.7.5 8.7.6 winget

Microsoft Visual C++ 2013 Redistributable (x64)… Microsoft.VCRedist.2013.x64 12.0.40660.0 12.0.40664.0 winget
Microsoft Visual C++ 2013 Redistributable (x86)… Microsoft.VCRedist.2013.x86 12.0.40660.0 12.0.40664.0 winget
Windows Assessment and Deployment Kit Microsoft.WindowsADK 10.1.26100.1 10.1.26100.2454 winget
Microsoft Windows Desktop Runtime - 8.0.11 (x64) Microsoft.DotNet.DesktopRuntime.8 8.0.11 8.0.12 winget
Microsoft ASP.NET Core 6.0.35 - Shared Framewor… Microsoft.DotNet.AspNetCore.6 6.0.35 6.0.36 winget
Microsoft Visual C++ 2015-2022 Redistributable … Microsoft.VCRedist.2015+.x64 14.38.33135.0 14.42.34433.0 winget
Microsoft Visual C++ 2015-2019 Redistributable … Microsoft.VCRedist.2015+.x86 14.28.29325.2 14.42.34433.0 winget
Microsoft Visual Studio Code (User) Microsoft.VisualStudioCode 1.96.2 1.96.4 winget
Windows App Microsoft.WindowsApp 2.0.294.0 2.0.328.0 winget
14 upgrades available.`

As noted Node.js is not listed but if list command is used specifically for node.js

`
winget list nodejs
Name Id Version Available Source

Node.js OpenJS.NodeJS 17.9.1 23.6.1 winget`

Atteempting winget upgrade-e results in
`
winget upgrade -e
Multiple installed packages found matching input criteria. Please refine the input.
Name Id

Node.js ARP\Machine\X64{E25AFF60-6DB3-41D7-A310-15E822DD0E7B}
###`

calling for a speciffic upgrade works:
winget upgrade Node.js Found Node.js [OpenJS.NodeJS] Version 23.6.1 This application is licensed to you by its owner. Microsoft is not responsible for, nor does it grant any licenses to, third-party packages. Downloading https://nodejs.org/dist/v23.6.1/node-v23.6.1-x64.msi ██████████████████████████████ 29.9 MB / 29.9 MB Successfully verified installer hash Starting package install... Successfully installed

Now if we do a list node.js will be display the id:

`winget list
Name Id Version Available Source

Node.js OpenJS.NodeJS 23.6.1 winget`

Expected behavior

Expected WInget upgrade to list node.js and available update version.

Actual behavior

See steps to reprduce.
Software is not displayed when running upgrade parameter.

Environment

winget --info
Windows Package Manager v1.9.25200
Copyright (c) Microsoft Corporation. All rights reserved.

Windows: Windows.Desktop v10.0.22631.4317
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.24.25200.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

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
@microsoft-github-policy-service microsoft-github-policy-service bot added the Needs-Triage Issue need to be triaged label Jan 29, 2025
@denelon denelon added Issue-Bug It either shouldn't be doing this or needs an investigation. and removed Needs-Triage Issue need to be triaged labels Jan 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue-Bug It either shouldn't be doing this or needs an investigation.
Projects
None yet
Development

No branches or pull requests

2 participants