Skip to content

WinGet download installer but not installing them #6147

Closed

Description

@xrh0905

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                              已禁用

Activity

  1. added
    Issue-Bug
    Needs-Triage
    on Apr 16, 2026
  2. added theissue type on Apr 16, 2026
  3. ZeroMarker commented on Apr 19, 2026

    @ZeroMarker

    Same issue here. I switch to v1.29.140-preview, still get this issue.

  4. jachaussloef commented on Apr 28, 2026

    @jachaussloef

    the downloaded file fails to rename properly. You can check %temp%\WinGet and 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 run winget install/upgrade <packagename> again and it might install...

  5. chemharuka commented on May 4, 2026

    @chemharuka

    Same issue on v1.28.190
    Seems that this bug fixed after upgrade to v1.29.160-preview

  6. Trenly commented on May 4, 2026

    @Trenly
    Contributor
    Close with reason: Resolved in preview;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Command-UpgradeIssue-Bug

    Type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions