I've just installed a fresh Xenial on a server box and almost immediately tried to install Docker on it.
The Docker installation page says that you have to create a /etc/apt/sources.list.d/docker.list
file and add just the docker repo source in it:
deb https://apt.dockerproject.org/repo ubuntu-xenial main
then, just going through the normal apt-get update & install
process.
This step is usually very easy but on this brand new xenial, the update
step timeouts all the time:
Failed to fetch https://apt.dockerproject.org/repo/dists/ubuntu-xenial/InRelease Connection timed out after 120000 milliseconds
The important point here is that Docker tells me that they don't have a InRelease
repo.
Normally, an apt-get update
should try the InRelease step, not find a signed inline source and should then try the the Release source.
My problem is that my brand new Xenial stops there without trying the Release
source.
How can I force Ubuntu to check the
https://apt.dockerproject.org/repo/dists/ubuntu-xenial/Release
source instead of https://apt.dockerproject.org/repo/dists/ubuntu-xenial/InRelease
?
If needed, here is the uname -a
result:
Linux sd-83589 4.4.0-22-generic #40-Ubuntu SMP Thu May 12 22:03:46 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
I had no problem installing other packages (zsh, screen, etc..)
Please feel free to ask me any additional information: I'm way over my knowledge on this so I probably have forgotten something...