阅读文档,似乎我应该能够使用-x
标志安装包及其依赖项。但是当我尝试使用命令choco uninstall javaruntime -x
卸载javaruntime软件包时,由于依赖性而失败。
它给了我这个错误:
> choco uninstall javaruntime -x
Chocolatey v0.10.1
Uninstalling the following packages:
javaruntime
javaruntime not uninstalled. An error occurred during uninstall:
Unable to uninstall 'javaruntime 8.0.101' because 'groovy 2.3.6' depends on it.
Chocolatey uninstalled 0/1 packages. 1 packages failed.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
Failures
- javaruntime (exited 1) - javaruntime not uninstalled. An error occurred during uninstall:
Unable to uninstall 'javaruntime 8.0.101' because 'groovy 2.3.6' depends on it.
我做错了吗?