简体   繁体   English

Window docker无法从任何Linux存储库中进行“ apt-get更新”

[英]Window docker can't do “apt-get update” from any linux repos

W: The repository ' http://deb.debian.org/debian stretch Release' does not have a Release file. W:存储库“ http://deb.debian.org/debian Stretch Release”没有发布文件。

W: The repository ' http://deb.debian.org/debian stretch-updates Release' does not have a Release file. W:信息库“ http://deb.debian.org/debian Stretch-updates发布”没有发布文件。

E: Failed to fetch http://deb.debian.org/debian/dists/stretch/main/binary-amd64/Packages 404 Not Found E:无法获取http://deb.debian.org/debian/dists/stretch/main/binary-amd64/Packages 404未找到

E: Failed to fetch http://cdn-fastly.deb.debian.org/debian/dists/stretch/main/binary-all/Packages 404 Not Found E:无法获取http://cdn-fastly.deb.debian.org/debian/dists/stretch/main/binary-all/Packages 404未找到

E: Failed to fetch http://deb.debian.org/debian/dists/stretch-updates/main/binary-amd64/Packages 404 Not Found E:无法获取http://deb.debian.org/debian/dists/stretch-updates/main/binary-amd64/Packages 404未找到

E: Failed to fetch http://cdn-fastly.deb.debian.org/debian/dists/stretch-updates/main/binary-all/Packages 404 Not Found E:无法获取http://cdn-fastly.deb.debian.org/debian/dists/stretch-updates/main/binary-all/Packages 404未找到

E: Some index files failed to download. E:某些索引文件下载失败。 They have been ignored, or old ones used instead. 它们已被忽略,或改用旧的。

ERROR: Service 'php' failed to build: The command '/bin/sh -c apt-get update && apt-get install -y zlib1g-dev libicu-dev g++ git openssh-client libpng-dev && docker-php-ext-configure intl && docker-php-ext-install intl pdo_mysql zip' returned a non-zero code: 100 错误:服务'php'生成失败:命令'/ bin / sh -c apt-get update && apt-get install -y zlib1g-dev libicu-dev g ++ git openssh-client libpng-dev && docker-php-ext -configure intl && docker-php-ext-install intl pdo_mysql zip'返回了非零代码:100

Dockerfile: Dockerfile:

FROM php:7.0.30-apache
LABEL maintainer="Alefe Souza <contact@alefesouza.com>"

RUN a2enmod rewrite

RUN apt-get update \
 && apt-get install -y zlib1g-dev libicu-dev g++ git openssh-client libpng-dev \
 && docker-php-ext-configure intl \
 && docker-php-ext-install intl pdo_mysql zip

Do you need the stretch release or can you switch to php:7.0.32-apache-jessie ? 您是否需要拉伸发行版,或者可以切换到php:7.0.32-apache-jessie?

I had the same issue this morning, and bypassed it by switching my base image from php:7.1.23-fpm to php:7.1.23-fpm-jessie 今天早上我遇到了同样的问题,并通过将基本映像从php:7.1.23-fpm切换到php:7.1.23-fpm-jessie来绕过了它

EDIT: ignore the above, Debian seems to be having an outage, we just have to wait 编辑:忽略以上内容,Debian似乎正在中断,我们只需要等待

Debian site seems down, I also got 404 on the following: Debian网站似乎掉线了,我在以下网站上也看到了404:

cdn-fastly.deb.debian.org 404 not found 找不到cdn-fastly.deb.debian.org 404

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM