Services and User Management
After a vendor repository is added to a Debian server, apt update fails with the error "The following signatures couldn't be verified because the public key is not available: NO_PUBKEY." Which action fixes this while keeping signature verification in place for that repository?
Show the answer
Correct answerC. Save the vendor's public key under /etc/apt/keyrings and reference it with signed-by
Storing the vendor's public key in a keyring file and referencing it with signed-by lets apt verify the repository's signatures. Using trusted=yes is tempting but bypasses verification instead of fixing the missing key.