DockerGrafanaInfluxKit
DockerGrafanaInfluxKit copied to clipboard
FIX error: Failed to fetch http://deb.debian.org/debian/dists/jessie-…
Fixes the error:
Fetched 10.1 MB in 6s (1576 kB/s)
W: Failed to fetch http://deb.debian.org/debian/dists/jessie-updates/InRelease Unable to find expected entry 'main/binary-amd64/Packages' in Release file (Wrong sources.list entry or malformed file)
E: Some index files failed to download. They have been ignored, or old ones used instead.
ERROR: Service 'grafana' failed to build: The command '/bin/sh -c apt-get update && apt-get install -y curl gettext-base && rm -rf /var/lib/apt/lists/*' returned a non-zero code: 100
To reproduce:
- delete relevant containers and images
- then run
docker-compose up
Still doesn't work:
❯ docker compose up
WARN[0000] /tmp/DockerGrafanaInfluxKit/docker-compose.yml: `version` is obsolete
[+] Building 2.9s (7/12) docker:default
=> [grafana internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 618B 0.0s
=> [grafana internal] load metadata for docker.io/grafana/grafana:4.4.2 0.4s
=> [grafana internal] load .dockerignore 0.0s
=> => transferring context: 2B 0.0s
=> CACHED [grafana 1/8] FROM docker.io/grafana/grafana:4.4.2@sha256:80e5e113a984d74836aa16f5b45240 0.1s
=> => resolve docker.io/grafana/grafana:4.4.2@sha256:80e5e113a984d74836aa16f5b4524012099436b1a50df 0.1s
=> [grafana internal] load build context 0.0s
=> => transferring context: 283B 0.0s
=> [grafana 2/8] RUN printf "deb http://archive.debian.org/debian/ jessie main\ndeb-src http://arc 0.2s
=> ERROR [grafana 3/8] RUN apt-get update && apt-get install -y curl gettext-base && rm -rf /var/l 2.0s
------
> [grafana 3/8] RUN apt-get update && apt-get install -y curl gettext-base && rm -rf /var/lib/apt/lists/*:
0.663 Ign http://security.debian.org jessie/updates InRelease
0.679 Ign http://security.debian.org jessie/updates Release.gpg
0.693 Ign http://security.debian.org jessie/updates Release
0.700 Ign http://archive.debian.org jessie InRelease
0.715 Get:1 http://archive.debian.org jessie Release.gpg [2420 B]
0.731 Get:2 http://archive.debian.org jessie Release [148 kB]
0.948 Ign http://archive.debian.org jessie Release
0.961 Get:3 http://archive.debian.org jessie/main Sources [9169 kB]
0.988 Err http://security.debian.org jessie/updates/main Sources
0.988 404 Not Found [IP: 151.101.194.132 80]
1.006 Err http://security.debian.org jessie/updates/main amd64 Packages
1.006 404 Not Found [IP: 151.101.194.132 80]
1.350 Get:4 http://archive.debian.org jessie/main amd64 Packages [9098 kB]
1.984 Fetched 18.4 MB in 1s (13.6 MB/s)
1.984 W: GPG error: http://archive.debian.org jessie Release: The following signatures were invalid: KEYEXPIRED 1587841717
1.984 W: Failed to fetch http://security.debian.org/dists/jessie/updates/main/source/Sources 404 Not Found [IP: 151.101.194.132 80]
1.984
1.984 W: Failed to fetch http://security.debian.org/dists/jessie/updates/main/binary-amd64/Packages 404 Not Found [IP: 151.101.194.132 80]
1.984
1.984 E: Some index files failed to download. They have been ignored, or old ones used instead.
------
failed to solve: process "/bin/sh -c apt-get update && apt-get install -y curl gettext-base && rm -rf /var/lib/apt/lists/*" did not complete successfully: exit code: 100