-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
winget upgrade --all
fails for all packages even if only one single package causes error
#1442
Comments
winget upgrade --all
fails if a single package cant be foundwinget upgrade --all
fails for all packages if a single package causes error
winget upgrade --all
fails for all packages if a single package causes errorwinget upgrade --all
fails for all packages even if only one single package causes error
I concur. Just experienced the same thing:
FWIW, here's my workaround: PS❯ winget upgrade | ConvertFrom-WingetStdout.ps1 | % { $_.Name; $_.Id; winget upgrade --id $_.Id } using ConvertFrom-WingetStdout.ps1. |
I believe this has been resolved in a prior release. Can you confirm? |
@siddagra A single error is still preventing me from upgrading all
|
Related issue: if one of the updates is canceled (e.g. at a UAC prompt) the operation does not continue with the next update. |
@denelon This has not been solved. winget upgrade --all
已找到 全球学术快报 [TTKN.CNKIExpress] 版本 0.1.19
已找到 Node.js [OpenJS.NodeJS] 版本 17.7.2
已找到 Microsoft .NET SDK [Microsoft.dotnet] 版本 6.1.322.12413
已找到 Telegram Desktop [Telegram.TelegramDesktop] 版本 3.6.1
已找到 calibre [calibre.calibre] 版本 5.39.1
已找到 GitHub CLI [GitHub.cli] 版本 2.6.0
已找到 Python 3 [Python.Python.3] 版本 3.10.3150.0
已找到 网易云音乐 [NetEase.CloudMusic] 版本 2.9.8.199759
已找到 钉钉 [Alibaba.DingTalk] 版本 6.3.35-Release.3179104
(1/9) 已找到 全球学术快报 [TTKN.CNKIExpress] 版本 0.1.19
此应用程序由其所有者授权给你。
Microsoft 对第三方程序包概不负责,也不向第三方程序包授予任何许可证。
Downloading https://download.cnki.net/cnkiexpress/%E5%85%A8%E7%90%83%E5%AD%A6%E6%9C%AF%E5%BF%AB%E6%8A%A5%20Setup%200.1.19.exe
执行此命令时发生意外错误:
Download request status is not success.
0x80190194 : δ�ҵ�(404)�� |
@siddagra this issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 7 days. It will be closed if no further activity occurs within 7 days of this comment. |
Several people have replied with feedback, can we remove the Needs-Author-Feedback label? |
@JSkimming, the author reported this with the 1.0 release. This was corrected in a previous release. I've been able to cause a failure in one of the packages during |
Please ignore this comment I realized there was only one package to update. But my earlier comment was only 10 days ago and was probably v1.2.10271. |
I have reproduced this with 1.2 |
@JSkimming Teams is known to be problematic with the system wide installer. We have other issues tracking that. I believe what was reported is when there are multiple upgrades, and one of them fails, the other upgrades don't even run. There are still several challenges with upgrading individual applications, and we have several bugs open for those. This bug was specifically calling out the failure for |
@sba923 I'll look into that scenario. Do you know which package had the UAC you cancelled? I'll set up a test to verify that situation. |
Not from the top of my head. Will refrain from running |
@siddagra this issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 7 days. It will be closed if no further activity occurs within 7 days of this comment. |
Confirmed with v1.3: winget upgrade --all
名称 ID 版本 可用 源
---------------------------------------------------------------------------------------------------------------------
PDFlux PaodingAI.PDFlux 5.0.19 5.0.24 winget
draw.io JGraph.Draw 17.2.1 17.2.4 winget
阿里云盘 Alibaba.aDrive 3.0.0 3.1.1 winget
FileZilla Client TimKosse.FileZilla.Client 3.58.0 3.59.0 winget
Microsoft Edge Microsoft.Edge 100.0.1185.36 100.0.1185.39 winget
RStudio Desktop Open Source Edition RStudio.RStudio.OpenSource 2022.02.0+443 2022.02.1+461 winget
Tencent Meeting Tencent.TencentMeeting 3.6.5.404 3.6.7.428 winget
Zotero Zotero.Zotero 6.0.3 6.0.4 winget
全球学术快报 TTKN.CNKIExpress 0.1.19 0.1.20 winget
Free Download Manager SoftDeluxe.FreeDownloadManager 6.16.0.4468 6.16.1.4558 winget
Microsoft .NET SDK Microsoft.dotnet 5.4.522.6820 6.1.322.12413 winget
Microsoft .NET SDK Microsoft.dotnet 5.4.622.11901 6.1.322.12413 winget
Node.js OpenJS.NodeJS 17.8.0 17.9.0 winget
GitHub CLI GitHub.cli 2.6.0 2.7.0 winget
calibre calibre.calibre 5.39.1 5.40.0 winget
Microsoft Visual Studio Code Microsoft.VisualStudioCode 1.65.2 1.66.1 winget
Microsoft .NET SDK Microsoft.dotnet 5.3.321.37723 6.1.322.12413 winget
百度网盘 Baidu.BaiduNetdisk 7.13.0 7.14.1 winget
DingTalk Alibaba.DingTalk 6.5.0-Release.3249116 6.5.0-Release.3289101 winget
20 升级可用。
1 package has a version number that cannot be determined. Use "--include-unknown" to see all results.
(1/17) 已找到 PDFlux [PaodingAI.PDFlux] 版本 5.0.24
此应用程序由其所有者授权给你。
Microsoft 对第三方程序包概不负责,也不向第三方程序包授予任何许可证。
Downloading https://pdflux.com/downloads/PDFlux-5.0.24-win-x64.exe
██████████████████████████████ 74.8 MB / 74.8 MB
已成功验证安装程序哈希
正在启动程序包安装...
已成功安装
(2/17) 已找到 draw.io [JGraph.Draw] 版本 17.2.4
此应用程序由其所有者授权给你。
Microsoft 对第三方程序包概不负责,也不向第三方程序包授予任何许可证。
Downloading https://github.com/jgraph/drawio-desktop/releases/download/v17.2.4/draw.io-17.2.4-windows-installer.exe
██████████████████████████████ 0.00 B / 78.2 MB
执行此命令时发生意外错误:
InternetOpenUrl() failed.
0x80072efd : unknown error Version info: winget --version
v1.3.692-preview |
Any update on this? It's still happening:
|
Yeah, I also experience this issue with
winget infoPS C:\WINDOWS\system32> winget --info Windows Package Manager (Preview) v1.6.1573-preview Copyright (c) Microsoft Corporation. All rights reserved. |
Brief description of your issue
If a single app fails to install in
winget upgrade --all
, it will close the entire upgrade sequence. Leaving all following apps unupgraded. Instead, it should upgrade all apps and ignore upgrading the apps for which an error occurs.Steps to reproduce
I Installed kite from vscode installer. Microsoft is unable to download the package/setup.exe and fails. It then does not proceed to upgrade/update any of my other apps:
Expected behavior
Winget should try to upgrade all apps and ignore upgrading the apps for which an error occurs.
Actual behavior
If a single app fails to install in
winget upgrade --all
, it will close the entire upgrade sequence. Leaving all following apps unupgraded.Environment
The text was updated successfully, but these errors were encountered: