microsoft / microsoft/winget-cli

Full upgrade run december 2024, v1.10.40-preview

Open
#5,056 5 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Issue-Feedback
Dominant language
C++
Stars
26.4k
Forks
1.8k
Avg merge
1d 11h
Merged PRs (30d)
15

Description

ℹ️
As suggested in issue #1009 I've opened a new one with the latest feedback.
Pictures tell a thousand words, so let me include those where possible.
Note: My PC was already pending a reboot for Windows Updates, not sure if that has had any effect during this process.

Starting off situation:
Image


Running command as user without elevated permissions:
winget update --all --accept-package-agreements --accept-source-agreements --silent --verbose-logs

⚠️
Even though it first tells me there are 58 upgrades available, it then only processes 53:
Image


These apps prompted for elevation after winget showed The installer will request to run as administrator, expect a prompt.

  • RSI launcher [RSI Launcher [CloudImperiumGames.RSILauncher]]
  • Android Studio [Google.AndroidStudio]
  • Git [Git.Git]
  • HWiNFO® [REALiX.HWiNFO]
  • Notepad++ [Notepad++.Notepad++]
  • WinMerge [WinMerge.WinMerge]
  • GitHub CLI [GitHub.cli]
  • NVIDIA GeForce Experrience [Nvidia.GeForceExperience]
  • Visual Studio Community 2022

Image

⚠️
These apps did not show a prompt in Winget, but did request elevation from the installer:

  • Docker Desktop [Docker.DockerDesktop]
  • Speccy [Piriform.Speccy]
  • Total Commander [Ghisler.TotalCommander]
  • VLC [VideoLAN.VLC]
  • WinRAR [RARLab.WinRAR]
  • Winaero Tweaker [winaero.tweaker]
  • Obsidian [Obsidian.Obsidian]
  • qFlipper [FlipperDevicesInc.qFlipper]
  • OpenShot Video Editor [OpenShot.OpenShot]
  • MySQL Workbench 8.0 CE [Oracle.MySQLWorkbench]
  • blender [BlenderFoundation.Blender]
  • NVIDIA CUDA Toolkit [Nvidia.CUDA]
  • Elgato Stream Deck [Elgato.StreamDeck]
  • GNU Privacy Guard [GnuPG.GnuPG]
  • Gpg4win [GnuPG.Gpg4win]
  • OBS Studio [OBSProject.OBSStudio]
  • Ubisoft Connect [Ubisoft.Connect]
  • Wireshark [WiresharkFoundation.Wireshark]
  • mIRC [mIRC.mIRC]
  • WinSCP [WinSCP.WinSCP]
  • PowerToys [Microsoft.PowerToys]
  • Microsoft Visual C++ 2015-2022 Redistributable (x64) [Microsoft.VCRedist.2015+.x64]
  • Epic Games Launcher [EpicGames.EpicGamesLauncher]
  • Power Automate for desktop [Microsoft.PowerAutomateDesktop]
  • Progress Telerik Fiddler Classic [Telerik.Fiddler.Classic]
  • Prism Launcher [PrismLauncher.PrismLauncher] (for the required redist dependency)

Image

❌⛔
HWiNFO installer failed, even though I never did anything to cancel the installation
Image
WinGet-REALiX.HWiNFO.8.16-2024-12-11-08-30-28.517.log

MongoDB [MongoDB.Server] failed to install, error 1603. There is no separate log file for this installer.
Image

Java 8 failed, did not prompt for elevation, error 1603. There is no separate log file for this installer.
Image

Blender showed multiple command prompts flashing, too fast too see if there was any text om them or to grab a screenshot.
Then it promped for elevation.

OBS Studio did prompt for elevation but failed anyway, exit code 6. There is no separate log file for this installer.
Despite the error message, I can confirm that OBS was already closed and my webcam was not in use.
Image

Epic Games Launcher did prompt for elevation but failed anyway, error 1603.
WinGet-EpicGames.EpicGamesLauncher.1.3.93.0-2024-12-11-12-11-18.749.log
Image

LM Studio failed to install, 0x801900ce. There is no separate log file for this installer.
Image

Spotify failed to install because it is running.
WinGet-Spotify.Spotify.1.2.52.442.g01893f92-2024-12-11-12-21-11.227.log
Image

ATLauncher Setup failed to install, did not prompt for elevation.
WinGet-ATLauncher.ATLauncher.1.2.0.0-2024-12-11-12-23-09.324.log
Image

Windows Subsystem for Linux failed to install, did not prompt for elevation.
Image

⚠️ After winget update --all, the following result is shown running winget update:
Image

⚠️ After the winget update --all command finished, the following results were shown:
375 package(s) have version numbers that cannot be determined. Use --include-unknown to see all results.
2 package(s) are pinned and need to be explicitly upgraded.

Both before and after winget update --all, the winget update command shows the following:
3 package(s) have version numbers that cannot be determined. Use --include-unknown to see all results.

Somehow two different numbers are shown, despire them appearing to tell the same thing to the user.
Running winget update --include-unknown only shows three packages:
Image

⏳Running command as with elevated permissions:
winget update --all --accept-package-agreements --accept-source-agreements --silent --verbose-logs

⚠️Out of the 18 (not including unknown) packages, only 12 packages are being attempted for an update
Image

HWiNFO® fails to install:
WinGet-REALiX.HWiNFO.8.16-2024-12-11-12-33-06.044.log
Image

OBS failed to install, there is no separate log file for this installer.
Image

Epic Games Launcher failed to install:
WinGet-EpicGames.EpicGamesLauncher.1.3.93.0-2024-12-11-12-37-45.039.log
Image

LM Studio fails to download:
Image

ATLauncher Setup failed to install:
WinGet-ATLauncher.ATLauncher.1.2.0.0-2024-12-11-12-40-15.458.log
Image

⚠️ And again it reports a different number of packages for which the version number cannot be determined.
Image

ℹ️ Attached the DiagOutputDir completely as well:
WinGet_DiagOutputDir.zip

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the reported winget update --all runs with and without elevated permissions, then inspect the attached installer logs and WinGet_DiagOutputDir.zip. The issue has no source files or tests named; completion would require isolating and fixing the relevant upgrade-count, elevation, and installer-failure behaviors and verifying the results.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
cli, operating-systems
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.