시스템을 업데이트하려고 하면 다음과 같은 경고가 나타납니다.
W: GPG error: http://archive.canonical.com vivid Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 40976EAF437D05B5 NO_PUBKEY 3B4FE6ACC0B21F32
W: GPG error: http://dl.google.com stable Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY A040830F7FAC5991
W: GPG error: http://dl.google.com stable Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY A040830F7FAC5991
W: GPG error: http://security.ubuntu.com precise-security Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 40976EAF437D05B5
W: GPG error: http://dl.google.com stable Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY A040830F7FAC5991
W: GPG error: http://security.ubuntu.com vivid-security Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 40976EAF437D05B5 NO_PUBKEY 3B4FE6ACC0B21F32
W: GPG error: http://ubuntu.mirror.lhisp.com vivid Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 40976EAF437D05B5 NO_PUBKEY 3B4FE6ACC0B21F32
W: GPG error: http://ubuntu.mirror.lhisp.com vivid-backports Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 40976EAF437D05B5 NO_PUBKEY 3B4FE6ACC0B21F32
W: GPG error: http://ubuntu.mirror.lhisp.com vivid-proposed Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 40976EAF437D05B5 NO_PUBKEY 3B4FE6ACC0B21F32
W: GPG error: http://ubuntu.mirror.lhisp.com vivid-updates Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 40976EAF437D05B5 NO_PUBKEY 3B4FE6ACC0B21F32
다음을 사용하여 누락된 키를 추가하려고 했습니다.
sudo gpg --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys KEY_VALUE
다음과 같은 메시지를 받았습니다.
gpg: requesting key C0B21F32 from hkp server keyserver.ubuntu.com
gpg: key C0B21F32: "Ubuntu Archive Automatic Signing Key (2012) <[email protected]>" not changed
gpg: Total number processed: 1
gpg: unchanged: 1
나는 또한 이 솔루션을 시도했습니다.
sudo apt-get clean
cd /var/lib/apt
sudo mv lists lists.old
sudo mkdir -p lists/partial
sudo apt-get clean
sudo apt-get update
하지만 여전히 위의 경고가 나타납니다.
답변1
답변2
미러 서버가 완전히 업데이트되지 않은 경우 이런 일이 발생합니다.
나중에 시도하거나 다음에서 다른 미러로 전환할 수 있습니다.
시스템 설정 -> 소프트웨어 및 업데이트.