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

Full upgrade run december 2024, v1.10.40-preview #5056

Open
Master-Guy opened this issue Dec 11, 2024 · 5 comments
Open

Full upgrade run december 2024, v1.10.40-preview #5056

Master-Guy opened this issue Dec 11, 2024 · 5 comments
Labels
Issue-Feedback Overall Product Feedback based on full usage scenarios

Comments

@Master-Guy
Copy link

ℹ️
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

This comment has been minimized.

@microsoft-github-policy-service microsoft-github-policy-service bot added the Needs-Triage Issue need to be triaged label Dec 11, 2024
@microsoft-github-policy-service microsoft-github-policy-service bot removed the Needs-Triage Issue need to be triaged label Dec 11, 2024
@denelon denelon added the Issue-Feedback Overall Product Feedback based on full usage scenarios label Dec 11, 2024
@denelon
Copy link
Contributor

denelon commented Dec 11, 2024

Thanks, I've added a new label "Issue-Feedback" and since this will serve as a master to track other issues, I've marked it as a "Task" for the Issue Type. I'll add any existing issues to this comment and update this is the first "human" comment to help track. I'd also love some help from @Trenly and @mdanish-kh via Gitter or Teams to keep some of the discussion clutter reduced here.

Existing Issues:

@denelon
Copy link
Contributor

denelon commented Dec 11, 2024

The list of packages that triggered an elevation request might need updates in their manifest if they always prompt for elevation, but they may also be installed "per user" which shouldn't need elevation. @Trenly & @mdanish-kh. Those seem like a decent selection of packages to evaluate for manifest updates.

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)

@Trenly
Copy link
Contributor

Trenly commented Dec 11, 2024

OBS Studio is actually behaving (mostly) as expected. There are applications like Teams, Chrome, and a few others that will continue to use OBS files even if OBS is closed and the camera is not in use.

Spotify is the same way, and WinGet will not close a running application to ensure user data is preserved


The number of unknown packages is also a known bug; I'll have to find the issue number, but the gist of it is that the count of packages with unknown version is happening before the check to see if packages are available from a known source.


Definitely agree with @denelon that the manifests for many of the packages mentioned should be checked for an elevation requirement


The issue of packages listed for update but not actually being updated by the command is another known issue, but probably needs more focus (@denelon - once I find the number can you look at priority?); Effectively, when using --all specific output messages explaining inapplicability will be skipped (e.g - installer type mismatch, system doesn’t support the new installer, architecture not found, etc)

@mdanish-kh
Copy link
Contributor

mdanish-kh commented Dec 11, 2024

upgrade --all silently skips updates and does not inform the user. This happens when an available upgrade is not compatible in any way (Locale, Scope, InstallerType etc) with the existing installation


The number of unknown packages is also a known bug; I'll have to find the issue number, but the gist of it is that the count of packages with unknown version is happening before the check to see if packages are available from a known source.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue-Feedback Overall Product Feedback based on full usage scenarios
Projects
None yet
Development

No branches or pull requests

4 participants