-
Notifications
You must be signed in to change notification settings - Fork 905
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Installing Chocolatey 0.10.9 results in an exit code of 1 #1529
Comments
@matt-richardson thanks! |
As 0.10.9 is broken - see chocolatey/choco#1529
As 0.10.9 is broken - see chocolatey/choco#1529
As 0.10.9 is broken - see chocolatey/choco#1529
With Chocolatey v0.10.9 and #1401, we added a call to choco to initialize the config file during installation so that it was generated during and administrative run. That was done in commit 35add3b. A call to choco with no switches results in an exit code of 1 instead of 0. Recently a call to choco to create the config file on install was added as the last step in installing Chocolatey. Unfortunately this resulted in an install or upgrade of Chocolatey resulting in a 1 instead of a 0. Call choco -v instead ot show the version, which exits with a 0 and also ensures the first time generation of the chocolatey.config file.
* stable: (doc) update release notes (GH-1529) Fix: install of choco exit code 1 (GH-1532) Fix: proxy bypass with "*" causes regex error (GH-1531) Hold exclusive locks on non-essential logs (maint) formatting (maint) update copyright for assemblies (GH-1527) Fix: NuGet cache removal fixes (GH-1527) Use machine temp with systemprofile
@ferventcoder or any one please check the merge to stable branch failure? Waiting for 0.10.10 for the fix of this issue. Many thanks. |
@bigbearzhu merge failure? |
Yes, it is the commit 3fa08ca above. It failed on the coverage/coveralls check. Not sure whether that would stop the merge though. |
Saw the new release this morning. Thank you very much! |
@ferventcoder any idea when the chocolatey package would be updated on chocolatey.org? It is still 0.10.9 at the moment. |
What You Are Seeing?
Installing chocolatey is returning an exit code of 1.
What is Expected?
It should exit with
0
, rather than1
.How Did You Get This To Happen? (Steps to Reproduce)
Output Log
https://gist.github.com/matt-richardson/0003caf7b04bd4b684138bb994ea48fc
Further info
Raised in gitter - https://gitter.im/chocolatey/choco?at=5ab9f00fe3d0b1ff2c704ffe
Looks like we need to change over to
choco -v
instead.Choco Admin notes
This was caused by #1401 for 0.10.9.
The text was updated successfully, but these errors were encountered: