-
Notifications
You must be signed in to change notification settings - Fork 162
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
choco feature enable -n allowEmptyChecksums #198
Comments
I have the same issue (breaking in gist, working natively). Funnily enough, when I put |
Yeah. Exact same thing I was a bit lazy and didn't copy the whole output |
Boxstarter runs with an embedded chocolatey.dll and does not leverage choco.exe. So the version of chocolatey currently bundled with boxstarter does not understand what |
Mark thanks so much does the same apply to Choco feature enable or is that usable? I love this program by the way been a long time since I had this much fun |
Thanks @deckerjohn! I think feature enable is the same story. |
SO, within the space of a month, my automated deployment system has gone from working to useless Packages which installed on our test servers a month ago, i come back to test before a roll out and now i get
so i think, ok, i'll add no difference ok, i'll add the
no joy each a package is tried to be installed and the visual output of choco help So is this something which can be fixed soon in boxstarter, do i need to do something on my proget repo or do i need to spend more time working on this solution? So far mwrock has explained WHAT is causing the problem, was wondering if there was a timescale on a fix? (And please don't take this the wrong way, i have a huge appreciation for what you've done here, its a fantastic package.. this problem has just knocked me back as i've got to find another method rather than BoxStarter to get this working :-( ) |
@mightywomble you might want to have a look at the suggestions that were made here: https://gitter.im/chocolatey/choco?at=57b456a68d93113d5f039dac To see if that will help you out. |
To echo that thread, there are incompatibilities with boxstarter and the latest chocolatey releases. The best way to work around this, though admittedly not a great solution is to uninstall chocolatey 0.10.0. In the past, having boxstarter coexist with newer versions of chocolatey has not been a problem but 0.10.0 is a (intentionally) breaking change and its powershell helper files require the |
Thanks, i'll give downgrading a go, For anyone else having this issue Does appear to fix the problem (pretty obvious now i think about it, however on a plus side I did manage to make some internal php scripts run better, so not all bad today) |
@mwrock quick question, is there somewhere listed the chocolaty parameters which boxstarter does understand at present? I couldn't find these and i think they may be quite useful.. |
I had hoped to update the chocolatey dll a couple weeks back but ran into a couple fundamental incompatibilities that require either some updates to choco or ratrher deep refactorings to boxstarter. I need to do some more debugging to determine if a small update/fix in chocolatey can be made to accomodate boxstarter before moving to a major version change in boxstarter. Boxstarter currently ships with the equivilent of chocolatey |
I went to look up that version. I need to spend more time with BoxStarter source (it wasn't obvious). |
Thats handled by a build task @ferventcoder https://github.com/mwrock/boxstarter/blob/master/BuildScripts/default.ps1#L230 |
That's not entirely accurate - Boxstarter is installing the latest chocolatey, version 0.10.0. I just ran it and it keeps failing due to the new requirements. I specifically did not install chocolatey as part of my gist, to see if Boxstarter's version would work better. It didn't. Here is my boxstarter log file: and here is my gist file: |
Well your package is installing chocolatey (https://gist.githubusercontent.com/flatlinebb/3b807d3b2afe248f02956740fc27dd10/raw/71bdd58d436f241b13b74eb1ea8d4bca0309fbe9/gistfile1.txt) that will install the latest version. |
I will take that part out and try again. I thought I already did, but maybe EDIT: EDIT2: |
I resolved by downgrading chocolatey with no ill effects on my build script. Thanks for everyones input on this thread I learned a lot!! |
Let's not close this, boxstarter still needs to have this ability. |
Ok, sorry I'm new to all the proceedings around here :-) |
Not a problem at all. You should see a re-open button below, since you created the issue. Can you click that? |
Another workaround you can do is set |
Another workaround - use |
I added all of the different options you have when you run into this issue here: chocolatey/choco#112 (comment) The first option is consumer-based. Did you know you could pass the checksums yourself (of course boxstarter needs upgrade chocolatey.lib to support it first)? |
Hmm.. BoxStarter seems to use whatever version of Chocolatey is installed if Chocolatey is installed first. I proved this by doing just that and then using the "downgrade" option of Chocolatey and the BoxStarter Shell recognized the "updated" older version of Chocolatey now installed. This did trigger some inconvenience and explains why using our scripts from scratch mostly works vs. our "advanced" instructions which start with installing Chocolatey and BoxStarter manually first and are totally broken. Usually, each person is required to go the advanced route as when we use the straight script that grabs/installs BoxStarter from boxstarter.org, it fails with that silly .NET 2.0 error. Not always, but I tend to blame our "enterprise" restrictions. |
@sumo300 are you doing this from inside the Boxstarter shell or just via the web or an Invoke-Boxstarter call with a script using cinst/choco? |
@dragon788 Inside the BoxStarter Shell. |
When you say the script that grabs boxstarter from the website, do you mean Good to know that can use the newer versions come out although I found |
I just tried boxstarting my fresh Windows installation, but a quarter of the packages (25 of 80+ total) failed due to missing checksums. Just after the failure I came to read about it here. Will there be a fix rather than the workarounds? Because it seems, the packages won't all be upated with checksums any time soon. |
You mean a fix to boxstarter? Or something else? |
A fix to boxstarter. I thought that's why the issue is still open. Fortunately I was easily able to install the failed packages afterwards in one go thanks to choco. |
Was thinking so but just making sure :) |
PR #219 merged. Boxstarter uses a later version of Chocolatey lib now. Resolving this issue. |
Hello,
Not sure if anyone can help me but boxstarter seems to ignore this or I am missing some sort of extra switch? If I throw this in a gist or txt it gets ignored, or seems to. I also cannot seem to use
--allowEmptyChecksums. Both switches seem to work fine if I run chocolatey natively
Thanks for anyones help
The text was updated successfully, but these errors were encountered: