microsoft / microsoft/winget-cli
Uninstall requires source agreements
Nobody has claimed this yet.
- 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
- Boot into a fresh vm or sandbox environment and ensure winget is installed
- Run
winget install Google.Chrome --source wingetand ensure the application installs successfully - 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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