Docker Community Forums

Share and learn in the Docker community.

Cant't install : apt repo returns 403 forbidden

docker

(Wouter Menninga) #1

Hey peoples,

I’m having issues installing Docker on my new laptop and it’s a bit confusing.
I am following exactly the instructions as per https://docs.docker.com/engine/installation/linux/ubuntu/.
However, when I do the apt-get update, I get the following:

Hit:1 http://archive.ubuntu.com/ubuntu xenial InRelease
Hit:2 http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu xenial InRelease
Get:3 http://security.ubuntu.com/ubuntu xenial-security InRelease [102 kB]
Hit:4 http://archive.canonical.com/ubuntu xenial InRelease
Get:5 http://archive.ubuntu.com/ubuntu xenial-updates InRelease [102 kB]
Get:6 http://archive.ubuntu.com/ubuntu xenial-backports InRelease [102 kB]
Ign:7 https://apt.dockerproject.org/repo ubuntu-serena InRelease
Ign:8 https://apt.dockerproject.org/repo ubuntu-serena Release
Ign:9 https://apt.dockerproject.org/repo ubuntu-serena/main amd64 Packages
Ign:10 https://apt.dockerproject.org/repo ubuntu-serena/main i386 Packages
Ign:11 https://apt.dockerproject.org/repo ubuntu-serena/main all Packages
Ign:12 https://apt.dockerproject.org/repo ubuntu-serena/main Translation-en_US
Ign:13 https://apt.dockerproject.org/repo ubuntu-serena/main Translation-en
Ign:9 https://apt.dockerproject.org/repo ubuntu-serena/main amd64 Packages
Ign:14 http://packages.linuxmint.com serena InRelease
Ign:10 https://apt.dockerproject.org/repo ubuntu-serena/main i386 Packages
Ign:11 https://apt.dockerproject.org/repo ubuntu-serena/main all Packages
Ign:12 https://apt.dockerproject.org/repo ubuntu-serena/main Translation-en_US
Ign:13 https://apt.dockerproject.org/repo ubuntu-serena/main Translation-en
Ign:9 https://apt.dockerproject.org/repo ubuntu-serena/main amd64 Packages
Ign:10 https://apt.dockerproject.org/repo ubuntu-serena/main i386 Packages
Ign:11 https://apt.dockerproject.org/repo ubuntu-serena/main all Packages
Ign:12 https://apt.dockerproject.org/repo ubuntu-serena/main Translation-en_US
Ign:13 https://apt.dockerproject.org/repo ubuntu-serena/main Translation-en
Ign:9 https://apt.dockerproject.org/repo ubuntu-serena/main amd64 Packages
Hit:15 http://packages.linuxmint.com serena Release
Ign:10 https://apt.dockerproject.org/repo ubuntu-serena/main i386 Packages
Ign:11 https://apt.dockerproject.org/repo ubuntu-serena/main all Packages
Ign:12 https://apt.dockerproject.org/repo ubuntu-serena/main Translation-en_US
Ign:13 https://apt.dockerproject.org/repo ubuntu-serena/main Translation-en
Ign:9 https://apt.dockerproject.org/repo ubuntu-serena/main amd64 Packages
Ign:10 https://apt.dockerproject.org/repo ubuntu-serena/main i386 Packages
Ign:11 https://apt.dockerproject.org/repo ubuntu-serena/main all Packages
Ign:12 https://apt.dockerproject.org/repo ubuntu-serena/main Translation-en_US
Ign:13 https://apt.dockerproject.org/repo ubuntu-serena/main Translation-en
Err:9 https://apt.dockerproject.org/repo ubuntu-serena/main amd64 Packages
  403  Forbidden
Ign:10 https://apt.dockerproject.org/repo ubuntu-serena/main i386 Packages
Ign:11 https://apt.dockerproject.org/repo ubuntu-serena/main all Packages
Ign:12 https://apt.dockerproject.org/repo ubuntu-serena/main Translation-en_US
Ign:13 https://apt.dockerproject.org/repo ubuntu-serena/main Translation-en
Fetched 306 kB in 0s (521 kB/s)
Reading package lists...
W: The repository 'https://apt.dockerproject.org/repo ubuntu-serena Release' does not have a Release file.
E: Failed to fetch https://apt.dockerproject.org/repo/dists/ubuntu-serena/main/binary-amd64/Packages  403  Forbidden
E: Some index files failed to download. They have been ignored, or old ones used instead.

When I copy the suspect URL to the browser, it also returns 403 there.
I tried to change the url in the sources.list file to “deb https://apt.dockerproject.org/repo/ ubuntu-xenial main
” and then I do not get the error anymore.
However, I’m not entirely confident I will get the right version of Docker this way.
OS is Linux Mint 18.1.

Anybody have any ideas why I get this 404 error??


(Jkransen) #2

Same here, same OS, Linux Mint 18.1


(Gregoireh) #3

Same here too. Linux Mint 18.1 Any solutions found yet ?


(Wouter Menninga) #4

Like I said: I changed the url in the sources.list file to “deb https://apt.dockerproject.org/repo/4 ubuntu-xenial main”. I then was able to install Docker without further problems.

It looks like the aptitude repositories for the serena version simply do not exist, so we have to use the xenial version for now…


(Gregoireh) #5

Indeed, works fine. Thanks !


(Vladimir Chernyshev) #6

The same on the both repos, on https://download.docker.com/linux/ubuntu/gpg too.

"The request could not be satisfied. The Amazon CloudFront distribution is configured to block access from your country. " I’m in Ukraine now. What troubles are here?


(0legb) #7

Unable to reach servers from Ukraine:

Hopefully image maintainers didn’t black-list Ukraine for purpose:

https://aws.amazon.com/premiumsupport/knowledge-center/cloudfront-geo-restriction/