VPN icon indicating copy to clipboard operation
VPN copied to clipboard

public key is not available:

Open rao2357 opened this issue 2 years ago • 1 comments

微信截图_20240313212320

Why this is happening

rao2357 avatar Mar 13 '24 13:03 rao2357

The Docker image is built on top of debian:sid and immediately runs apt update/apt upgrade during the build process. When apt contacts the sid (unstable) repository, it refuses to continue because the repository metadata is signed with key 6D33866EDD8FFA41, which is missing from the image’s local keyring. This typically happens when the base image was created before Debian switched to the new archive-signing key. As a result, apt can no longer verify the repository, causing it to halt with the “NO_PUBKEY” error you’re seeing.

To resolve it, ensure the new signing key is installed before updating (e.g., install the latest debian-archive-keyring package or import the key manually with apt-key/gpg) or rebuild from a fresher debian:sid image that already contains the updated key.

cp89cyber avatar Oct 15 '25 00:10 cp89cyber