microsoft / microsoft/winget-cli

Uninstall requires source agreements

Open
#1,736 8 comments 5 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Issue-Docs Issue-Feature
Dominant language
C++
Stars
26.4k
Forks
1.8k
Avg merge
1d 11h
Merged PRs (30d)
15

Description

Brief description of your issue

After installing a package from the winget source or a local manifest, I am required to accept the msstore agreemenst before I am able to use winget to uninstall the package. Specifying a source on uninstall suppresses the message

Steps to reproduce
  1. Boot into a fresh vm or sandbox environment and ensure winget is installed
  2. Run winget install Google.Chrome --source winget and ensure the application installs successfully
  3. Run winget uninstall Google.Chrome
Expected behavior

I expect the package to be uninstalled without additional prompts. If a package was installed from the community repository or a local manifest, there should be no need to agree to the msstore terms in order to uninstall it.

Actual behavior

I am required to agree to the msstore terms. Using winget uninstall Google.Chrome --source winget does not prompt for the terms of service

Environment
PS C:\Users\WDAGUtilityAccount> winget --info
Windows Package Manager v1.1.12653
Copyright (c) Microsoft Corporation. All rights reserved.

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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the reported sequence in a fresh Windows VM: install Google.Chrome with winget install Google.Chrome --source winget, then run winget uninstall Google.Chrome without a source. Trace the uninstall command's source and agreement handling; done means packages installed from the winget source or a local manifest uninstall without prompting for Microsoft Store agreements.

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
Clearly specified
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.