microsoft / microsoft/winget-cli
winget install results in 0x80072f8f : unknown error
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 26.4k
- Forks
- 1.8k
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 15
Description
Brief description of your issue
winget install 'company portal'
Winget install 'Power BI Desktop'
winget install 'Windows Terminal'
2024-05-08 11:04:51.668 [REPO] Opening database for ReadWrite at 'C:\Users\User\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\StoreEdgeFD\installed.db'
2024-05-08 11:04:51.669 [REPO] Opened SQLite Index with version [1.7], last write [2024-05-08 10:59:39.000]
2024-05-08 11:04:51.672 [REPO] Sending http POST request to: https://storeedgefd.dsx.mp.microsoft.com/v9.0/manifestSearch
2024-05-08 11:04:51.886 [REPO] Response status: 200
2024-05-08 11:04:51.887 [REPO] Sending http GET request to: https://storeedgefd.dsx.mp.microsoft.com/v9.0/packageManifests/9N0DX20HK701?Market=DE
2024-05-08 11:04:51.908 [REPO] Response status: 200
2024-05-08 11:04:51.909 [REPO] Finding installed package from available package using system reference search: Query:[none] Include:PackageFamilyName='microsoft.windowsterminal_8wekyb3d8bbwe'[Exact] Include:NormalizedNameAndPublisher='windows terminal'+'microsoft corporation'[Exact]
2024-05-08 11:04:51.920 [REPO] Opening database for ReadWrite at 'C:\Users\user\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\Microsoft.Winget.Source_8wekyb3d8bbwe\installed.db'
2024-05-08 11:04:51.921 [REPO] Opened SQLite Index with version [1.7], last write [2024-05-08 10:59:39.000]
2024-05-08 11:04:51.943 [CLI ] Found one app. App id: 9N0DX20HK701 App name: Windows Terminal
2024-05-08 11:04:51.953 [REPO] Attempting to open pinning database: C:\Users\user\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\pinning.db
2024-05-08 11:04:51.954 [CLI ] Manifest fields: Name [Windows Terminal], Version [Unknown]
2024-05-08 11:04:53.237 [CLI ] Package agreements accepted in prompt
2024-05-08 11:04:53.683 [FAIL] WindowsPackageManager.dll!00007FFFA19539EC: LogHr(1) tid(3ac4) 80072F8F
2024-05-08 11:04:53.683 [FAIL] WindowsPackageManager.dll!00007FFFA188B31B: LogHr(2) tid(3ac4) 80072F8F
2024-05-08 11:04:53.686 [CLI ] Caught winrt::hresult_error: 0x80072f8f : unknown error
WinGet, version [1.7.11261]
Package: Microsoft.DesktopAppInstaller v1.22.11261.0
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the listed winget install commands on WinGet 1.7.11261 and review the provided 0x80072F8F log sequence, especially the failure after package agreements are accepted. Trace that failure into the WinGet CLI or Windows Package Manager components; done means the affected installs complete without the reported error and regression coverage verifies the behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- cli, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100