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)













0















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.










share|improve this question



















  • 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 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 Please have a look at my EDIT2

    – SebMa
    33 mins ago















0















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.










share|improve this question



















  • 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 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 Please have a look at my EDIT2

    – SebMa
    33 mins ago













0












0








0








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.










share|improve this question
















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






share|improve this question















share|improve this question













share|improve this question




share|improve this question








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 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 Please have a look at my EDIT2

    – SebMa
    33 mins ago












  • 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 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 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










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
);



);













draft saved

draft discarded


















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















draft saved

draft discarded
















































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.




draft saved


draft discarded














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





















































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







Popular posts from this blog

Möglingen Índice Localización Historia Demografía Referencias Enlaces externos Menú de navegación48°53′18″N 9°07′45″E / 48.888333333333, 9.129166666666748°53′18″N 9°07′45″E / 48.888333333333, 9.1291666666667Sitio web oficial Mapa de Möglingen«Gemeinden in Deutschland nach Fläche, Bevölkerung und Postleitzahl am 30.09.2016»Möglingen

Virtualbox - Configuration error: Querying “UUID” failed (VERR_CFGM_VALUE_NOT_FOUND)“VERR_SUPLIB_WORLD_WRITABLE” error when trying to installing OS in virtualboxVirtual Box Kernel errorFailed to open a seesion for the virtual machineFailed to open a session for the virtual machineUbuntu 14.04 LTS Virtualbox errorcan't use VM VirtualBoxusing virtualboxI can't run Linux-64 Bit on VirtualBoxUnable to insert the virtual optical disk (VBoxguestaddition) in virtual machine for ubuntu server in win 10VirtuaBox in Ubuntu 18.04 Issues with Win10.ISO Installation

Torre de la Isleta Índice Véase también Referencias Bibliografía Enlaces externos Menú de navegación38°25′58″N 0°23′02″O / 38.43277778, -0.3838888938°25′58″N 0°23′02″O / 38.43277778, -0.38388889Torre de la Illeta de l’Horta o Torre Saleta. Base de datos de bienes inmuebles. Patrimonio Cultural. Secretaría de Estado de CulturaFicha BIC Torre de la Illeta de l’Horta. Dirección General de Patrimonio Cultural. Generalitat ValencianaLugares de interés. Ayuntamiento del CampelloTorre de la Isleta en CastillosNet.org