Open ferm10n opened 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
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:
/cygwinsetup.exe --quiet-mode --no-admin --no-shortcuts --remove-packages python2
/cygwinsetup.exe --quiet-mode --no-admin --no-shortcuts --remove-packages git
/cygwinsetup.exe --quiet-mode --no-admin --no-shortcuts --remove-categories Python
/cygwinsetup.exe --quiet-mode --no-admin --no-shortcuts --prune-install
/cygwinsetup.exe --quiet-mode --no-admin --no-shortcuts --packages every-package, you, had, before,
except, what, you, wanted, to, uninstall
/cygwinsetup.exe --quiet-mode --no-admin --no-shortcuts --package-manager
Please give me guidance on what the desired behavior is.
What You Are Seeing?
Error when uninstalling git with cygwin source:
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.