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 0x80d03002 : unknown error #1076

Closed
vaughan-naidoo opened this issue Jun 2, 2021 · 3 comments · Fixed by #1138
Closed

winget install results in 0x80d03002 : unknown error #1076

vaughan-naidoo opened this issue Jun 2, 2021 · 3 comments · Fixed by #1138
Labels
Issue-Bug It either shouldn't be doing this or needs an investigation.
Milestone

Comments

@vaughan-naidoo
Copy link

Brief description of your issue

winget install results in 0x80d03002 : unknown error

Steps to reproduce

In Powershell issue the following command:

winget install 'Visual Studio Code'

Expected behavior

Installation of visual studio code should begin.

Actual behavior

Found Visual Studio Code [Microsoft.VisualStudioCode]
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
Downloading https://az764295.vo.msecnd.net/stable/054a9295330880ed74ceaedda236253b4f39a335/VSCodeUserSetup-x64-1.56.2.exe
An unexpected error occurred while executing the command:
0x80d03002 : unknown error

Environment

Windows Package Manager v1.0.11451
Windows: Windows.Desktop v10.0.19043.985
Package: Microsoft.DesktopAppInstaller v1.11.11451.0

Any other software?

@ghost ghost added the Needs-Triage Issue need to be triaged label Jun 2, 2021
@denelon
Copy link
Contributor

denelon commented Jun 2, 2021

@vaughan-naidoo we've seen this error on a few different machines. We believe it is related to Delivery Optimization and possibly enterprise managed settings. You can try to change your winget settings to specify "wininet" for the download mechanism.

Example from settings.json:

{
    "$schema": "https://aka.ms/winget-settings.schema.json",

    // For documentation on these settings, see: https://aka.ms/winget-settings
    // "source": {
    //    "autoUpdateIntervalInMinutes": 5
    // },

    "network": {"downloader": "wininet"}
    }
}

@denelon denelon added Issue-Bug It either shouldn't be doing this or needs an investigation. and removed Needs-Triage Issue need to be triaged labels Jun 2, 2021
@vaughan-naidoo
Copy link
Author

Thank you @denelon that fixed it.

@EJacobowitz
Copy link

Thank you @denelon this fixed the issue for me too.

for others with the same issue, I didn't have a settings.jason. I had to type winget.exe settings and this created the file in the following path $env:LOCALAPPDATA\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState

then I updated based on denelon's post above and I am loving winget.exe now.

@denelon denelon added this to To Do in Client-Bugs via automation Jun 3, 2021
@ghost ghost added the In-PR Issue related to a PR label Jun 9, 2021
Client-Bugs automation moved this from To Do to Done Jun 9, 2021
@ghost ghost added Resolution-Fix-Committed and removed In-PR Issue related to a PR labels Jun 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue-Bug It either shouldn't be doing this or needs an investigation.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants