-
-
Notifications
You must be signed in to change notification settings - Fork 792
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
apt-get throws exit code 100 when upgrading docker #30
Comments
The recipe is using the --force-yes option for the package resource, which is not the same as -f (fix broken) like you have above. What happens when you run with --force-yes? Can you post the DEBUG output from the Chef run? I'll test later this evening myself. |
Okay, I could confirm and create a reproducible case of the behavior you were seeing by:
In your case and judging from your bug report, I imagine you actually might have been seeing this issue even without specifying In any event, the fix is specifying some additional dpkg options to the package installation/upgrade: I'm pushing out 0.19.1 shortly with this fix. Can you please test this out? Thanks! Aside: The Docker folks could switch to submitting to the Ubuntu repositories or a better packaging tool that allows using real version tags (lxc-docker=0.7.0) instead of renaming the packages (lxc-docker-0.7.0). Wouldn't necessarily have helped here, but would make things slightly easier IMO for everyone. See/vote here: moby/moby#979 |
+1 to that fix. It corrected the issues for me |
Awesome. Going to close this out, but please don't hesitate to reopen if things are still not working. |
Hey,
When I'm using the cookbook to upgrade docker, it fails with exit code 100. Upon logging into the machine and running "apt-get -f install" I see this:
This is obviously expected, as the chef cookbook overwrites this file. I think we need to somehow preseed dpkg to know what to do in this scenario, then ensure we overwrite the docker.conf + restart docker again AFTER the package installs.
I'm not sure how to do this though, but I can look into it when I have time if you aren't sure either.
The text was updated successfully, but these errors were encountered: