microsoft / microsoft/winget-cli
Full upgrade run december 2024, v1.10.40-preview
Nobody has claimed this yet.
- 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:
⏳
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:
✅
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
⚠️
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)
❌⛔
HWiNFO installer failed, even though I never did anything to cancel the installation
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.
Java 8 failed, did not prompt for elevation, error 1603. There is no separate log file for this installer.
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.
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
LM Studio failed to install, 0x801900ce. There is no separate log file for this installer.
Spotify failed to install because it is running.
WinGet-Spotify.Spotify.1.2.52.442.g01893f92-2024-12-11-12-21-11.227.log
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
Windows Subsystem for Linux failed to install, did not prompt for elevation.
⚠️ After winget update --all, the following result is shown running winget update:
⚠️ 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:
⏳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
HWiNFO® fails to install:
WinGet-REALiX.HWiNFO.8.16-2024-12-11-12-33-06.044.log
OBS failed to install, there is no separate log file for this installer.
Epic Games Launcher failed to install:
WinGet-EpicGames.EpicGamesLauncher.1.3.93.0-2024-12-11-12-37-45.039.log
LM Studio fails to download:
ATLauncher Setup failed to install:
WinGet-ATLauncher.ATLauncher.1.2.0.0-2024-12-11-12-40-15.458.log
⚠️ And again it reports a different number of packages for which the version number cannot be determined.
ℹ️ Attached the DiagOutputDir completely as well:
WinGet_DiagOutputDir.zip
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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