-
-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
Description
(Optional) Error message
Some index files failed to download. They have been ignored, or old ones used instead
What went wrong?
root@php-5.5.38 in /shared/httpd $ apt update
Get:1 http://security.debian.org jessie/updates InRelease [44.9 kB]
Ign http://deb.debian.org jessie InRelease
Ign http://deb.debian.org jessie-updates InRelease
Ign http://deb.debian.org jessie Release.gpg
Ign http://deb.debian.org jessie-updates Release.gpg
Ign http://deb.debian.org jessie Release
Ign http://deb.debian.org jessie-updates Release
Get:2 http://security.debian.org jessie/updates/main amd64 Packages [992 kB]
Err http://deb.debian.org jessie/main amd64 Packages
404 Not Found
Err http://deb.debian.org jessie-updates/main amd64 Packages
404 Not Found
Fetched 1,037 kB in 1s (523 kB/s)
W: Failed to fetch http://deb.debian.org/debian/dists/jessie/main/binary-amd64/Packages 404 Not Found
W: Failed to fetch http://deb.debian.org/debian/dists/jessie-updates/main/binary-amd64/Packages 404 Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead.not able to install package (CI will failed)
Expected behaviour
working: apt update and apt install
Changing the repository to archive will produce GPG key errors as follow:
$ docker run -it devilbox/php-fpm:5.5-slim /bin/bash
root@php-5.5.38 in /shared/httpd $ cp /etc/apt/sources.list /etc/apt/sources.list.save
root@php-5.5.38 in /shared/httpd $ sed -e 's/deb\.debian\.org/archive.debian.org/' \
-e 's/jessie-updates/jessie/' \
/etc/apt/sources.list | \
sort | uniq | tee /etc/apt/sources.list
root@php-5.5.38 in /shared/httpd $ apt update
Get:1 http://security.debian.org jessie/updates InRelease [44.9 kB]
Ign http://archive.debian.org jessie InRelease
Get:2 http://archive.debian.org jessie Release.gpg [2,420 B]
Get:3 http://archive.debian.org jessie Release [148 kB]
Ign http://archive.debian.org jessie Release
Get:4 http://security.debian.org jessie/updates/main amd64 Packages [992 kB]
Get:5 http://archive.debian.org jessie/main amd64 Packages [9,098 kB]
Fetched 10.3 MB in 1s (5,593 kB/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
All packages are up to date.
W: GPG error: http://archive.debian.org jessie Release: The following signatures were invalid: KEYEXPIRED 1587841717
```|
Can't find a non expired signature KEY ..
### How can we reproduce the bug?
```bash
$ docker run -it devilbox/php-fpm:5.5-slim /bin/bash
root@php-5.5.38 in /shared/httpd $ apt updateHost Operating System
Linux
Host Platform (amd64, arm64, other)
amd64
(Linux only) Is SELinux enabled?
No, SELinux is disabled
Docker version
Docker version 20.10.18, build b40c2f6
Log: docker logs
no logs(Optional) Additional information
No response