Cannot add apt-key on Ubuntu in APT keyring : gpg: [don't know]: invalid packet (ctb=01) : gpg: keydb_get_keyblock failed: eofHow do I fix the GPG error “NO_PUBKEY”?GPG Error while running apt-getHow to add a GPG key to the apt sources keyring?I am unable to generate a gpg key through the keyring programWhy does add-apt-repository now fail to retrieve keys behind my proxy server, but I can update package lists and manually receive the keys?Broken package ubuntu-keyring (ubuntu 15.04 64 bit)Install Landscape dedicated serverAPT invalid signaturesopenprinting key for ubuntu 18Cannot update apt/gpg expired keygpg: [don't know]: invalid packet (ctb=2d)
Why Were Madagascar and New Zealand Discovered So Late?
Can criminal fraud exist without damages?
Opposite of a diet
How can I replace every global instance of "x[2]" with "x_2"
Why is delta-v is the most useful quantity for planning space travel?
Where in the Bible does the greeting ("Dominus Vobiscum") used at Mass come from?
Why "be dealt cards" rather than "be dealing cards"?
Is there any reason not to eat food that's been dropped on the surface of the moon?
Is there a good way to store credentials outside of a password manager?
What defines a dissertation?
Your magic is very sketchy
Efficiently merge handle parallel feature branches in SFDX
Can somebody explain Brexit in a few child-proof sentences?
What is difference between behavior and behaviour
Personal Teleportation as a Weapon
Coordinate position not precise
What's a natural way to say that someone works somewhere (for a job)?
Are there any comparative studies done between Ashtavakra Gita and Buddhim?
Confused about a passage in Harry Potter y la piedra filosofal
How do I define a right arrow with bar in LaTeX?
Can a monster with multiattack use this ability if they are missing a limb?
voltage of sounds of mp3files
Is expanding the research of a group into machine learning as a PhD student risky?
apt-get update is failing in debian
Cannot add apt-key on Ubuntu in APT keyring : gpg: [don't know]: invalid packet (ctb=01) : gpg: keydb_get_keyblock failed: eof
How do I fix the GPG error “NO_PUBKEY”?GPG Error while running apt-getHow to add a GPG key to the apt sources keyring?I am unable to generate a gpg key through the keyring programWhy does add-apt-repository now fail to retrieve keys behind my proxy server, but I can update package lists and manually receive the keys?Broken package ubuntu-keyring (ubuntu 15.04 64 bit)Install Landscape dedicated serverAPT invalid signaturesopenprinting key for ubuntu 18Cannot update apt/gpg expired keygpg: [don't know]: invalid packet (ctb=2d)
Here is what happens :
$ sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 02D65EFF
Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --homedir /tmp/tmp.gwHovf6GQe --no-auto-check-trustdb --trust-model always --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyring /etc/apt/trusted.gpg.d/apandada1-brightness-controller.gpg --keyring /etc/apt/trusted.gpg.d/becrowdy-curl-backport.gpg --keyring /etc/apt/trusted.gpg.d/blahota-texstudio.gpg --keyring /etc/apt/trusted.gpg.d/deb.torproject.org-keyring.gpg --keyring /etc/apt/trusted.gpg.d/fkrull-deadsnakes-python2_7.gpg --keyring /etc/apt/trusted.gpg.d/fossfreedom-libmtp.gpg --keyring /etc/apt/trusted.gpg.d/freetuxtv-freetuxtv-dev.gpg --keyring /etc/apt/trusted.gpg.d/gerardpuig-ppa.gpg --keyring /etc/apt/trusted.gpg.d/jonathonf-ffmpeg-3.gpg --keyring /etc/apt/trusted.gpg.d/jonathonf-ffmpeg-4.gpg --keyring /etc/apt/trusted.gpg.d/jonathonf-texlive.gpg --keyring /etc/apt/trusted.gpg.d/jonathonf-vim.gpg --keyring /etc/apt/trusted.gpg.d/jonathonf-vlc.gpg --keyring /etc/apt/trusted.gpg.d/kwwette-octaves.gpg --keyring /etc/apt/trusted.gpg.d/me-tv-development-ppa.gpg --keyring /etc/apt/trusted.gpg.d/mediaarea.gpg --keyring /etc/apt/trusted.gpg.d/mozillateam-ppa.gpg --keyring /etc/apt/trusted.gpg.d/noobslab-apps.gpg --keyring /etc/apt/trusted.gpg.d/noobslab-themes.gpg --keyring /etc/apt/trusted.gpg.d/octave-stable.gpg --keyring /etc/apt/trusted.gpg.d/openlp-core-dev.gpg --keyring /etc/apt/trusted.gpg.d/openlp-core-release.gpg --keyring /etc/apt/trusted.gpg.d/otto-kesselgulasch-gimp.gpg --keyring /etc/apt/trusted.gpg.d/palemoon_kovacsoltvideo.gpg --keyring /etc/apt/trusted.gpg.d/palemoon_opensuse.gpg --keyring /etc/apt/trusted.gpg.d/privoox-privoox.gpg --keyring /etc/apt/trusted.gpg.d/pubring.gpg --keyring /etc/apt/trusted.gpg.d/pypy-ppa.gpg --keyring /etc/apt/trusted.gpg.d/secring.gpg --keyring /etc/apt/trusted.gpg.d/stefanobalocco-multimedia.gpg --keyring /etc/apt/trusted.gpg.d/tigerite-bluez5.gpg --keyring /etc/apt/trusted.gpg.d/timchen119-bluez5-trusty.gpg --keyring /etc/apt/trusted.gpg.d/trustdb.gpg --keyring /etc/apt/trusted.gpg.d/unit193-inxi.gpg --keyring /etc/apt/trusted.gpg.d/xapienz-curl34.gpg --keyserver keyserver.ubuntu.com --recv-keys 02D65EFF
gpg: requesting key 02D65EFF from hkp server keyserver.ubuntu.com
gpg: [don't know]: invalid packet (ctb=01)
gpg: keydb_get_keyblock failed: eof
gpg: key 02D65EFF: public key "Launchpad PPA for linrunner" imported
gpg: Total number processed: 1
gpg: imported: 1 (RSA: 1)
$ sudo apt-get update 2>&1 | grep 02D65EFF
W: GPG error: http://ppa.launchpad.net trusty InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 2B3F92F902D65EFF
EDIT 1: If I try and refreshed the trusted keys, I also get these gpg warnings :
$ sudo rm /etc/apt/trusted.gpg
rm: remove regular file ‘/etc/apt/trusted.gpg’? y
$ sudo apt-key update
gpg: [don't know]: invalid packet (ctb=01)
gpg: keydb_get_keyblock failed: eof
gpg: key 437D05B5: public key "Ubuntu Archive Automatic Signing Key <ftpmaster@ubuntu.com>" imported
gpg: [don't know]: invalid packet (ctb=01)
gpg: keydb_get_keyblock failed: eof
gpg: key FBB75451: public key "Ubuntu CD Image Automatic Signing Key <cdimage@ubuntu.com>" imported
gpg: [don't know]: invalid packet (ctb=01)
gpg: keydb_get_keyblock failed: eof
gpg: key C0B21F32: public key "Ubuntu Archive Automatic Signing Key (2012) <ftpmaster@ubuntu.com>" imported
gpg: [don't know]: invalid packet (ctb=01)
gpg: keydb_get_keyblock failed: eof
gpg: key EFE21092: public key "Ubuntu CD Image Automatic Signing Key (2012) <cdimage@ubuntu.com>" imported
gpg: Total number processed: 4
gpg: imported: 4 (RSA: 2)
EDIT 2: Maybe I have a broken/damaged gpg keyring :
$ apt-key list 2>&1 | grep -C3 gpg:
/etc/apt/trusted.gpg.d/noobslab-themes.gpg
------------------------------------------
pub 1024R/F59EAE4D 2012-04-01
uid gpg: [don't know]: invalid packet (ctb=01)
gpg: keydb_search_next failed: invalid packet
Launchpad PPA for NoobsLab
/etc/apt/trusted.gpg.d/openlp-core-release.gpg
I tried and removed those 2 files and then apt-get update
but still, it does not work.
apt gnupg keyrings
add a comment |
Here is what happens :
$ sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 02D65EFF
Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --homedir /tmp/tmp.gwHovf6GQe --no-auto-check-trustdb --trust-model always --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyring /etc/apt/trusted.gpg.d/apandada1-brightness-controller.gpg --keyring /etc/apt/trusted.gpg.d/becrowdy-curl-backport.gpg --keyring /etc/apt/trusted.gpg.d/blahota-texstudio.gpg --keyring /etc/apt/trusted.gpg.d/deb.torproject.org-keyring.gpg --keyring /etc/apt/trusted.gpg.d/fkrull-deadsnakes-python2_7.gpg --keyring /etc/apt/trusted.gpg.d/fossfreedom-libmtp.gpg --keyring /etc/apt/trusted.gpg.d/freetuxtv-freetuxtv-dev.gpg --keyring /etc/apt/trusted.gpg.d/gerardpuig-ppa.gpg --keyring /etc/apt/trusted.gpg.d/jonathonf-ffmpeg-3.gpg --keyring /etc/apt/trusted.gpg.d/jonathonf-ffmpeg-4.gpg --keyring /etc/apt/trusted.gpg.d/jonathonf-texlive.gpg --keyring /etc/apt/trusted.gpg.d/jonathonf-vim.gpg --keyring /etc/apt/trusted.gpg.d/jonathonf-vlc.gpg --keyring /etc/apt/trusted.gpg.d/kwwette-octaves.gpg --keyring /etc/apt/trusted.gpg.d/me-tv-development-ppa.gpg --keyring /etc/apt/trusted.gpg.d/mediaarea.gpg --keyring /etc/apt/trusted.gpg.d/mozillateam-ppa.gpg --keyring /etc/apt/trusted.gpg.d/noobslab-apps.gpg --keyring /etc/apt/trusted.gpg.d/noobslab-themes.gpg --keyring /etc/apt/trusted.gpg.d/octave-stable.gpg --keyring /etc/apt/trusted.gpg.d/openlp-core-dev.gpg --keyring /etc/apt/trusted.gpg.d/openlp-core-release.gpg --keyring /etc/apt/trusted.gpg.d/otto-kesselgulasch-gimp.gpg --keyring /etc/apt/trusted.gpg.d/palemoon_kovacsoltvideo.gpg --keyring /etc/apt/trusted.gpg.d/palemoon_opensuse.gpg --keyring /etc/apt/trusted.gpg.d/privoox-privoox.gpg --keyring /etc/apt/trusted.gpg.d/pubring.gpg --keyring /etc/apt/trusted.gpg.d/pypy-ppa.gpg --keyring /etc/apt/trusted.gpg.d/secring.gpg --keyring /etc/apt/trusted.gpg.d/stefanobalocco-multimedia.gpg --keyring /etc/apt/trusted.gpg.d/tigerite-bluez5.gpg --keyring /etc/apt/trusted.gpg.d/timchen119-bluez5-trusty.gpg --keyring /etc/apt/trusted.gpg.d/trustdb.gpg --keyring /etc/apt/trusted.gpg.d/unit193-inxi.gpg --keyring /etc/apt/trusted.gpg.d/xapienz-curl34.gpg --keyserver keyserver.ubuntu.com --recv-keys 02D65EFF
gpg: requesting key 02D65EFF from hkp server keyserver.ubuntu.com
gpg: [don't know]: invalid packet (ctb=01)
gpg: keydb_get_keyblock failed: eof
gpg: key 02D65EFF: public key "Launchpad PPA for linrunner" imported
gpg: Total number processed: 1
gpg: imported: 1 (RSA: 1)
$ sudo apt-get update 2>&1 | grep 02D65EFF
W: GPG error: http://ppa.launchpad.net trusty InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 2B3F92F902D65EFF
EDIT 1: If I try and refreshed the trusted keys, I also get these gpg warnings :
$ sudo rm /etc/apt/trusted.gpg
rm: remove regular file ‘/etc/apt/trusted.gpg’? y
$ sudo apt-key update
gpg: [don't know]: invalid packet (ctb=01)
gpg: keydb_get_keyblock failed: eof
gpg: key 437D05B5: public key "Ubuntu Archive Automatic Signing Key <ftpmaster@ubuntu.com>" imported
gpg: [don't know]: invalid packet (ctb=01)
gpg: keydb_get_keyblock failed: eof
gpg: key FBB75451: public key "Ubuntu CD Image Automatic Signing Key <cdimage@ubuntu.com>" imported
gpg: [don't know]: invalid packet (ctb=01)
gpg: keydb_get_keyblock failed: eof
gpg: key C0B21F32: public key "Ubuntu Archive Automatic Signing Key (2012) <ftpmaster@ubuntu.com>" imported
gpg: [don't know]: invalid packet (ctb=01)
gpg: keydb_get_keyblock failed: eof
gpg: key EFE21092: public key "Ubuntu CD Image Automatic Signing Key (2012) <cdimage@ubuntu.com>" imported
gpg: Total number processed: 4
gpg: imported: 4 (RSA: 2)
EDIT 2: Maybe I have a broken/damaged gpg keyring :
$ apt-key list 2>&1 | grep -C3 gpg:
/etc/apt/trusted.gpg.d/noobslab-themes.gpg
------------------------------------------
pub 1024R/F59EAE4D 2012-04-01
uid gpg: [don't know]: invalid packet (ctb=01)
gpg: keydb_search_next failed: invalid packet
Launchpad PPA for NoobsLab
/etc/apt/trusted.gpg.d/openlp-core-release.gpg
I tried and removed those 2 files and then apt-get update
but still, it does not work.
apt gnupg keyrings
2
Possible duplicate of How do I fix the GPG error "NO_PUBKEY"?
– Emmet
1 hour ago
@Emmet No, it is not. I have triedy-ppa-manager
andlaunchpad-getkeys
but It is not working. See also my EDIT 1. Please reconsider
– SebMa
1 hour ago
@Emmet My pb. seems happen when there is at least one damaged gpg keyring , than all the keyrings are not trusted. Please reconsider
– SebMa
56 mins ago
@Emmet Please have a look at my EDIT2
– SebMa
33 mins ago
add a comment |
Here is what happens :
$ sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 02D65EFF
Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --homedir /tmp/tmp.gwHovf6GQe --no-auto-check-trustdb --trust-model always --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyring /etc/apt/trusted.gpg.d/apandada1-brightness-controller.gpg --keyring /etc/apt/trusted.gpg.d/becrowdy-curl-backport.gpg --keyring /etc/apt/trusted.gpg.d/blahota-texstudio.gpg --keyring /etc/apt/trusted.gpg.d/deb.torproject.org-keyring.gpg --keyring /etc/apt/trusted.gpg.d/fkrull-deadsnakes-python2_7.gpg --keyring /etc/apt/trusted.gpg.d/fossfreedom-libmtp.gpg --keyring /etc/apt/trusted.gpg.d/freetuxtv-freetuxtv-dev.gpg --keyring /etc/apt/trusted.gpg.d/gerardpuig-ppa.gpg --keyring /etc/apt/trusted.gpg.d/jonathonf-ffmpeg-3.gpg --keyring /etc/apt/trusted.gpg.d/jonathonf-ffmpeg-4.gpg --keyring /etc/apt/trusted.gpg.d/jonathonf-texlive.gpg --keyring /etc/apt/trusted.gpg.d/jonathonf-vim.gpg --keyring /etc/apt/trusted.gpg.d/jonathonf-vlc.gpg --keyring /etc/apt/trusted.gpg.d/kwwette-octaves.gpg --keyring /etc/apt/trusted.gpg.d/me-tv-development-ppa.gpg --keyring /etc/apt/trusted.gpg.d/mediaarea.gpg --keyring /etc/apt/trusted.gpg.d/mozillateam-ppa.gpg --keyring /etc/apt/trusted.gpg.d/noobslab-apps.gpg --keyring /etc/apt/trusted.gpg.d/noobslab-themes.gpg --keyring /etc/apt/trusted.gpg.d/octave-stable.gpg --keyring /etc/apt/trusted.gpg.d/openlp-core-dev.gpg --keyring /etc/apt/trusted.gpg.d/openlp-core-release.gpg --keyring /etc/apt/trusted.gpg.d/otto-kesselgulasch-gimp.gpg --keyring /etc/apt/trusted.gpg.d/palemoon_kovacsoltvideo.gpg --keyring /etc/apt/trusted.gpg.d/palemoon_opensuse.gpg --keyring /etc/apt/trusted.gpg.d/privoox-privoox.gpg --keyring /etc/apt/trusted.gpg.d/pubring.gpg --keyring /etc/apt/trusted.gpg.d/pypy-ppa.gpg --keyring /etc/apt/trusted.gpg.d/secring.gpg --keyring /etc/apt/trusted.gpg.d/stefanobalocco-multimedia.gpg --keyring /etc/apt/trusted.gpg.d/tigerite-bluez5.gpg --keyring /etc/apt/trusted.gpg.d/timchen119-bluez5-trusty.gpg --keyring /etc/apt/trusted.gpg.d/trustdb.gpg --keyring /etc/apt/trusted.gpg.d/unit193-inxi.gpg --keyring /etc/apt/trusted.gpg.d/xapienz-curl34.gpg --keyserver keyserver.ubuntu.com --recv-keys 02D65EFF
gpg: requesting key 02D65EFF from hkp server keyserver.ubuntu.com
gpg: [don't know]: invalid packet (ctb=01)
gpg: keydb_get_keyblock failed: eof
gpg: key 02D65EFF: public key "Launchpad PPA for linrunner" imported
gpg: Total number processed: 1
gpg: imported: 1 (RSA: 1)
$ sudo apt-get update 2>&1 | grep 02D65EFF
W: GPG error: http://ppa.launchpad.net trusty InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 2B3F92F902D65EFF
EDIT 1: If I try and refreshed the trusted keys, I also get these gpg warnings :
$ sudo rm /etc/apt/trusted.gpg
rm: remove regular file ‘/etc/apt/trusted.gpg’? y
$ sudo apt-key update
gpg: [don't know]: invalid packet (ctb=01)
gpg: keydb_get_keyblock failed: eof
gpg: key 437D05B5: public key "Ubuntu Archive Automatic Signing Key <ftpmaster@ubuntu.com>" imported
gpg: [don't know]: invalid packet (ctb=01)
gpg: keydb_get_keyblock failed: eof
gpg: key FBB75451: public key "Ubuntu CD Image Automatic Signing Key <cdimage@ubuntu.com>" imported
gpg: [don't know]: invalid packet (ctb=01)
gpg: keydb_get_keyblock failed: eof
gpg: key C0B21F32: public key "Ubuntu Archive Automatic Signing Key (2012) <ftpmaster@ubuntu.com>" imported
gpg: [don't know]: invalid packet (ctb=01)
gpg: keydb_get_keyblock failed: eof
gpg: key EFE21092: public key "Ubuntu CD Image Automatic Signing Key (2012) <cdimage@ubuntu.com>" imported
gpg: Total number processed: 4
gpg: imported: 4 (RSA: 2)
EDIT 2: Maybe I have a broken/damaged gpg keyring :
$ apt-key list 2>&1 | grep -C3 gpg:
/etc/apt/trusted.gpg.d/noobslab-themes.gpg
------------------------------------------
pub 1024R/F59EAE4D 2012-04-01
uid gpg: [don't know]: invalid packet (ctb=01)
gpg: keydb_search_next failed: invalid packet
Launchpad PPA for NoobsLab
/etc/apt/trusted.gpg.d/openlp-core-release.gpg
I tried and removed those 2 files and then apt-get update
but still, it does not work.
apt gnupg keyrings
Here is what happens :
$ sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 02D65EFF
Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --homedir /tmp/tmp.gwHovf6GQe --no-auto-check-trustdb --trust-model always --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyring /etc/apt/trusted.gpg.d/apandada1-brightness-controller.gpg --keyring /etc/apt/trusted.gpg.d/becrowdy-curl-backport.gpg --keyring /etc/apt/trusted.gpg.d/blahota-texstudio.gpg --keyring /etc/apt/trusted.gpg.d/deb.torproject.org-keyring.gpg --keyring /etc/apt/trusted.gpg.d/fkrull-deadsnakes-python2_7.gpg --keyring /etc/apt/trusted.gpg.d/fossfreedom-libmtp.gpg --keyring /etc/apt/trusted.gpg.d/freetuxtv-freetuxtv-dev.gpg --keyring /etc/apt/trusted.gpg.d/gerardpuig-ppa.gpg --keyring /etc/apt/trusted.gpg.d/jonathonf-ffmpeg-3.gpg --keyring /etc/apt/trusted.gpg.d/jonathonf-ffmpeg-4.gpg --keyring /etc/apt/trusted.gpg.d/jonathonf-texlive.gpg --keyring /etc/apt/trusted.gpg.d/jonathonf-vim.gpg --keyring /etc/apt/trusted.gpg.d/jonathonf-vlc.gpg --keyring /etc/apt/trusted.gpg.d/kwwette-octaves.gpg --keyring /etc/apt/trusted.gpg.d/me-tv-development-ppa.gpg --keyring /etc/apt/trusted.gpg.d/mediaarea.gpg --keyring /etc/apt/trusted.gpg.d/mozillateam-ppa.gpg --keyring /etc/apt/trusted.gpg.d/noobslab-apps.gpg --keyring /etc/apt/trusted.gpg.d/noobslab-themes.gpg --keyring /etc/apt/trusted.gpg.d/octave-stable.gpg --keyring /etc/apt/trusted.gpg.d/openlp-core-dev.gpg --keyring /etc/apt/trusted.gpg.d/openlp-core-release.gpg --keyring /etc/apt/trusted.gpg.d/otto-kesselgulasch-gimp.gpg --keyring /etc/apt/trusted.gpg.d/palemoon_kovacsoltvideo.gpg --keyring /etc/apt/trusted.gpg.d/palemoon_opensuse.gpg --keyring /etc/apt/trusted.gpg.d/privoox-privoox.gpg --keyring /etc/apt/trusted.gpg.d/pubring.gpg --keyring /etc/apt/trusted.gpg.d/pypy-ppa.gpg --keyring /etc/apt/trusted.gpg.d/secring.gpg --keyring /etc/apt/trusted.gpg.d/stefanobalocco-multimedia.gpg --keyring /etc/apt/trusted.gpg.d/tigerite-bluez5.gpg --keyring /etc/apt/trusted.gpg.d/timchen119-bluez5-trusty.gpg --keyring /etc/apt/trusted.gpg.d/trustdb.gpg --keyring /etc/apt/trusted.gpg.d/unit193-inxi.gpg --keyring /etc/apt/trusted.gpg.d/xapienz-curl34.gpg --keyserver keyserver.ubuntu.com --recv-keys 02D65EFF
gpg: requesting key 02D65EFF from hkp server keyserver.ubuntu.com
gpg: [don't know]: invalid packet (ctb=01)
gpg: keydb_get_keyblock failed: eof
gpg: key 02D65EFF: public key "Launchpad PPA for linrunner" imported
gpg: Total number processed: 1
gpg: imported: 1 (RSA: 1)
$ sudo apt-get update 2>&1 | grep 02D65EFF
W: GPG error: http://ppa.launchpad.net trusty InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 2B3F92F902D65EFF
EDIT 1: If I try and refreshed the trusted keys, I also get these gpg warnings :
$ sudo rm /etc/apt/trusted.gpg
rm: remove regular file ‘/etc/apt/trusted.gpg’? y
$ sudo apt-key update
gpg: [don't know]: invalid packet (ctb=01)
gpg: keydb_get_keyblock failed: eof
gpg: key 437D05B5: public key "Ubuntu Archive Automatic Signing Key <ftpmaster@ubuntu.com>" imported
gpg: [don't know]: invalid packet (ctb=01)
gpg: keydb_get_keyblock failed: eof
gpg: key FBB75451: public key "Ubuntu CD Image Automatic Signing Key <cdimage@ubuntu.com>" imported
gpg: [don't know]: invalid packet (ctb=01)
gpg: keydb_get_keyblock failed: eof
gpg: key C0B21F32: public key "Ubuntu Archive Automatic Signing Key (2012) <ftpmaster@ubuntu.com>" imported
gpg: [don't know]: invalid packet (ctb=01)
gpg: keydb_get_keyblock failed: eof
gpg: key EFE21092: public key "Ubuntu CD Image Automatic Signing Key (2012) <cdimage@ubuntu.com>" imported
gpg: Total number processed: 4
gpg: imported: 4 (RSA: 2)
EDIT 2: Maybe I have a broken/damaged gpg keyring :
$ apt-key list 2>&1 | grep -C3 gpg:
/etc/apt/trusted.gpg.d/noobslab-themes.gpg
------------------------------------------
pub 1024R/F59EAE4D 2012-04-01
uid gpg: [don't know]: invalid packet (ctb=01)
gpg: keydb_search_next failed: invalid packet
Launchpad PPA for NoobsLab
/etc/apt/trusted.gpg.d/openlp-core-release.gpg
I tried and removed those 2 files and then apt-get update
but still, it does not work.
apt gnupg keyrings
apt gnupg keyrings
edited 36 mins ago
SebMa
asked 1 hour ago
SebMaSebMa
263211
263211
2
Possible duplicate of How do I fix the GPG error "NO_PUBKEY"?
– Emmet
1 hour ago
@Emmet No, it is not. I have triedy-ppa-manager
andlaunchpad-getkeys
but It is not working. See also my EDIT 1. Please reconsider
– SebMa
1 hour ago
@Emmet My pb. seems happen when there is at least one damaged gpg keyring , than all the keyrings are not trusted. Please reconsider
– SebMa
56 mins ago
@Emmet Please have a look at my EDIT2
– SebMa
33 mins ago
add a comment |
2
Possible duplicate of How do I fix the GPG error "NO_PUBKEY"?
– Emmet
1 hour ago
@Emmet No, it is not. I have triedy-ppa-manager
andlaunchpad-getkeys
but It is not working. See also my EDIT 1. Please reconsider
– SebMa
1 hour ago
@Emmet My pb. seems happen when there is at least one damaged gpg keyring , than all the keyrings are not trusted. Please reconsider
– SebMa
56 mins ago
@Emmet Please have a look at my EDIT2
– SebMa
33 mins ago
2
2
Possible duplicate of How do I fix the GPG error "NO_PUBKEY"?
– Emmet
1 hour ago
Possible duplicate of How do I fix the GPG error "NO_PUBKEY"?
– Emmet
1 hour ago
@Emmet No, it is not. I have tried
y-ppa-manager
and launchpad-getkeys
but It is not working. See also my EDIT 1. Please reconsider– SebMa
1 hour ago
@Emmet No, it is not. I have tried
y-ppa-manager
and launchpad-getkeys
but It is not working. See also my EDIT 1. Please reconsider– SebMa
1 hour ago
@Emmet My pb. seems happen when there is at least one damaged gpg keyring , than all the keyrings are not trusted. Please reconsider
– SebMa
56 mins ago
@Emmet My pb. seems happen when there is at least one damaged gpg keyring , than all the keyrings are not trusted. Please reconsider
– SebMa
56 mins ago
@Emmet Please have a look at my EDIT2
– SebMa
33 mins ago
@Emmet Please have a look at my EDIT2
– SebMa
33 mins ago
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "89"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1129015%2fcannot-add-apt-key-on-ubuntu-in-apt-keyring-gpg-dont-know-invalid-packet%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1129015%2fcannot-add-apt-key-on-ubuntu-in-apt-keyring-gpg-dont-know-invalid-packet%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
2
Possible duplicate of How do I fix the GPG error "NO_PUBKEY"?
– Emmet
1 hour ago
@Emmet No, it is not. I have tried
y-ppa-manager
andlaunchpad-getkeys
but It is not working. See also my EDIT 1. Please reconsider– SebMa
1 hour ago
@Emmet My pb. seems happen when there is at least one damaged gpg keyring , than all the keyrings are not trusted. Please reconsider
– SebMa
56 mins ago
@Emmet Please have a look at my EDIT2
– SebMa
33 mins ago