chocolatey / chocolatey/choco

Display warning on attempt to uninstall chocolatey package

Open
#1,608 1 comment 0 reactions 0 assignees View on GitHub
0 - Backlog Enhancement
Dominant language
C#
Stars
11.5k
Forks
960
PR merge metrics
No merged PRs in 30d

Description

The following message is output when running choco uninstall choco:
"choco is not installed. Cannot uninstall a non-existent package."

It would be great if choco considered itself an installed package and could uninstall itself.

At the very least it would be more intuitive to say something to the effect of
"choco cannot uninstall itself" or "choco is the package manager, not a package. To uninstall choco please do the following..."

Contributor guide

Open the contributing guide

Research direction

Start by reproducing `choco uninstall choco` and tracing the uninstall command's handling of the `choco` package name. Done means the command no longer reports that choco is a nonexistent package, but instead displays a clear warning or instructions explaining that the package manager cannot uninstall itself.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
cli
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.