When I use the latest PHP docker images, I get an error when trying to update the package list.
Look:
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]
Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
Err:1 http://deb.debian.org/debian bookworm InRelease
Couldn't execute /usr/bin/apt-key to check /var/lib/apt/lists/partial/deb.debian.org_debian_dists_bookworm_InRelease
Err:2 http://deb.debian.org/debian bookworm-updates InRelease
Couldn't execute /usr/bin/apt-key to check /var/lib/apt/lists/partial/deb.debian.org_debian_dists_bookworm-updates_InRelease
Err:3 http://deb.debian.org/debian-security bookworm-security InRelease
Couldn't execute /usr/bin/apt-key to check /var/lib/apt/lists/partial/deb.debian.org_debian-security_dists_bookworm-security_InRelease
Reading package lists... Done
W: GPG error: http://deb.debian.org/debian bookworm InRelease: Couldn't execute /usr/bin/apt-key to check /var/lib/apt/lists/partial/deb.debian.org_debian_dists_bookworm_InRelease
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: Couldn't execute /usr/bin/apt-key to check /var/lib/apt/lists/partial/deb.debian.org_debian_dists_bookworm-updates_InRelease
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: Couldn't execute /usr/bin/apt-key to check /var/lib/apt/lists/partial/deb.debian.org_debian-security_dists_bookworm-security_InRelease
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.
Tested image versions: 8.1-apache-bookworm, 8.2-apache-bookworm and 8.3-apache-bookworm
I tried to solve this update problem but I couldn't.
When I use the latest PHP docker images, I get an error when trying to update the package list.
Look:
apt-get update
Tested image versions: 8.1-apache-bookworm, 8.2-apache-bookworm and 8.3-apache-bookworm
I tried to solve this update problem but I couldn't.