winget-cli: Winget upgrade --all not updating certain packages when reporting updates available

Brief description of your issue

Here is the output:

PS C:\WINDOWS\system32> winget upgrade --all Name Id Version Available Source

Android Studio Google.AndroidStudio 2021.3.1.16 2021.3.1.17 winget Microsoft .NET SDK 6.0.304 (x64) Microsoft.DotNet.SDK.6 6.0.304 6.0.402 winget JetBrains ETW Host Service (x64) JetBrains.ReSharper 2022.2.2 2022.2.3 winget tuna version 1.8.3 univrsal.tuna 1.8.3 1.8.5 winget Microsoft ASP.NET Core 6.0.9 - Shared Framework (x… Microsoft.DotNet.AspNetCore.6 6.0.9 6.0.10 winget Windows Software Development Kit - Windows 10.0.17… Microsoft.WindowsSDK < 10.0.22000.832 10.0.22621.1 winget Teams Machine-Wide Installer Microsoft.Teams 1.5.0.8070 1.5.00.21668 winget Nefarius Virtual Gamepad Emulation Bus Driver ViGEm.ViGEmBus 1.17.333.0 1.21.442 winget Epic Games Launcher EpicGames.EpicGamesLauncher 1.2.17.0 1.3.23.0 winget Microsoft Visual C++ 2015-2022 Redistributable (x8… Microsoft.VCRedist.2015+.x64 14.32.31332.0 14.34.31823.3 winget Microsoft ASP.NET Core 3.1.29 - Shared Framework (… Microsoft.DotNet.AspNetCore.6 < 6.0.5 6.0.10 winget 11 upgrades available. 4 package(s) have version numbers that cannot be determined. Use “–include-unknown” to see all results.

(1/7) Found Android Studio [Google.AndroidStudio] Version 2021.3.1.17 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://redirector.gvt1.com/edgedl/android/studio/install/2021.3.1.17/android-studio-2021.3.1.17-windows.exe ██████████████████████████████ 912 MB / 912 MB Successfully verified installer hash Starting package install… Successfully installed

(2/7) Found Microsoft .NET SDK 6.0 [Microsoft.DotNet.SDK.6] Version 6.0.402 This application is licensed to you by its owner. Microsoft is not responsible for, nor does it grant any licenses to, third-party packages. Successfully verified installer hash Starting package install… Successfully installed

(3/7) Found Microsoft ASP.NET Core Runtime 6.0 [Microsoft.DotNet.AspNetCore.6] Version 6.0.10 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://dotnetcli.azureedge.net/dotnet/aspnetcore/Runtime/6.0.10/aspnetcore-runtime-6.0.10-win-x64.exe ██████████████████████████████ 8.58 MB / 8.58 MB Successfully verified installer hash Starting package install… Successfully installed

(4/7) Found Windows Software Development Kit [Microsoft.WindowsSDK] Version 10.0.22621.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://download.microsoft.com/download/f/6/7/f673df4b-4df9-4e1c-b6ce-2e6b4236c802/windowssdk/winsdksetup.exe ██████████████████████████████ 1.32 MB / 1.32 MB Successfully verified installer hash Starting package install… Successfully installed

(5/7) Found Microsoft Teams [Microsoft.Teams] Version 1.5.00.21668 This application is licensed to you by its owner. Microsoft is not responsible for, nor does it grant any licenses to, third-party packages. Successfully verified installer hash Starting package install… Installer failed with exit code: 1638 Installer log is available at: C:\Users\Hunter Johnston\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir\WinGet-Microsoft.Teams.1.5.00.21668-2022-10-24-10-27-19.135.log Another version of this application is already installed.

(6/7) Found Epic Games Launcher [EpicGames.EpicGamesLauncher] Version 1.3.23.0 This application is licensed to you by its owner. Microsoft is not responsible for, nor does it grant any licenses to, third-party packages. Successfully verified installer hash Starting package install… Installer failed with exit code: 1603 Installer log is available at: C:\Users\Hunter Johnston\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir\WinGet-EpicGames.EpicGamesLauncher.1.3.23.0-2022-10-24-10-27-20.063.log

(7/7) Found Microsoft Visual C++ 2015-2022 Redistributable (x64) [Microsoft.VCRedist.2015+.x64] Version 14.34.31823.3 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://download.visualstudio.microsoft.com/download/pr/a16e1596-7fef-4570-8d63-fb9d4e72c820/D0CAFF8097BB9C43A3685686826867506BF6EDD667F7B90092CB0EB1B964A85E/VC_redist.x64.exe ██████████████████████████████ 24.2 MB / 24.2 MB Successfully verified installer hash Starting package install… Successfully installed

17 package(s) have version numbers that cannot be determined. Use “–include-unknown” to see all results.

PS C:\WINDOWS\system32> winget upgrade Name Id Version Available Source

Android Studio Google.AndroidStudio 2021.3.1.16 2021.3.1.17 winget Microsoft .NET SDK 6.0.304 (x64) Microsoft.DotNet.SDK.6 6.0.304 6.0.402 winget JetBrains ETW Host Service (x64) JetBrains.ReSharper 2022.2.2 2022.2.3 winget tuna version 1.8.3 univrsal.tuna 1.8.3 1.8.5 winget Microsoft ASP.NET Core 6.0.9 - Shared Framework (x… Microsoft.DotNet.AspNetCore.6 6.0.9 6.0.10 winget Windows Software Development Kit - Windows 10.0.17… Microsoft.WindowsSDK < 10.0.22000.832 10.0.22621.1 winget Teams Machine-Wide Installer Microsoft.Teams 1.5.0.8070 1.5.00.21668 winget Nefarius Virtual Gamepad Emulation Bus Driver ViGEm.ViGEmBus 1.17.333.0 1.21.442 winget Epic Games Launcher EpicGames.EpicGamesLauncher 1.2.17.0 1.3.23.0 winget Microsoft Visual C++ 2015-2022 Redistributable (x8… Microsoft.VCRedist.2015+.x64 14.32.31332.0 14.34.31823.3 winget Microsoft ASP.NET Core 3.1.29 - Shared Framework (… Microsoft.DotNet.AspNetCore.6 < 6.0.5 6.0.10 winget 11 upgrades available. 4 package(s) have version numbers that cannot be determined. Use “–include-unknown” to see all results.

Steps to reproduce

Using the built in upgrade --all command

Expected behavior

Install the updates to the packages

Actual behavior

It says upgrading on the packages, but the update does not apply.

Environment

Windows Package Manager (Preview) v1.4.2161-preview
Copyright (c) Microsoft Corporation. All rights reserved.

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

About this issue

  • Original URL
  • State: open
  • Created 2 years ago
  • Comments: 16 (10 by maintainers)

Most upvoted comments

@heaths thanks for sharing! We’ve been discussing changing the PackageIdentifier for the Windows SDK to “not be an upgrade” by including the versions. That would mean they could be installed side-by-side rather than upgraded. @KevinLaMS is on point for that.