It gave me this error:
> 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.< br />
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.
Am I doing something wrong?
choco uninstall webdeploy -x
webdeploy can be changed to the target package to be uninstalled.
Reading the documentation, it seems that I should be able to install the package and its dependencies using the -x flag. But when I try When using the command choco uninstall javaruntime -x to uninstall the javaruntime package, it failed due to dependency.
It gave me this error:
> 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 uninsta ll'javaruntime 8.0.101' because'groovy 2.3.6' depends on it.
Am I doing something wrong?
Try this:
choco uninstall webdeploy -x
webdeploy can be changed to the target package to be uninstalled.