chocolatey / choco

Chocolatey - the package manager for Windows
https://chocolatey.org
Other
10.07k stars 891 forks source link

Unable to uninstall package with cygwin source #1355

Open ferm10n opened 7 years ago

ferm10n commented 7 years ago

What You Are Seeing?

Error when uninstalling git with cygwin source:

Uninstalling the following packages:
git
Cygwin does not implement upgrade

What is Expected?

git should be uninstalled

How Did You Get This To Happen? (Steps to Reproduce)

choco uninstall -y git -source cygwin -dv

Output Log

GIST LINK - https://gist.github.com/ferm10n/fbf3c5a74771d6c9e91bf89c8e0f3d85

Am I just not using this command correctly? Searches for that error message yielded no results.

ferventcoder commented 7 years ago

You are not missing anything. This functionality has not been added to the alternative cygwin source. I added this as an up for grabs feature. :D

ghost commented 6 years ago

Hey @ferventcoder ! I’m interested in working on this, and I’ve already done some research. First and foremost, my intention was to mirror the same methods used for installing packages in Cygwin in CygwinService.cs, but for uninstalling. However, while git uninstalls correctly with this method, there are a number of issues:

The options I see are:

Please give me guidance on what the desired behavior is.