Package: apt

Version: 2.6.1

X-Debbugs-CC: l...@cdc.gov<mailto:l...@cdc.gov>, 
p...@cdc.gov<mailto:p...@cdc.gov>, t...@cdc.gov<mailto:t...@cdc.gov>, 
o...@cdc.gov<mailto:o...@cdc.gov>

When I attempt to deploy a container while using the debian:latest (Bookworm) 
image, I execute the apt-get update command which gives me an error message 
involving the absence of a certain group of public keys.


Step 14/30 : RUN apt-get -y update
---> Running in eb6228890f3c
Get:1 http://deb.debian.org/debian bookworm InRelease [147 kB]
Get:2 http://deb.debian.org/debian bookworm-updates InRelease [52.1 kB]
Err:1 http://deb.debian.org/debian bookworm InRelease
  The following signatures couldn't be verified because the public key is not 
available: NO_PUBKEY 648ACFD622F3D138 NO_PUBKEY 0E98404D386FA1D9 NO_PUBKEY 
F8D2585B8783D481
Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 
kB]
Err:2 http://deb.debian.org/debian bookworm-updates InRelease
  The following signatures couldn't be verified because the public key is not 
available: NO_PUBKEY 0E98404D386FA1D9 NO_PUBKEY 6ED0E7B82643E131
Err:3 http://deb.debian.org/debian-security bookworm-security InRelease
  The following signatures couldn't be verified because the public key is not 
available: NO_PUBKEY 54404762BBB6E853 NO_PUBKEY BDE6D2B9216EC7A8
Reading package lists...
W: GPG error: http://deb.debian.org/debian bookworm InRelease: The following 
signatures couldn't be verified because the public key is not available: 
NO_PUBKEY 648ACFD622F3D138 NO_PUBKEY 0E98404D386FA1D9 NO_PUBKEY F8D2585B8783D481
E: The repository 'http://deb.debian.org/debian bookworm InRelease' is not 
signed.
W: GPG error: http://deb.debian.org/debian bookworm-updates InRelease: The 
following signatures couldn't be verified because the public key is not 
available: NO_PUBKEY 0E98404D386FA1D9 NO_PUBKEY 6ED0E7B82643E131
E: The repository 'http://deb.debian.org/debian bookworm-updates InRelease' is 
not signed.
W: GPG error: http://deb.debian.org/debian-security bookworm-security 
InRelease: The following signatures couldn't be verified because the public key 
is not available: NO_PUBKEY 54404762BBB6E853 NO_PUBKEY BDE6D2B9216EC7A8
E: The repository 'http://deb.debian.org/debian-security bookworm-security 
InRelease' is not signed.
E: Problem executing scripts APT::Update::Post-Invoke 'rm -f 
/var/cache/apt/archives/*.deb /var/cache/apt/archives/partial/*.deb 
/var/cache/apt/*.bin || true'
E: Sub-process returned an error code
The command '/bin/sh -c apt-get -y update' returned a non-zero code: 100
Cleaning up file based variables
00:00
ERROR: Job failed: exit code 100


I was not expecting to encounter this error. Instead, I was expecting for the 
apt package to successfully update itself.

Kernel Version: 5.4.17-2136.320.7.el7uek.x86_64 #2 SMP Mon Jun 5 15:18:50 PDT 
2023 x86_64 GNU/Linux

Shared C Library: /lib/x86_64-linux-gnu/libc.so.6

Best,
Shreyas

Reply via email to