You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There should be an option to allow Chocolatey to stop the chain of installs if one of the items fails. It should be an opt-in option / feature as most folks would be using Chocolatey where dependencies are app to app (most of the time).
The feature is stopOnFirstPackageFailure, but it is not recommended as it will also be applied to choco upgrade all and if a package fails, it won't continue with the upgrade process of other packages.
Instead, add --stop-on-first-failure to your install/upgrade/uninstall options.
The text was updated successfully, but these errors were encountered:
Add option/feature to stop on first package failure. Although it is
normally recommended to let the process continue when one package
fails, sometimes it is best to stop further action from occurring.
* stable:
(GH-1098) Get-FtpFile - change int to long / improve error handling
(docs) update generated docs
(GH-1187) Get-ChocolateyUnzip - support both archs
(GH-1039) Remove quotes before testing path
(GH-686) Upgrade Scenarios for Prereleases
(GH-686) Upgrade Prereleases
(GH-1151) Option - Stop on first package failure
(GH-902) Fix: User changed to SYSTEM during env update
ferventcoder
changed the title
Option/feature to stop installation when a dependency fails
Option/feature to stop installation when a package fails
Mar 21, 2017
There should be an option to allow Chocolatey to stop the chain of installs if one of the items fails. It should be an opt-in option / feature as most folks would be using Chocolatey where dependencies are app to app (most of the time).
Reference
Originally we switched from doing this automatically way back in 0.9.8.25. However in discussion @rismoney asked for a full stop if there was a failure in the chain - chocolatey-archive/chocolatey#192 (comment).
Features / Options
The feature is
stopOnFirstPackageFailure
, but it is not recommended as it will also be applied to choco upgrade all and if a package fails, it won't continue with the upgrade process of other packages.Instead, add
--stop-on-first-failure
to your install/upgrade/uninstall options.The text was updated successfully, but these errors were encountered: