Closed andrew-devops closed 4 years ago
I'm not able to reproduce
$ docker pull buildpack-deps:stretch
stretch: Pulling from library/buildpack-deps
7e6d8ed60355: Pull complete
43421f771d04: Pull complete
c36327c39ae4: Pull complete
22b0be3e8a61: Pull complete
6b168feb1bb0: Pull complete
Digest: sha256:d95db8b9293c71d0f9b6a12d96d1ace65af81fd6535e5cb07078df85b3147a76
Status: Downloaded newer image for buildpack-deps:stretch
docker.io/library/buildpack-deps:stretch
$ docker run -it --rm buildpack-deps:stretch bash
root@aaa1d6dc3a76:/# apt update
Get:1 http://security.debian.org/debian-security stretch/updates InRelease [53.0 kB]
Ign:2 http://deb.debian.org/debian stretch InRelease
Get:3 http://deb.debian.org/debian stretch-updates InRelease [93.6 kB]
Get:4 http://deb.debian.org/debian stretch Release [118 kB]
Get:5 http://deb.debian.org/debian stretch Release.gpg [2410 B]
Get:6 http://security.debian.org/debian-security stretch/updates/main amd64 Packages [542 kB]
Get:7 http://deb.debian.org/debian stretch-updates/main amd64 Packages [2596 B]
Get:8 http://deb.debian.org/debian stretch/main amd64 Packages [7080 kB]
Fetched 7891 kB in 2s (3350 kB/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
18 packages can be upgraded. Run 'apt list --upgradable' to see them.
root@aaa1d6dc3a76:/# cat /etc/apt/sources.list
# deb http://snapshot.debian.org/archive/debian/20200720T000000Z stretch main
deb http://deb.debian.org/debian stretch main
# deb http://snapshot.debian.org/archive/debian-security/20200720T000000Z stretch/updates main
deb http://security.debian.org/debian-security stretch/updates main
# deb http://snapshot.debian.org/archive/debian/20200720T000000Z stretch-updates main
deb http://deb.debian.org/debian stretch-updates main
Using your sources.list
root@aaa1d6dc3a76:/# apt install -y --no-install-recommends vim &>/dev/null
root@aaa1d6dc3a76:/# vi /etc/apt/sources.list
root@aaa1d6dc3a76:/# cat /etc/apt/sources.list
deb http://ftp.us.debian.org/debian/ stretch main contrib non-free
deb-src http://ftp.us.debian.org/debian/ stretch main contrib non-free
deb http://ftp.us.debian.org/debian/ stretch-updates main contrib non-free
deb-src http://ftp.us.debian.org/debian/ stretch-updates main contrib non-free
deb http://security.debian.org/ stretch/updates main contrib non-free
deb-src http://security.debian.org/ stretch/updates main contrib non-free
root@aaa1d6dc3a76:/# apt update
Get:1 http://security.debian.org stretch/updates InRelease [53.0 kB]
Ign:2 http://ftp.us.debian.org/debian stretch InRelease
Get:3 http://ftp.us.debian.org/debian stretch-updates InRelease [93.6 kB]
Get:4 http://ftp.us.debian.org/debian stretch Release [118 kB]
Get:5 http://ftp.us.debian.org/debian stretch Release.gpg [2410 B]
Get:6 http://security.debian.org stretch/updates/non-free Sources [1216 B]
Get:7 http://security.debian.org stretch/updates/contrib Sources [1384 B]
Get:8 http://security.debian.org stretch/updates/main Sources [224 kB]
Get:9 http://security.debian.org stretch/updates/non-free amd64 Packages [1596 B]
Get:10 http://security.debian.org stretch/updates/contrib amd64 Packages [1760 B]
Get:11 http://security.debian.org stretch/updates/main amd64 Packages [542 kB]
Get:12 http://ftp.us.debian.org/debian stretch-updates/non-free Sources [816 B]
Get:13 http://ftp.us.debian.org/debian stretch-updates/main Sources [1456 B]
Get:14 http://ftp.us.debian.org/debian stretch-updates/non-free amd64 Packages [632 B]
Get:15 http://ftp.us.debian.org/debian stretch-updates/main amd64 Packages [2596 B]
Get:16 http://ftp.us.debian.org/debian stretch/non-free Sources [79.1 kB]
Get:17 http://ftp.us.debian.org/debian stretch/main Sources [6736 kB]
Get:18 http://ftp.us.debian.org/debian stretch/contrib Sources [44.5 kB]
Get:19 http://ftp.us.debian.org/debian stretch/contrib amd64 Packages [50.7 kB]
Get:20 http://ftp.us.debian.org/debian stretch/main amd64 Packages [7080 kB]
Get:21 http://ftp.us.debian.org/debian stretch/non-free amd64 Packages [78.3 kB]
Fetched 15.1 MB in 3s (4337 kB/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
18 packages can be upgraded. Run 'apt list --upgradable' to see them.
Thanks, there is problem on my side - networking issue
Hi!
I try to use image buildpack-deps:stretch with this sources list:
After apt-get update I got this error: Reading package lists...