How do I uninstall a Chocolatey package that won't go away?
8,611
I used --force
and it went away.
choco uninstall cyg-get --force
Related videos on Youtube
Author by
Chloe
Updated on September 18, 2022Comments
-
Chloe almost 2 years
C:\Users\Chloe>choco uninstall cyg-get Chocolatey v0.10.8 Uninstalling the following packages: cyg-get cyg-get v1.1.0 Skipping auto uninstaller - No registry snapshot. Chocolatey uninstalled 1/1 packages. See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log). C:\Users\Chloe>choco list --local-only cyg-get Chocolatey v0.10.8 cyg-get 1.1.0 cygwin 1.7.23.20130814 2 packages installed.
-
ferventcoder over 6 yearsThat typically does it, you can also add
-n
to ensure it doesn't run scripts. If all else fails, head to$env:ChocolateyInstall\lib
and remove the folder for the package. -
Chloe over 6 years@ferventcoder I did try
-n
but that didn't help. I see that I didn't copy that in the question. I also tried another longer--
option it suggested that I can't remember. I believe I did try to delete a folder in a Chocolatey folder, but when I ranupgrade all
it added it back. -
ferventcoder over 6 yearsIt means that there was possibly an older lingering version still sitting around that needed to also be removed.