-
Notifications
You must be signed in to change notification settings - Fork 232
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
Problems with proxy on docker on Fedora 30 #227
Comments
Hello! I have the same issue. Did you solve it? |
@MarkLTZ No, unfortunately I did not. I still suspect that there is something going on with the docker networking / proxy, but I have never used docker before, so I am kinda flying blind here... :( If you have a breakthrough, please let me know. |
ok. for the moment I have configured it using ubuntu on Virtual Box |
See #228 (comment). |
@abitmore Thanks for replying. How do you run that command on Fedora? I don't think apt-cacher-ng is included in the latest Fedora. |
If I'm correct, Fedora doesn't have |
Could also run apt-cacher-ng in a docker container - maybe https://github.com/deployable/docker-apt-cacher-ng . But I haven't tried it myself. Pull requests to improve docs and/or disable caching would be appreciated. |
I was experiencing the same issue and managed to resolve it by restarting the apt-cacher service.
|
@devrandom I'm experiencing the same output as OP when trying to setup using the gitian script with docker on Ubuntu 20.04.
Does this mean I shouldn't be using the gitian script to setup? |
It is a known issue that Gitian depends on an apt-cache mirror. You can set it to some host other than the default via the MIRROR_HOST environment variable. The PR #249 seems promising, but I'm still waiting for the author to make the modification I requested. |
I have a clean Fedora 30 netinstall
When running
bin/make-base-vm --docker --arch amd64
I see this
Step 3/8 : RUN echo 'Acquire::http { Proxy "http://172.17.0.1:3142"; };' > /etc/apt/apt.conf.d/50cacher
followed by the error
E: Failed to fetch http://security.ubuntu.com/ubuntu/dists/xenial-security/main/binary-amd64/Packages Unable to connect to 172.17.0.1:3142:
I have a feeling it may as well be a docker problem, but I can't figure out where to go from here.
I get similar errors about failing to fetch from the proxy when trying to run with
--dist debian
or other--suite
.Full output:
The text was updated successfully, but these errors were encountered: