machine icon indicating copy to clipboard operation
machine copied to clipboard

docker-machine create fails for ubuntu-xenial (16.04) host

Open FireballDWF opened this issue 10 years ago • 37 comments

docker-machine create fails on attempt install to a ubuntu-xenial (Beta 1) host due to http status 403 from https://apt.dockerproject.org/repo/dists/ubuntu-xenial/main/binary-amd64/Packages 403 Forbidden which can also be observed via this release (acknowledged still in Beta) not available at https://apt.dockerproject.org/repo/dists/

Release date is 4/21/16 per https://wiki.ubuntu.com/XenialXerus/ReleaseSchedule thus is less than 6 weeks away, so please start have a repo for this upcoming release

FireballDWF avatar Mar 13 '16 00:03 FireballDWF

Same here HTTP 403: Reading package lists... Done W: The repository 'https://apt.dockerproject.org/repo ubuntu-xenial Release' does not have a Release file. N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use. N: See apt-secure(8) manpage for repository creation and user configuration details. W: Failed to fetch https://apt.dockerproject.org/repo/dists/ubuntu-xenial/main/binary-amd64/Packages 403 Forbidden E: Some index files failed to download. They have been ignored, or old ones used instead. Reading package lists... Building dependency tree... Reading state information... E: Unable to locate package docker-engine

MrSpock avatar Mar 20 '16 10:03 MrSpock

Same issue here. I'm running 16.04 on bare metal, but can't get the xenial or wily repos to pull down a package file.

hensodon avatar Mar 23 '16 14:03 hensodon

@nathanleclaire You have at least 3 users who care enough about this to take the time to comment. Can support please be added? 22 days until GA release. Final Beta already released.

FireballDWF avatar Mar 30 '16 22:03 FireballDWF

@FireballDWF Thanks for reporting the issue. Does using the get.docker.com script directly work? We rely on this, so if it doesn't work for 16.04, there's not much we can do in Machineland in the near future to support it.

However, the good news is that even if the install script is not working today, it's very likely to be modified by upstream to start working soon. And, naturally, both Machine (if needed) and https://github.com/docker/docker will happily accept pull requests to enable this. Keep in mind also that right now most Docker projects are distracted preparing and fixing bugs for the next release, which will happen in ~2 weeks. So, that's currently taking priority over new features.

nathanleclaire avatar Mar 30 '16 22:03 nathanleclaire

No, it's still failing, but failure has changed. Someone in control of https://apt.dockerproject.org/repo/dists/ubuntu-xenial/ created that last subdir within past few hours, but has not yet published the actual docker-engine package to that subdir of your website, as of 19:17 ET.

Said another way, this is not a "source code is not working issue", it's a "binary-code" package is not deployed to where your script/code expects it to be for this named release of ubuntu.

FireballDWF avatar Mar 30 '16 23:03 FireballDWF

Hi, I need to install docker in Ubuntu 16.04, but I keep getting: Unable to locate package docker-engine .

ericoporto avatar Apr 06 '16 03:04 ericoporto

If you change the repository from main to testing it'll work for now until a tested package is released. On 6 Apr 2016 04:01, "Érico Vieira Porto" [email protected] wrote:

Hi, I need to install docker in Ubuntu 16.04, but I keep getting: Unable to locate package docker-engine .

— You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub https://github.com/docker/machine/issues/3184#issuecomment-206094978

cablespaghetti avatar Apr 07 '16 10:04 cablespaghetti

+1 not able to install docker on ubuntu 16.04 bare metal. @geekflyer

nicornk avatar Apr 21 '16 15:04 nicornk

I thought that upstream supported this, I will try and see if I can get it to work and whinge at @tiborvass if it doesn't ;)

nathanleclaire avatar Apr 21 '16 22:04 nathanleclaire

Ah, OK, looking around there seems to be an existing issue and I'm sure they're working on it.

nathanleclaire avatar Apr 21 '16 22:04 nathanleclaire

@FireballDWF @nathanleclaire fixed

tiborvass avatar Apr 21 '16 22:04 tiborvass

Ref: https://github.com/docker/docker/issues/22182

tiborvass avatar Apr 21 '16 22:04 tiborvass

MRW @tiborvass is on the case

image

nathanleclaire avatar Apr 21 '16 22:04 nathanleclaire

I know this issue has been closed, but unfortunately I still got 403 Error message:

W: The repository 'https://apt.dockerproject.org/repo ubuntu-xenial Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: Failed to fetch https://apt.dockerproject.org/repo/dists/ubuntu-xenial/main/binary-amd64/Packages  Received HTTP code 403 from proxy after CONNECT
E: Failed to fetch https://apt.dockerproject.org/repo/dists/ubuntu-xenial/main/binary-i386/Packages  Received HTTP code 403 from proxy after CONNECT
E: Some index files failed to download. They have been ignored, or old ones used instead.

and this is what I have in my docker.list file:

deb https://apt.dockerproject.org/repo ubuntu-xenial main

Do I miss anything?

hans-permana avatar Jun 12 '16 15:06 hans-permana

Just an additional to the previous comment, the http version of the repository link works fine for me.

hans-permana avatar Jun 12 '16 17:06 hans-permana

I have the same error on ubuntu 16.04,which install on openstack vm.

chinaares avatar Jul 12 '16 08:07 chinaares

I have the same error on Ubuntu 16.04.01

Err:5 https://apt.dockerproject.org/repo ubuntu-xenial InRelease Operation timed out after 0 milliseconds with 0 out of 0 bytes received Fetched 94.5 kB in 2min 0s (786 B/s) Reading package lists... Done W: Failed to fetch https://apt.dockerproject.org/repo/dists/ubuntu-xenial/InRelease Operation timed out after 0 milliseconds with 0 out of 0 bytes received W: Some index files failed to download. They have been ignored, or old ones used instead.

eric-lopez avatar Jul 27 '16 22:07 eric-lopez

I have the same problem too.

jonathanjbbr avatar Sep 25 '16 12:09 jonathanjbbr

+1

caneraydinbey avatar Sep 27 '16 04:09 caneraydinbey

I had issue with yakkety but I modified the sources.list and use the xenial dist

vi /etc/apt/sources.list

In order to check which dists are available, check this link: https://apt.dockerproject.org/repo/dists

ferOnti avatar Nov 03 '16 13:11 ferOnti