Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

winget install results in 0x80072f8f : unknown error #4460

Open
chiragptl039 opened this issue May 8, 2024 · 4 comments
Open

winget install results in 0x80072f8f : unknown error #4460

chiragptl039 opened this issue May 8, 2024 · 4 comments
Labels
Command-Install Issue related to WinGet Install Issue-Bug It either shouldn't be doing this or needs an investigation. msstore Issue related to "msstore" REST source

Comments

@chiragptl039
Copy link

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

@chiragptl039 chiragptl039 added the Issue-Docs It's a documentation issue that really should be on MicrosoftDocs label May 8, 2024
@microsoft-github-policy-service microsoft-github-policy-service bot added the Needs-Triage Issue need to be triaged label May 8, 2024
Copy link

github-actions bot commented May 8, 2024

Hi I'm an AI powered bot that finds similar issues based off the issue title.

Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you!

Open similar issues:

Closed similar issues:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.

@Trenly
Copy link
Contributor

Trenly commented May 8, 2024

@chiragptl039 - Does the behavior change if you use --source winget with your install command?

@microsoft-github-policy-service microsoft-github-policy-service bot added Command-Install Issue related to WinGet Install Issue-Bug It either shouldn't be doing this or needs an investigation. Needs-Author-Feedback Issue needs attention from issue or PR author and removed Needs-Triage Issue need to be triaged Issue-Docs It's a documentation issue that really should be on MicrosoftDocs labels May 8, 2024
@chiragptl039
Copy link
Author

@Trenly - I can install applications from the Winget source, but it seems that the store application couldn't be installed using Winget. An error occurred when I accepted the agreements.

PS C:\Users\user> winget install Microsoft.PowerBI -s winget
Found Microsoft PowerBI Desktop [Microsoft.PowerBI] Version 2.128.1380.0
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
Agreements for Microsoft PowerBI Desktop [Microsoft.PowerBI] Version 2.128.1380.0
Version: 2.128.1380.0
Publisher: Microsoft Corporation
Publisher Url: https://www.microsoft.com/en-us
Publisher Support Url: https://support.microsoft.com/en-us
Author: Microsoft Corporation
Homepage: https://powerbi.microsoft.com
License: Proprietary
License Url: https://powerbi.microsoft.com/en-us/desktop-eula/
Privacy Url: https://privacy.microsoft.com/en-us/privacystatement
Copyright: Copyright (c) Microsoft Corporation. All rights reserved.
Copyright Url: https://www.microsoft.com/en-us/legal/intellectualproperty/copyright/default.aspx
Agreements:
End User License Agreement (EULA): https://powerbi.microsoft.com/en-us/desktop-eula/

The publisher requires that you view the above information and accept the agreements before installing.
Do you agree to the terms?
[Y] Yes [N] No: y
Downloading https://download.microsoft.com/download/8/8/0/880BCA75-79DD-466A-927D-1ABF1F5454B0/PBIDesktopSetup_x64.exe
██████████████████████████████ 487 MB / 487 MB
Successfully verified installer hash
Starting package install...
The installer will request to run as administrator, expect a prompt.
Successfully installed
PS C:\Users\user> winget install 9WZDNCRFJ3PZ -s msstore
Found Company Portal [9WZDNCRFJ3PZ] Version Unknown
This package is provided through Microsoft Store. winget may need to acquire the package from Microsoft Store on behalf of the current user.
Agreements for Company Portal [9WZDNCRFJ3PZ] Version Unknown
Version: Unknown
Publisher: Microsoft Corporation
Publisher Url: http://go.microsoft.com/fwlink/?LinkId=273865
Publisher Support Url: http://go.microsoft.com/fwlink/?LinkId=273866
License: http://go.microsoft.com/fwlink/?LInkId=518263
Privacy Url: http://go.microsoft.com/fwlink/?LinkID=316999
Copyright: © 2022. Microsoft. All rights reserved.
Agreements:
Category: Business
Pricing: Free
Free Trial: No
Terms of Transaction: https://aka.ms/microsoft-store-terms-of-transaction
Seizure Warning: https://aka.ms/microsoft-store-seizure-warning
Store License Terms: https://aka.ms/microsoft-store-license

The publisher requires that you view the above information and accept the agreements before installing.
Do you agree to the terms?
[Y] Yes [N] No: y
An unexpected error occurred while executing the command:
0x80072f8f : unknown error

@microsoft-github-policy-service microsoft-github-policy-service bot added Needs-Attention Issue needs attention from Microsoft and removed Needs-Author-Feedback Issue needs attention from issue or PR author labels May 8, 2024
@Trenly
Copy link
Contributor

Trenly commented May 8, 2024

[Policy] msstore

@microsoft-github-policy-service microsoft-github-policy-service bot added the msstore Issue related to "msstore" REST source label May 8, 2024
@denelon denelon removed the Needs-Attention Issue needs attention from Microsoft label May 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Command-Install Issue related to WinGet Install Issue-Bug It either shouldn't be doing this or needs an investigation. msstore Issue related to "msstore" REST source
Projects
None yet
Development

No branches or pull requests

3 participants