信頼できないパッケージの警告

信頼できないパッケージの警告

システムを更新しようとすると、次の警告が表示されます。

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

そこにはバグあなたの状況を説明します。

修正に役立つ回避策

ディレクトリに移動して/etc/apt/trusted.gpg.d/、未使用のキーを削除します。

読むこれ詳細については

答え2

これは、ミラー サーバーが完全に更新されていない場合に発生します。

後で試してみるか、別のミラーに切り替えることもできます。

システム設定 -> ソフトウェアとアップデート。

関連情報