Saya baru saja menerima beberapa kesalahan aneh terkait kunci GPG. Yaitu saya baru saja menambahkan ppa:ubuntu-toolchain-r/test
dan ingin memperbarui dan setelah itu saya mendapat ini:
W: GPG error: http://extras.ubuntu.com trusty Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 16126D3A3E5C1192
W: GPG error: http://archive.canonical.com trusty 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://qgis.org trusty InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 030561BEDD45F6C3
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://archive.ubuntu.com trusty 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://archive.ubuntu.com trusty-updates 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://archive.ubuntu.com trusty-security Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 40976EAF437D05B5 NO_PUBKEY 3B4FE6ACC0B21F32
Saya telah mencoba menyelesaikannya dalam 2 cara (disediakan di sini )
for key in 40976EAF437D05B5 3B4FE6ACC0B21F32 A040830F7FAC5991 030561BEDD45F6C3 16126D3A3E5C1192 ; do sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys $key ; done
tapi itu tidak membantu (kesalahan yang sama terus datang dengan kunci yang sama) jadi saya telah mencoba melakukan ini:
sudo add-apt-repository ppa:webupd8team/y-ppa-manager
sudo apt-get update
sudo apt-get install y-ppa-manager
tapi saya mendapatkan ini yang membuka mata saya:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
launchpad-getkeys libvte-common libvte9 python-keyring python-launchpadlib
python-lazr.restfulclient python-lazr.uri python-oauth python-secretstorage
python-simplejson python-vte python-wadllib xclip yad
Suggested packages:
python-gdata python-keyczar python-kde4 python-testresources
python-secretstorage-doc
The following NEW packages will be installed:
launchpad-getkeys libvte-common libvte9 python-keyring python-launchpadlib
python-lazr.restfulclient python-lazr.uri python-oauth python-secretstorage
python-simplejson python-vte python-wadllib xclip y-ppa-manager yad
0 upgraded, 15 newly installed, 0 to remove and 29 not upgraded.
Need to get 915 kB of archives.
After this operation, 4,515 kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
WARNING: The following packages cannot be authenticated!
libvte-common libvte9 python-keyring python-lazr.uri python-simplejson
python-wadllib python-oauth python-lazr.restfulclient python-launchpadlib
python-secretstorage python-vte xclip
Install these packages without verification? [y/N]
Saya mencoba dan ini tidak berhasil pada saat itu. Periksa jawabanku.
—
Patryk
Ini pada dasarnya adalah laporan bug di mana Anda menggambarkan masalah dan sebagai jawaban Anda merujuk ke laporan bug. Laporan bug itu sendiri untuk 13,10 yang melampaui akhir hayat. Jika Anda menggunakan 13.10 saya sarankan Anda meningkatkan. Jika Anda menggunakan versi Ubuntu saat ini, saya sarankan Anda mengajukan laporan bug baru karena yang lama sudah ketinggalan zaman. referensi yang lama di yang baru.
—
Panther
kemungkinan duplikat dari Bagaimana cara memperbaiki kesalahan GPG "NO_PUBKEY"?
—
Eliah Kagan
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys <KEY>
. Misalnyasudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 40976EAF437D05B5