Ошибка apt-get в образе докера i386 / debian - PullRequest
0 голосов
/ 04 июля 2018

У меня 32-битный сервер Ubuntu, работающий 17.10 Artful и с docker.io установленным (насколько я понимаю, это единственная версия, доступная для 32-битной версии)

jonny@grizzly ~ $ lsb_release -cs
artful
jonny@grizzly ~ $ apt list | grep docker.io

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

4384:docker.io/artful,now 1.13.1-0ubuntu6 i386 [installed]

Я пытаюсь использовать i386/debian изображение (я также пробовал 32bit/Ubuntu с похожими результатами), и у меня проблемы с apt-get. Источники, кажется, настроены разумно, но apt-get update получает 404 ошибки. Попадание тех же URL-адресов (с добавлением .gz) из браузера работает нормально. ping работает в образе Docker, wget & curl недоступны, поэтому не смогли дополнительно диагностировать возможные проблемы с сетью.

jonny@grizzly ~ $ docker run -it i386/debian /bin/bash
root@1023ad95222c:/# more /etc/apt/sources.list
deb http://deb.debian.org/debian stretch main
deb http://security.debian.org/debian-security stretch/updates main
deb http://deb.debian.org/debian stretch-updates main
root@1023ad95222c:/# apt-get update
Ign:1 http://security.debian.org/debian-security stretch/updates InRelease
Ign:2 http://security.debian.org/debian-security stretch/updates Release
Ign:3 http://deb.debian.org/debian stretch InRelease
Ign:4 http://deb.debian.org/debian stretch-updates InRelease
Ign:5 http://deb.debian.org/debian stretch Release
Ign:6 http://security.debian.org/debian-security stretch/updates/main all Packages
Ign:7 http://security.debian.org/debian-security stretch/updates/main i386 Packages
Ign:6 http://security.debian.org/debian-security stretch/updates/main all Packages
Ign:7 http://security.debian.org/debian-security stretch/updates/main i386 Packages
Ign:8 http://deb.debian.org/debian stretch-updates Release
Ign:6 http://security.debian.org/debian-security stretch/updates/main all Packages
Ign:7 http://security.debian.org/debian-security stretch/updates/main i386 Packages
Ign:9 http://deb.debian.org/debian stretch/main all Packages
Ign:6 http://security.debian.org/debian-security stretch/updates/main all Packages
Ign:10 http://deb.debian.org/debian stretch/main i386 Packages
Ign:11 http://deb.debian.org/debian stretch-updates/main i386 Packages
Ign:12 http://deb.debian.org/debian stretch-updates/main all Packages
Ign:7 http://security.debian.org/debian-security stretch/updates/main i386 Packages
Ign:9 http://deb.debian.org/debian stretch/main all Packages
Ign:6 http://security.debian.org/debian-security stretch/updates/main all Packages
Ign:10 http://deb.debian.org/debian stretch/main i386 Packages
Ign:7 http://security.debian.org/debian-security stretch/updates/main i386 Packages
Ign:11 http://deb.debian.org/debian stretch-updates/main i386 Packages
Ign:6 http://security.debian.org/debian-security stretch/updates/main all Packages
Ign:12 http://deb.debian.org/debian stretch-updates/main all Packages
Err:7 http://security.debian.org/debian-security stretch/updates/main i386 Packages
  404   [IP: 212.211.132.250 80]
Ign:9 http://deb.debian.org/debian stretch/main all Packages
Ign:10 http://deb.debian.org/debian stretch/main i386 Packages
Ign:11 http://deb.debian.org/debian stretch-updates/main i386 Packages
Ign:12 http://deb.debian.org/debian stretch-updates/main all Packages
Ign:9 http://deb.debian.org/debian stretch/main all Packages
Ign:10 http://deb.debian.org/debian stretch/main i386 Packages
Ign:11 http://deb.debian.org/debian stretch-updates/main i386 Packages
Ign:12 http://deb.debian.org/debian stretch-updates/main all Packages
Ign:9 http://deb.debian.org/debian stretch/main all Packages
Ign:10 http://deb.debian.org/debian stretch/main i386 Packages
Ign:11 http://deb.debian.org/debian stretch-updates/main i386 Packages
Ign:12 http://deb.debian.org/debian stretch-updates/main all Packages
Ign:9 http://deb.debian.org/debian stretch/main all Packages
Err:10 http://deb.debian.org/debian stretch/main i386 Packages
  404   [IP: 130.89.148.14 80]
Err:11 http://deb.debian.org/debian stretch-updates/main i386 Packages
  404   [IP: 130.89.148.14 80]
Ign:12 http://deb.debian.org/debian stretch-updates/main all Packages
Reading package lists... Done
W: The repository 'http://security.debian.org/debian-security stretch/updates 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: The repository 'http://deb.debian.org/debian stretch 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: The repository 'http://deb.debian.org/debian stretch-updates 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 http://security.debian.org/debian-security/dists/stretch/updates/main/binary-i386/Packages  404   [IP: 212.211.132.250 80]
E: Failed to fetch http://deb.debian.org/debian/dists/stretch/main/binary-i386/Packages  404   [IP: 130.89.148.14 80]
E: Failed to fetch http://deb.debian.org/debian/dists/stretch-updates/main/binary-i386/Packages  404   [IP: 130.89.148.14 80]
E: Some index files failed to download. They have been ignored, or old ones used instead.

Я пробовал разные зеркала, которые нашел в Интернете, без разницы. Я также пробовал несколько разных версий / тегов образа докера i386/debian. На этом сервере не используется прокси Есть ли какие-то другие шаги, которые я могу здесь пропустить?

...