Я пытался обновить Java 1.7 до 1.8, используя инструкции, которые ранее работали для моей сборки Debian Jessie.
Вот что я делаю:
sudo apt-get update sudo apt-get upgrade sudo apt install -t jessie-backports openjdk-8-jre-headless ca-certificates-java sudo apt-get install openjdk-8-jre-headless sudo update-alternatives --config java // select the jdk8 version
Просто sudo apt-get update я получаю следующую порцию ошибок:
sudo apt-get update
Err http://httpredir.debian.org jessie-updates/main Sources 404 Not Found [IP: 151.101.248.204 80] Err http://httpredir.debian.org jessie-updates/contrib Sources 404 Not Found [IP: 151.101.248.204 80] Err http://httpredir.debian.org jessie-updates/non-free Sources 404 Not Found [IP: 151.101.248.204 80] Err http://httpredir.debian.org jessie-updates/main amd64 Packages 404 Not Found [IP: 151.101.248.204 80] Err http://httpredir.debian.org jessie-updates/contrib amd64 Packages 404 Not Found [IP: 151.101.248.204 80] Err http://httpredir.debian.org jessie-updates/non-free amd64 Packages 404 Not Found [IP: 151.101.248.204 80] W: Failed to fetch http://cloudfront.debian.net/debian/dists/jessie-backports/main/source/Sources 404 Not Found [IP: 99.84.181.117 80] W: Failed to fetch http://cloudfront.debian.net/debian/dists/jessie-backports/main/binary-amd64/Packages 404 Not Found [IP: 99.84.181.117 80] W: Failed to fetch http://http.debian.net/debian/dists/jessie-backports/main/binary-amd64/Packages 404 Not Found [IP: 151.101.248.204 80] W: Failed to fetch http://httpredir.debian.org/debian/dists/jessie-updates/main/source/Sources 404 Not Found [IP: 151.101.248.204 80] W: Failed to fetch http://httpredir.debian.org/debian/dists/jessie-updates/contrib/source/Sources 404 Not Found [IP: 151.101.248.204 80] W: Failed to fetch http://httpredir.debian.org/debian/dists/jessie-updates/non-free/source/Sources 404 Not Found [IP: 151.101.248.204 80] W: Failed to fetch http://httpredir.debian.org/debian/dists/jessie-updates/main/binary-amd64/Packages 404 Not Found [IP: 151.101.248.204 80] W: Failed to fetch http://httpredir.debian.org/debian/dists/jessie-updates/contrib/binary-amd64/Packages 404 Not Found [IP: 151.101.248.204 80] W: Failed to fetch http://httpredir.debian.org/debian/dists/jessie-updates/non-free/binary-amd64/Packages 404 Not Found [IP: 151.101.248.204 80] E: Some index files failed to download. They have been ignored, or old ones used instead.
Я даже не буду переходить к следующей команде, которая является командой обновления, потому что она также возвращает 404 с.