WinGet source update fails with 0x87E80034 - MSIX manifest deployment error

未关闭
#6,594 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 2 天内回复

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
38/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
活跃
技术栈
cpp
领域
backend, cli

调研方向

Start with the WinGet CLI source update path and its tests; the report does not name specific files or tests. Reproduce winget source update --name winget on the stated Windows 11 environment and trace the failure after the package download to the MSIX deployment error. Done means the source package installs and registers successfully so searches work.

由索引模型根据 Issue 内容生成。

描述

Issue-Bug
Relevant area(s)

WinGet CLI

Relevant command(s)

No response

Brief description of your issue

WinGet 1.29.380 consistently fails to update its default winget repository on Windows 11. The entire 3.62 MB source package downloads successfully, but the operation immediately reports "Cancelled". Manual installation of the Microsoft-signed source MSIX package fails with HRESULT 0x80073CF0 and underlying error 0x87E80034 (MsixvcStagingSession::GetManifestReader). The issue persists after resetting WinGet sources and App Installer, running DISM and SFC, restarting Windows, and verifying package integrity, signature, and folder permissions. Microsoft Store application updates work normally. No third-party antivirus is installed.

Steps to reproduce
  1. Open Windows PowerShell.
  2. Run: winget source update --name winget
  3. Wait for the 3.62 MB download to finish.
  4. WinGet reports 'Cancelled'.
  5. Running winget list reports that the winget source could not be updated or searched.
Expected behavior

WinGet should download, install, and register the repository source package successfully, allowing normal application searches, installations, and upgrades.

Actual behavior

WinGet downloads the entire 3.62 MB source package, then reports 'Cancelled'.

Manual installation using Add-AppxPackage fails with HRESULT 0x80073CF0.

Underlying deployment error:
MsixvcStagingSession::GetManifestReader failed with error 0x87E80034.

The failure persists after resetting WinGet sources and App Installer, running DISM and SFC, restarting Windows, and verifying package integrity, signature, and folder permissions.

Environment
[winget --info]
Windows Package Manager version: 1.29.380
Windows: Windows.Desktop version 10.0.26300.9711
System Architecture: X64
Package: Microsoft.DesktopAppInstaller version 1.29.380.0

Other software:
Microsoft Defender Antivirus (enabled)
Windows Firewall (enabled)
No third-party antivirus reported.
Microsoft Store works and successfully updated multiple applications.

WinGet source:
Name: winget
URL: https://cdn.winget.microsoft.com/cache
Type: Microsoft.PreIndexed.Package

Deployment failure:
HRESULT: 0x80073CF0
Underlying error: 0x87E80034
MsixvcStagingSession::GetManifestReader failed.
主要语言
C++
星标
26.6k
派生
1.8k
平均合并
3 天 10 小时
30 天内合并 PR
41

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

microsoft/winget-cli 的其他 Issue

查看 microsoft/winget-cli 的全部 Issue

相似的 Issue

更多 C++ Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。