I had to rebuild a docker container this past week, and as part of a 16.04 container creation, it does an apt-get install openjdk-8-jdk which fails with a 404 error.
Switching to apt-get install default-jdk tries to pull the same package and, likewise, fails with a 404 error. See below. As is normal practice, I run apt-get update before trying this.
Get:168 http://archive.ubuntu.com/ubuntu xenial/main amd64 libxi6 amd64 2:1.7.6-1 [28.6 kB]
Get:169 http://archive.ubuntu.com/ubuntu xenial/main amd64 libxrender1 amd64 1:0.9.9-0ubuntu1 [18.5 kB]
Err:170 http://security.ubuntu.com/ubuntu xenial-security/main amd64 openjdk-8-jre-headless amd64 8u151-b12-0ubuntu0.16.04.2
404 Not Found [IP: 91.189.88.162 80]
Get:171 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 ca-certificates-java all 20160321ubuntu1 [12.5 kB]
Err:170 http://security.ubuntu.com/ubuntu xenial-security/main amd64 openjdk-8-jre-headless amd64 8u151-b12-0ubuntu0.16.04.2
404 Not Found [IP: 91.189.88.162 80]
Did the 16.04 repos get all wonky all of a sudden?
Thanks much!