Pull the httpd docker image with tag 2.4.59 and run apt-get update within it to try to fetch package updates
docker run --rm -it httpd:2.4.59 /bin/bash -c "apt-get update"
Get:1 http://deb.debian.org/debian bookworm InRelease [151 kB]
Get:2 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
Err:1 http://deb.debian.org/debian bookworm InRelease
At least one invalid signature was encountered.
Err:2 http://deb.debian.org/debian bookworm-updates InRelease
At least one invalid signature was encountered.
Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
Err:3 http://deb.debian.org/debian-security bookworm-security InRelease
At least one invalid signature was encountered.
Reading package lists... Done
W: GPG error: http://deb.debian.org/debian bookworm InRelease: At least one invalid signature was encountered.
E: The repository 'http://deb.debian.org/debian bookworm InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: GPG error: http://deb.debian.org/debian bookworm-updates InRelease: At least one invalid signature was encountered.
E: The repository 'http://deb.debian.org/debian bookworm-updates InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: GPG error: http://deb.debian.org/debian-security bookworm-security InRelease: At least one invalid signature was encountered.
E: The repository 'http://deb.debian.org/debian-security bookworm-security InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
Expected behavior is that it would fetch updates and return `Reading package lists... Done`
Note that this may be an upstream issue with the image that `2.4.59` is built on.
Steps to reproduce:
2.4.59
and runapt-get update
within it to try to fetch package updatesGet:1 http://deb.debian.org/debian bookworm InRelease [151 kB] Get:2 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB] Err:1 http://deb.debian.org/debian bookworm InRelease At least one invalid signature was encountered. Err:2 http://deb.debian.org/debian bookworm-updates InRelease At least one invalid signature was encountered. Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB] Err:3 http://deb.debian.org/debian-security bookworm-security InRelease At least one invalid signature was encountered. Reading package lists... Done W: GPG error: http://deb.debian.org/debian bookworm InRelease: At least one invalid signature was encountered. E: The repository 'http://deb.debian.org/debian bookworm InRelease' is not signed. N: Updating from such a repository can't be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details. W: GPG error: http://deb.debian.org/debian bookworm-updates InRelease: At least one invalid signature was encountered. E: The repository 'http://deb.debian.org/debian bookworm-updates InRelease' is not signed. N: Updating from such a repository can't be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details. W: GPG error: http://deb.debian.org/debian-security bookworm-security InRelease: At least one invalid signature was encountered. E: The repository 'http://deb.debian.org/debian-security bookworm-security InRelease' is not signed. N: Updating from such a repository can't be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details.