【发布时间】:2021-03-11 14:49:30
【问题描述】:
我正在尝试基于 debian:buster 构建一个 docker 容器。 在此过程中,我收到消息:
Need to get 1211 MB of archives.
After this operation, 3257 MB of additional disk space will be used.
Err:1 http://security.debian.org/debian-security buster/updates/main amd64 libldap-common all 2.4.47+dfsg-3+deb10u5
404 Not Found [IP: 151.101.130.132 80]
Get:2 http://security.debian.org/debian-security buster/updates/main amd64 libldap-2.4-2 amd64 2.4.47+dfsg-3+deb10u5 [225 kB]
...
Failed to fetch http://security.debian.org/debian-security/pool/updates/main/o/openldap/libldap-common_2.4.47+dfsg-3+deb10u5_all.deb 404 Not Found [IP: 151.101.130.132 80]
有一个包
http://security.debian.org/debian-security/pool/updates/main/o/openldap/openldap_2.4.47+dfsg-3+deb10u6.dsc
在源包列表中可用。如何说服 docker/apt-get/whatever 使用它?
我的 dockerfile 与 debian:stretch 一起工作正常。
【问题讨论】: