Skip to content

WinGet download installer but not installing them #6147

@xrh0905

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Command-UpgradeIssue related to WinGet UpgradeIssue-BugIt either shouldn't be doing this or needs an investigation.

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions