docker-library / httpd

Docker Official Image packaging for Apache HTTP Server
https://httpd.apache.org
Apache License 2.0
310 stars 345 forks source link

Apt repositories broken in httpd:2.4.59 #263

Closed djesernik closed 5 months ago

djesernik commented 5 months ago

Steps to reproduce:

  1. 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.
djesernik commented 5 months ago

This was an issue on my local system. There was not enough space allocated to Docker. https://stackoverflow.com/questions/59139453/repository-is-not-signed-in-docker-build