Repository navigation
Closed
Labels
Command-UpgradeIssue related to WinGet UpgradeIssue-BugIt either shouldn't be doing this or needs an investigation.
Milestone
Description
Relevant area(s)
WinGet CLI
Relevant command(s)
winget upgrade
Brief description of your issue
Administrator @ ~ took 1s511ms
$ winget upgrade --all
名称 ID 版本 可用 源
-----------------------------------------------------------------------------------------------------------------------
Git Git.Git 2.53.0.2 2.53.0.3 winget
***Redacted***
Microsoft Teams Microsoft.Teams 26058.713.4529.5861 26072.519.4556.7438 winget
23 升级可用。
7 程序包的版本号无法确定。使用 --include-unknown 查看所有结果。
2 程序包拥有阻止升级的包钉。使用 'winget pin' 命令查看和编辑包钉。使用 --include-pinned 参数可能显示更多结果。
正在安装依赖项:
此包需要以下依赖项:
- 程序包
Microsoft.VCRedist.2015+.x64
(1/20) 已找到 Git [Git.Git] 版本 2.53.0.3
此应用程序由其所有者授权给你。
Microsoft 对第三方程序包概不负责,也不向第三方程序包授予任何许可证。
已成功验证安装程序哈希
Administrator @ ~ took 31s304ms
$
Steps to reproduce
1.Do winget upgrade --all
Expected behavior
The package is installed and upgrade success.
Actual behavior
It hang after the first package (Git in this case) verified hashes.
Environment
Windows 程序包管理器 v1.28.190
版权所有 (C) Microsoft Corporation。保留所有权利。
Windows: Windows.Desktop v10.0.26200.8246
系统体系结构: X64
软件包: Microsoft.DesktopAppInstaller v1.28.190.0
Winget 目录
-------------------------------------------------------------------------------------------------------------------
日志 %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir
用户设置 %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\settings.json
可移植链接目录(用户) %LOCALAPPDATA%\Microsoft\WinGet\Links
可移植链接目录(计算机) C:\Program Files\WinGet\Links
可移植包根目录(用户) %LOCALAPPDATA%\Microsoft\WinGet\Packages
可移植包根目录 C:\Program Files\WinGet\Packages
可移植包根目录 (x86) C:\Program Files (x86)\WinGet\Packages
安装程序下载 %USERPROFILE%\Downloads
配置模块 %LOCALAPPDATA%\Microsoft\WinGet\Configuration\Modules
链接
----------------------------------------------------------------------------
隐私声明 https://aka.ms/winget-privacy
许可协议 https://aka.ms/winget-license
第三方声明 https://aka.ms/winget-3rdPartyNotice
主页 https://aka.ms/winget
Windows 应用商店条款 https://www.microsoft.com/en-us/storedocs/terms-of-sale
管理员设置 状态
------------------------------------------------
LocalManifestFiles 已禁用
BypassCertificatePinningForMicrosoftStore 已禁用
InstallerHashOverride 已禁用
LocalArchiveMalwareScanOverride 已禁用
ProxyCommandLineOptions 已禁用
DefaultProxy 已禁用Reacted by KWL and Iceflower
Metadata
Metadata
Assignees
Labels
Command-UpgradeIssue related to WinGet UpgradeIssue-BugIt either shouldn't be doing this or needs an investigation.
Activity
Trenly commentedon Apr 16, 2026
ZeroMarker commentedon Apr 19, 2026
Same issue here. I switch to v1.29.140-preview, still get this issue.
jachaussloef commentedon Apr 28, 2026
the downloaded file fails to rename properly. You can check
%temp%\WinGetand you'll find the package folder with a hash named file without extension in it which is the actual installer. Change the name to its actual file name and runwinget install/upgrade <packagename>again and it might install...chemharuka commentedon May 4, 2026
Same issue on v1.28.190
Seems that this bug fixed after upgrade to v1.29.160-preview
Trenly commentedon May 4, 2026
Close with reason: Resolved in preview;