chocolatey / chocolatey/choco

Allow dependencies to be ignored when uninstalling a package

Open
#892 1 comment 1 reaction 0 assignees View on GitHub
0 - Backlog Blocked - External Dependency - Chocolatey.NuGet.Client Enhancement
Dominant language
C#
Stars
11.5k
Forks
960
PR merge metrics
No merged PRs in 30d

Description

Scenario:
I install visual studio test agents.

It depends on VirtualCloneDrive - only for the the install to mount an ISO.

VirtualCloneDrive leaves a shortcut on the desktop and I'd like to remove any excess virtual drivers that aren't necessarily tested in cloud environments.

Doing "choco uninstall" gives a message that it cannot be removed because something depends on it.

In this case I know the dependency was only for installation, so I would like to remove it anyway.

Let me know if there is a work around. However, even if there is a work around -ignoredependencies might be easier to find and a little more consistent with "choco install" ?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.