Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
https://get.docker.io/ubuntu breaks apt-cacher #9592
Comments
|
I have also had the same issue. For anyone not aware, if you are using
I've attempted to configure a direct proxy connection from the apt-cacher-ng configuration on my caching server so that it does not have to be defined per server but I haven't been successful yet/haven't spent much time trying. |
|
Contents of my The same error occurs whether I am using Here is my full
|
coulix
commented
Jan 1, 2015
|
Same issue on Trusty following with a simple |
jpellman
referenced this issue
Jan 19, 2015
Closed
Docker installation documentation points to an Ubuntu repo that does not appear to exist #10185
|
I think this has been resolved right? |
|
or is it an actual problem with the install script |
|
This is still a problem. It is something with how the apt repo is configured. It isn't a problem with the curl install script, just when you're pulling through an apt proxy like apt-cacher-ng. |
|
gotcha thanks for explaining |
jessfraz
added
the
bug
label
Feb 26, 2015
|
Just as a quick example of this working in action if anyone wants to look for any sort of testing:
|
jessfraz
added
white-belt
kind/enhancement
and removed
bug
labels
Mar 2, 2015
lancehudson
commented
Mar 3, 2015
|
I don't believe apt-cache-ng supports ssl. |
lancehudson
commented
Mar 3, 2015
|
I cheated and switched |
|
@lancehudson - Ah yes, you're correct. I am not sure why I didn't even think about that. So there are four possibly solutions. These must be done per server as there isn't anything that can be done to fix it Docker side as there isn't anything wrong:
|
mandoonandy
commented
Mar 5, 2015
|
Or even better. Follow the notes in the apt-cacher-ng config file that show how SSL can be passed through. In your apt-cacher-ng config file (acng.conf) add the following line:
|
|
Well huh... I could have sworn that I had tried that previously without any luck but here I am with that working perfectly. I think I attempted to use the patterns I found here unsuccessfully: saltstack-formulas/docker-formula#6 but for whatever reason didn't just try |
spf13
added
exp/beginner
kind/enhancement
and removed
kind/enhancement
white-belt
labels
Mar 21, 2015
|
I would think this issue can be closed as it is a misconfiguration of apt-cacher-ng essentially and nothing that can be fixed by docker. |
tiborvass
closed this
Mar 30, 2015
adamenger
commented
Jun 3, 2015
|
I'm getting this error while running the I don't think this is the appropriate place to report the issue since i'm not using apt-cacher. Should I open up a new one?
|
|
Hmm, it is acting like it is hitting a proxy. For kicks, could you try to add |
adamenger
commented
Jun 3, 2015
|
@mbentley You're a gentleman and a scholar. This was in a vagrant box that had some wonky proxy config set up. Thanks for your insight. For anybody who stumbles upon this problem be sure to check your |
goodniceweb
referenced this issue
Jun 29, 2015
Closed
Following Ubuntu installation instructions result in "Unable to locate package lxc-docker" #7422
goodwillcoding
commented
Sep 1, 2015
|
In case this helps anyone, here is a workaround to configure apt-cacher-ng to work with SSL: |
kversl
commented
Oct 30, 2015
|
possibly the quickest solution is to add a line into your
(this hint is also noted in goodwillcoding's reference) |
Frug
commented
Feb 26, 2016
|
In my situation, with the latest install instructions, adding |
mgcrea commentedDec 10, 2014
Following #7422
Since the recent switch from
httptohttps, it broke any setup relying onapt-cacher-ng.Your get
HTTP code 403 from proxy after CONNECTwhen performing an apt update.In my case, with ansible, it breaks any further
aptcommands.Removing the apt-cacher is not an option (orchestrating hundreds of machines).