winget-cli icon indicating copy to clipboard operation
winget-cli copied to clipboard

winget list does not show column with available update any more

Open DarthSonic opened this issue 2 years ago • 5 comments

Brief description of your issue

When running winget list before, I got a column with available updated version number. Now (v1.3.431-preview) it does not show that column any more.

Steps to reproduce

run winget list (v1.3.431-preview)

Expected behavior

Show column with available update.

Actual behavior

Column is not shown.

Environment

v1.3.431-preview

DarthSonic avatar Jul 29 '22 08:07 DarthSonic

Can confirm this is happening, also with the shipped version, not just the preview.

winget -v: v1.3.2091

Take for example:

winget list: filtered manually only one package that has an update

Name                                          Id                                             Version            Source
-----------------------------------------------------------------------------------------------------------------------
Windows Software Development Kit - Windows 1… Microsoft.WindowsSDK                           < 10.0.22000.832   winget

winget list "software" filtered manually only the same package package that has an update

Name                                                      Id                                       Version          Available    Source
---------------------------------------------------------------------------------------------------------------------------------------

Windows Software Development Kit - Windows 10.0.19041.685 Microsoft.WindowsSDK                     < 10.0.22000.832 10.0.22621.1 winget

Notice that on the second invocation with a search query, it show the available column as well.

zsolt3991 avatar Aug 24 '22 16:08 zsolt3991

I was trying to build a list of packages with available updated. Now that I have seen this bug I can stop doing so.... 🤔😉 (because of mis-behaving winget... )

Luuk34 avatar Oct 22 '22 09:10 Luuk34

If you are just looking for a way to see all the programs that are installed and needing a update, you can just do "winget upgrade" and it will spit out a list of all the programs with pending updates minus any program that is missing or has a malformed version number in its registry entry

Masamune3210 avatar Oct 22 '22 13:10 Masamune3210

Because getting a list of packages with available updates should be in a format that has complete information, and the current output contains characters like :

Windows 10 Update Assistant                                        Microsoft.UpdateAssistant               1.4.9200.22749   1.4.19041.15… winget

P.S. It's weird that a PC running Windows 11 shows an update for "Windows 10 Update Assistant", but that's another discussion.

Luuk34 avatar Nov 05 '22 11:11 Luuk34

It shows a update for the program because the program is completely separate from the OS, if you are already on 11, you can uninstall it since it serves no purpose anymore

Masamune3210 avatar Nov 05 '22 14:11 Masamune3210

[Policy] command-list

Trenly avatar Sep 17 '23 00:09 Trenly