Skip to content

list requires accepting package source's license agreement #1559

@bgribaudo

Description

@bgribaudo

Brief description of your issue

On a brand new install of winget (really an auto-install, due to the recent push deploy rollout of the app), running winget list strangly prompts to accept msstore terms. Since list outputs what's installed on my system, it seems strange for it to prompt about something related to an external source.

Steps to reproduce

winget list

Expected behavior

List of installed applications should be displayed.

Actual behavior

PS> winget list
The `msstore` source requires that you view the following agreements before using.
Terms of Transaction: https://aka.ms/microsoft-store-terms-of-transaction
The source requires current machine's geographic region to be sent to function properly.

Do you agree to all the source agreements terms?
[Y] Yes  [N] No: n
One or more of the source agreements were not agreed to. Operation cancelled. Please accept the source agreements or remove the corresponding sources.

It's unexpected (and seems inappropriate) for the request to list locally installed packages to require accepting an external source's terms. Why is an external source involved at all when displaying details from my local environment? Shouldn't msstore agreement acceptance only be required when installing or searching/viewing package info from a source? :-)

Environment

Windows: Windows.Desktop v10.0.19043.1237
Package: Microsoft.DesktopAppInstaller v1.16.12653.0

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions