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.
答案1
我用过--force
之后它就消失了。
choco uninstall cyg-get --force
答案2
对于我来说,包已损坏,运行 choco uninstall --force 时出现错误,因此我以老式的方式卸载,然后运行 choco uninstall,这样它会删除引用,并且不会在下次运行时尝试升级它