-
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
Can't upgrade to Chocolatey 0.9.9.3 - The term 'false' is not recognized as the name of a cmdlet #215
Comments
I also had to manually restore from backup the Chocolatey folder from ProgramData as the rollback didn't work - I couldn't figure out how to force reinstall the previous version. |
Other packages (like nodejs, autohotkey ...) seem to fail as well; "The term 'false' is not recognized as the name of a cmdlet ..." |
Solution in issue #216 |
* Set $installArguments to the environment variable * Set $forcex86 to the environment variable * Set $packageParameters to the environment variable * Set $overrideArgs to the environment variable
Apparently I missed testing this change with POSH v4. I just made the fixes and tested against POSH v2 and v4. 0.9.9.4 incoming |
A regression introduced in abe92f3 which is just in 0.9.9.3 that was attempting to solve other issues caused choco to stop working completely in some versions of PowerShell, which have stricter requirements for setting booleans. Without this fix, chocolatey will continue to be unusable
And it's out. |
Just for reference, 0.9.9.4 works, but I couldn't upgrade due to the same bug. =) I had to do reinstall chocolatey 0.9.8.33 using the commands on chocolatey.org frontpage, then do a |
@nvivo did you still have the broken 0.9.9.3? i had to restore 0.9.9.2 from a backup and then I was able to upgrade to 0.9.9.4 without issue @ferventcoder btw, thanks for the prompt action on this |
I had the broken 0.9.9.3, and @nvivo's suggestion worked (though I did a couple of things slightly differently).
_NB: I did this by clicking the little copy button on the page_
@ferventcoder thanks for the quick response |
Not documented much of anywhere, but if you want the absolute latest version (including prereleases), you can run this command instead:
|
Some versions of PowerShell have stricter requirements around booleans. So in more modern versions of PowerShell, choco is completely broken due to this error.
Went to upgrade from 0.9.9.2 and got this:
Oops.
The text was updated successfully, but these errors were encountered: