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

Unable to accept Terms of Transaction remotely #2819

Open
ExodoPlex opened this issue Jan 5, 2023 · 0 comments
Open

Unable to accept Terms of Transaction remotely #2819

ExodoPlex opened this issue Jan 5, 2023 · 0 comments
Labels
Issue-Bug It either shouldn't be doing this or needs an investigation.
Milestone

Comments

@ExodoPlex
Copy link

ExodoPlex commented Jan 5, 2023

Brief description of your issue

When attempting to run winget for the first time; winget prompts to accept Terms of Transaction stating the reason: The source requires the current machine's 2-letter geographic region to be sent to the backend service to function properly (ex. "AB").
On a local machine, you type 'y' and hit enter. However, when running remotely winget does not wait for the input response and simply returns the prompt reporting error: 0x8a150042: Error reading input in prompt

Steps to reproduce

Execute winget remotely on a machine that has not run winget previously using either PowerShellRemoteSession or a PowerShell script.

Expected behavior

Enter [Y] or [N] to answer input prompt and input is accepted.

Actual behavior

winget does not wait for the input response and simply returns the prompt reporting error: 0x8a150042 : Error reading input in prompt

Environment

Windows Package Manager v1.3.2691
Copyright (c) Microsoft Corporation. All rights reserved.

Windows: Windows.Desktop v10.0.19045.2364
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.18.2691.0
@ghost ghost added the Needs-Triage Issue need to be triaged label Jan 5, 2023
@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 Jan 6, 2023
@denelon denelon added this to the v1.5-Client milestone Jan 6, 2023
@denelon denelon modified the milestones: v1.5-Client, v.Next-Client Apr 18, 2023
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

No branches or pull requests

2 participants