NO_PUBKEY [Solved]

Questions about other topics - please check if your question fits better in another category before posting here
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Nadeem14
Level 2
Level 2
Posts: 69
Joined: Tue Nov 05, 2019 9:45 am

NO_PUBKEY [Solved]

Post by Nadeem14 »

when i hit sudo apt-get update i get The following signatures couldn't be verified because the public key is not available: NO_PUBKEY C2518248EEA14886 error. I am getting this error for many repo's. After some research i tried adding Y PPA manager, but unfortunately that is not getting added as well and throws the error.

Code: Select all

sudo add-apt-repository ppa:webupd8team/y-ppa-manager

You are about to add the following PPA:
 Y PPA Manager

Info: http://www.webupd8.org/2010/11/y-ppa-manager-easily-search-add-remove.html

This PPA is for Y PPA Manager and also includes the latest YAD for the supported Ubuntu versions (YAD is a dependency for Y PPA Manager): http://sourceforge.net/p/yad-dialog/
 More info: https://launchpad.net/~webupd8team/+archive/ubuntu/y-ppa-manager
Press Enter to continue or Ctrl+C to cancel
Executing: /tmp/apt-key-gpghome.6vMGGOMHAB/gpg.1.sh --keyserver hkps://keyserver.ubuntu.com:443 --recv-keys 7B2C3B0889BF5709A105D03AC2518248EEA14886
gpg: key C2518248EEA14886: 15 signatures not checked due to missing keys
gpg: key C2518248EEA14886: public key "Launchpad VLC" imported
gpg: Total number processed: 1
gpg:               imported: 1
gpg: invalid key resource URL '/tmp/apt-key-gpghome.6vMGGOMHAB/home:corrad1nho.asc.gpg'
gpg: keyblock resource '(null)': General error
gpg: key B5B116B72D0F61F0: 13 signatures not checked due to missing keys
gpg: key D530E028F59EAE4D: 2 signatures not checked due to missing keys
gpg: key B955BE41488C6624: 1 signature not checked due to a missing key
gpg: key 3B57AE37123C1C64: 1 signature not checked due to a missing key
gpg: key A6616109451BBBF2: 12 signatures not checked due to missing keys
gpg: key 3B4FE6ACC0B21F32: 3 signatures not checked due to missing keys
gpg: key D94AA3F0EFE21092: 3 signatures not checked due to missing keys
gpg: key C8CAB6595FDFF622: 2 signatures not checked due to missing keys
gpg: key 871920D1991BC93C: 1 signature not checked due to a missing key
gpg: key C2518248EEA14886: 15 signatures not checked due to missing keys
gpg: Total number processed: 13
gpg:       skipped new keys: 13
i tried adding

Code: Select all

~$ sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com `sudo aptitude update 2>&1 | grep -o ‘[0-9A-Z]\{16\}$’ | xargs`
[sudo] password for nadeem14:         
Executing: /tmp/apt-key-gpghome.E4CCf3oJLI/gpg.1.sh --recv-keys --keyserver keyserver.ubuntu.com
gpg: invalid key resource URL '/tmp/apt-key-gpghome.E4CCf3oJLI/home:corrad1nho.asc.gpg'
gpg: keyblock resource '(null)': General error
gpg: key B5B116B72D0F61F0: 13 signatures not checked due to missing keys
gpg: key D530E028F59EAE4D: 2 signatures not checked due to missing keys
gpg: key B955BE41488C6624: 1 signature not checked due to a missing key
gpg: key 3B57AE37123C1C64: 1 signature not checked due to a missing key
gpg: key A6616109451BBBF2: 12 signatures not checked due to missing keys
gpg: key 3B4FE6ACC0B21F32: 3 signatures not checked due to missing keys
gpg: key D94AA3F0EFE21092: 3 signatures not checked due to missing keys
gpg: key C8CAB6595FDFF622: 2 signatures not checked due to missing keys
gpg: key 871920D1991BC93C: 1 signature not checked due to a missing key
gpg: Total number processed: 12
gpg:       skipped new keys: 12
but to no avail. It would be great if you help me out.

Output for inxi -Sr down below

Code: Select all

~$ inxi -Sr
System:
  Host: Nadeem-Linux Kernel: 5.7.1-050701-generic x86_64 bits: 64 
  Desktop: Cinnamon 4.4.8 Distro: Linux Mint 19.3 Tricia 
Repos:
  No active apt repos in: /etc/apt/sources.list 
  No active apt repos in: /etc/apt/sources.list.d/additional-repositories.list 
  Active apt repos in: /etc/apt/sources.list.d/daniruiz-flat-remix-bionic.list 
  1: deb http://ppa.launchpad.net/daniruiz/flat-remix/ubuntu bionic main
  Active apt repos in: /etc/apt/sources.list.d/home:corrad1nho.list 
  1: deb http://download.opensuse.org/repositories/home:/corrad1nho/xUbuntu_18.04/ /
  Active apt repos in: /etc/apt/sources.list.d/home:kozec.list 
  1: deb http://download.opensuse.org/repositories/home:/kozec/xUbuntu_18.04/ /
  Active apt repos in: /etc/apt/sources.list.d/kdenlive-kdenlive-stable-bionic.list 
  1: deb http://ppa.launchpad.net/kdenlive/kdenlive-stable/ubuntu bionic main
  Active apt repos in: /etc/apt/sources.list.d/megasync.list 
  1: deb https://mega.nz/linux/MEGAsync/xUbuntu_18.04/ ./
  Active apt repos in: /etc/apt/sources.list.d/noobslab-macbuntu-bionic.list 
  1: deb http://ppa.launchpad.net/noobslab/macbuntu/ubuntu bionic main
  Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list 
  1: deb http://packages.linuxmint.com tricia main upstream import backport
  2: deb http://archive.ubuntu.com/ubuntu bionic main restricted universe multiverse
  3: deb http://archive.ubuntu.com/ubuntu bionic-updates main restricted universe multiverse
  4: deb http://archive.ubuntu.com/ubuntu bionic-backports main restricted universe multiverse
  5: deb http://security.ubuntu.com/ubuntu/ bionic-security main restricted universe multiverse
  6: deb http://archive.canonical.com/ubuntu/ bionic partner
  Active apt repos in: /etc/apt/sources.list.d/oguzhaninan-stacer-bionic.list 
  1: deb http://ppa.launchpad.net/oguzhaninan/stacer/ubuntu bionic main
  Active apt repos in: /etc/apt/sources.list.d/syncthing.list 
  1: deb https://apt.syncthing.net/ syncthing stable
  Active apt repos in: /etc/apt/sources.list.d/teejee2008-ppa-bionic.list 
  1: deb http://ppa.launchpad.net/teejee2008/ppa/ubuntu bionic main
  Active apt repos in: /etc/apt/sources.list.d/webupd8team-y-ppa-manager-bionic.list 
  1: deb http://ppa.launchpad.net/webupd8team/y-ppa-manager/ubuntu bionic main
  Active apt repos in: /etc/apt/sources.list.d/windscribe-repo.list 
  1: deb https://repo.windscribe.com/ubuntu zesty main
and output for sudo apt-get update

Code: Select all

~$ sudo apt-get update
Get:1 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]    
Hit:2 http://ppa.launchpad.net/daniruiz/flat-remix/ubuntu bionic InRelease     
Hit:3 http://archive.ubuntu.com/ubuntu bionic InRelease                        
Hit:4 http://archive.canonical.com/ubuntu bionic InRelease                     
Get:5 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]      
Get:6 https://apt.syncthing.net syncthing InRelease [15.1 kB]                  
Err:6 https://apt.syncthing.net syncthing InRelease                            
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY D26E6ED000654A3E
Hit:8 http://ppa.launchpad.net/noobslab/macbuntu/ubuntu bionic InRelease       
Hit:9 https://repo.windscribe.com/ubuntu zesty InRelease                       
Get:10 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB]   
Ign:12 http://packages.linuxmint.com tricia InRelease                          
Get:13 https://mega.nz/linux/MEGAsync/xUbuntu_18.04 ./ InRelease [2,468 B]     
Hit:14 http://ppa.launchpad.net/teejee2008/ppa/ubuntu bionic InRelease         
Hit:15 http://packages.linuxmint.com tricia Release                            
Get:7 http://ppa.launchpad.net/kdenlive/kdenlive-stable/ubuntu bionic InRelease [15.9 kB]
Err:7 http://ppa.launchpad.net/kdenlive/kdenlive-stable/ubuntu bionic InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 2763B0EE7709FE97
Get:11 http://ppa.launchpad.net/oguzhaninan/stacer/ubuntu bionic InRelease [15.9 kB]
Err:11 http://ppa.launchpad.net/oguzhaninan/stacer/ubuntu bionic InRelease     
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 0F6444BB6902FCAF
Get:17 http://ppa.launchpad.net/webupd8team/y-ppa-manager/ubuntu bionic InRelease [15.4 kB]
Err:17 http://ppa.launchpad.net/webupd8team/y-ppa-manager/ubuntu bionic InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY C2518248EEA14886
Err:18 http://download.opensuse.org/repositories/home:/corrad1nho/xUbuntu_18.04  InRelease
  Could not resolve 'download.opensuse.org'
Err:19 http://download.opensuse.org/repositories/home:/kozec/xUbuntu_18.04  InRelease
  Could not resolve 'download.opensuse.org'
Reading package lists... Done                                                  
W: GPG error: https://apt.syncthing.net syncthing InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY D26E6ED000654A3E
E: The repository 'https://apt.syncthing.net syncthing InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: GPG error: http://ppa.launchpad.net/kdenlive/kdenlive-stable/ubuntu bionic InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 2763B0EE7709FE97
E: The repository 'http://ppa.launchpad.net/kdenlive/kdenlive-stable/ubuntu bionic InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: GPG error: http://ppa.launchpad.net/oguzhaninan/stacer/ubuntu bionic InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 0F6444BB6902FCAF
E: The repository 'http://ppa.launchpad.net/oguzhaninan/stacer/ubuntu bionic InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: GPG error: http://ppa.launchpad.net/webupd8team/y-ppa-manager/ubuntu bionic InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY C2518248EEA14886
E: The repository 'http://ppa.launchpad.net/webupd8team/y-ppa-manager/ubuntu bionic InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
Any help would be appreciated. :)
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
sleeper12
Level 21
Level 21
Posts: 14592
Joined: Thu May 25, 2017 3:22 pm

Re: NO_PUBKEY

Post by sleeper12 »

Try:

Code: Select all

 sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com C2518248EEA14886 

Code: Select all

 sudo apt update 
Nadeem14
Level 2
Level 2
Posts: 69
Joined: Tue Nov 05, 2019 9:45 am

Re: NO_PUBKEY

Post by Nadeem14 »

still the same :(

Code: Select all

nadeem14@Nadeem-Linux:~$ sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com C2518248EEA14886 
[sudo] password for nadeem14:         
Executing: /tmp/apt-key-gpghome.NDBqYnRJsm/gpg.1.sh --recv-keys --keyserver keyserver.ubuntu.com C2518248EEA14886
gpg: key C2518248EEA14886: 15 signatures not checked due to missing keys
gpg: key C2518248EEA14886: public key "Launchpad VLC" imported
gpg: Total number processed: 1
gpg:               imported: 1
gpg: invalid key resource URL '/tmp/apt-key-gpghome.NDBqYnRJsm/home:corrad1nho.asc.gpg'
gpg: keyblock resource '(null)': General error
gpg: key B5B116B72D0F61F0: 13 signatures not checked due to missing keys
gpg: key D530E028F59EAE4D: 2 signatures not checked due to missing keys
gpg: key B955BE41488C6624: 1 signature not checked due to a missing key
gpg: key 3B57AE37123C1C64: 1 signature not checked due to a missing key
gpg: key A6616109451BBBF2: 12 signatures not checked due to missing keys
gpg: key 3B4FE6ACC0B21F32: 3 signatures not checked due to missing keys
gpg: key D94AA3F0EFE21092: 3 signatures not checked due to missing keys
gpg: key C8CAB6595FDFF622: 2 signatures not checked due to missing keys
gpg: key 871920D1991BC93C: 1 signature not checked due to a missing key
gpg: key C2518248EEA14886: 15 signatures not checked due to missing keys
gpg: Total number processed: 13
gpg:       skipped new keys: 13
nadeem14@Nadeem-Linux:~$ sudo apt update 
Hit:1 http://archive.ubuntu.com/ubuntu bionic InRelease                        
Hit:2 http://ppa.launchpad.net/daniruiz/flat-remix/ubuntu bionic InRelease     
Get:3 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]    
Get:4 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]      
Ign:6 http://packages.linuxmint.com tricia InRelease                           
Hit:7 http://download.opensuse.org/repositories/home:/corrad1nho/xUbuntu_18.04  InRelease
Hit:8 http://ppa.launchpad.net/noobslab/macbuntu/ubuntu bionic InRelease       
Hit:9 http://download.opensuse.org/repositories/home:/kozec/xUbuntu_18.04  InRelease
Get:10 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB]   
Get:11 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages [748 kB]
Get:12 https://apt.syncthing.net syncthing InRelease [15.1 kB]                 
Err:12 https://apt.syncthing.net syncthing InRelease                           
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY D26E6ED000654A3E
Get:13 https://mega.nz/linux/MEGAsync/xUbuntu_18.04 ./ InRelease [2,468 B]     
Get:15 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [970 kB]
Hit:16 http://ppa.launchpad.net/teejee2008/ppa/ubuntu bionic InRelease         
Hit:17 http://packages.linuxmint.com tricia Release                            
Hit:20 https://repo.windscribe.com/ubuntu zesty InRelease                      
Hit:21 http://archive.canonical.com/ubuntu bionic InRelease                    
Get:5 http://ppa.launchpad.net/kdenlive/kdenlive-stable/ubuntu bionic InRelease [15.9 kB]
Err:5 http://ppa.launchpad.net/kdenlive/kdenlive-stable/ubuntu bionic InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 2763B0EE7709FE97
Get:14 http://ppa.launchpad.net/oguzhaninan/stacer/ubuntu bionic InRelease [15.9 kB]
Err:14 http://ppa.launchpad.net/oguzhaninan/stacer/ubuntu bionic InRelease     
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 0F6444BB6902FCAF
Get:19 http://ppa.launchpad.net/webupd8team/y-ppa-manager/ubuntu bionic InRelease [15.4 kB]
Get:22 http://security.ubuntu.com/ubuntu bionic-security/main i386 Packages [486 kB]
Err:19 http://ppa.launchpad.net/webupd8team/y-ppa-manager/ubuntu bionic InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY C2518248EEA14886
Get:23 http://archive.ubuntu.com/ubuntu bionic-updates/main i386 Packages [694 kB]
Get:24 http://security.ubuntu.com/ubuntu bionic-security/main Translation-en [237 kB]
Get:25 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 DEP-11 Metadata [295 kB]
Get:26 http://security.ubuntu.com/ubuntu bionic-security/main amd64 DEP-11 Metadata [46.1 kB]
Get:27 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 DEP-11 Metadata [49.2 kB]
Get:28 http://security.ubuntu.com/ubuntu bionic-security/multiverse amd64 DEP-11 Metadata [2,464 B]
Get:29 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [1,085 kB]
Get:30 http://archive.ubuntu.com/ubuntu bionic-updates/universe i386 Packages [1,023 kB]
Get:31 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 DEP-11 Metadata [279 kB]
Get:32 http://archive.ubuntu.com/ubuntu bionic-updates/multiverse amd64 DEP-11 Metadata [2,468 B]
Get:33 http://archive.ubuntu.com/ubuntu bionic-backports/universe amd64 DEP-11 Metadata [7,968 B]
Reading package lists... Done                                                  
W: GPG error: https://apt.syncthing.net syncthing InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY D26E6ED000654A3E
E: The repository 'https://apt.syncthing.net syncthing InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: GPG error: http://ppa.launchpad.net/kdenlive/kdenlive-stable/ubuntu bionic InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 2763B0EE7709FE97
E: The repository 'http://ppa.launchpad.net/kdenlive/kdenlive-stable/ubuntu bionic InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: GPG error: http://ppa.launchpad.net/oguzhaninan/stacer/ubuntu bionic InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 0F6444BB6902FCAF
E: The repository 'http://ppa.launchpad.net/oguzhaninan/stacer/ubuntu bionic InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: GPG error: http://ppa.launchpad.net/webupd8team/y-ppa-manager/ubuntu bionic InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY C2518248EEA14886
E: The repository 'http://ppa.launchpad.net/webupd8team/y-ppa-manager/ubuntu bionic InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
sleeper12
Level 21
Level 21
Posts: 14592
Joined: Thu May 25, 2017 3:22 pm

Re: NO_PUBKEY

Post by sleeper12 »

Just a guess, but try:

Code: Select all

 sudo apt-key adv --keyserver hkps://keyserver.ubuntu.com:443 --receive-keys 6E03419649971F1382CE4AF4B033BBD612B4B657 
Nadeem14
Level 2
Level 2
Posts: 69
Joined: Tue Nov 05, 2019 9:45 am

Re: NO_PUBKEY

Post by Nadeem14 »

Code: Select all

~$ sudo apt-key adv --keyserver hkps://keyserver.ubuntu.com:443 --receive-keys 6E03419649971F1382CE4AF4B033BBD612B4B657 
Executing: /tmp/apt-key-gpghome.4m9k0c2hYk/gpg.1.sh --keyserver hkps://keyserver.ubuntu.com:443 --receive-keys 6E03419649971F1382CE4AF4B033BBD612B4B657
gpg: key B033BBD612B4B657: public key "Launchpad PPA for Keyman for Linux" imported
gpg: Total number processed: 1
gpg:               imported: 1
gpg: invalid key resource URL '/tmp/apt-key-gpghome.4m9k0c2hYk/home:corrad1nho.asc.gpg'
gpg: keyblock resource '(null)': General error
gpg: key B5B116B72D0F61F0: 13 signatures not checked due to missing keys
gpg: key D530E028F59EAE4D: 2 signatures not checked due to missing keys
gpg: key B955BE41488C6624: 1 signature not checked due to a missing key
gpg: key 3B57AE37123C1C64: 1 signature not checked due to a missing key
gpg: key A6616109451BBBF2: 12 signatures not checked due to missing keys
gpg: key 3B4FE6ACC0B21F32: 3 signatures not checked due to missing keys
gpg: key D94AA3F0EFE21092: 3 signatures not checked due to missing keys
gpg: key C8CAB6595FDFF622: 2 signatures not checked due to missing keys
gpg: key 871920D1991BC93C: 1 signature not checked due to a missing key
gpg: Total number processed: 13
gpg:       skipped new keys: 13

sleeper12
Level 21
Level 21
Posts: 14592
Joined: Thu May 25, 2017 3:22 pm

Re: NO_PUBKEY

Post by sleeper12 »

I found this here: https://www.linuxuprising.com/2019/06/f ... itory.html

Code: Select all

 sudo apt update 2>&1 1>/dev/null | sed -ne 's/.*NO_PUBKEY //p' | while read key; do if ! [[ ${keys[*]} =~ "$key" ]]; then sudo apt-key adv --keyserver hkp://pool.sks-keyservers.net:80 --recv-keys "$key"; keys+=("$key"); fi; done
Nadeem14
Level 2
Level 2
Posts: 69
Joined: Tue Nov 05, 2019 9:45 am

Re: NO_PUBKEY

Post by Nadeem14 »

that did not work either :(

Code: Select all

$  sudo apt update 2>&1 1>/dev/null | sed -ne 's/.*NO_PUBKEY //p' | while read key; do if ! [[ ${keys[*]} =~ "$key" ]]; then sudo apt-key adv --keyserver hkp://pool.sks-keyservers.net:80 --recv-keys "$key"; keys+=("$key"); fi; done
[sudo] password for nadeem14:         
Executing: /tmp/apt-key-gpghome.1iZijYOKh0/gpg.1.sh --keyserver hkp://pool.sks-keyservers.net:80 --recv-keys D26E6ED000654A3E
gpg: keyserver receive failed: Cannot assign requested address
Executing: /tmp/apt-key-gpghome.ycmpyAkAWM/gpg.1.sh --keyserver hkp://pool.sks-keyservers.net:80 --recv-keys 2763B0EE7709FE97
gpg: key 2763B0EE7709FE97: public key "Launchpad PPA for Kdenlive" imported
gpg: Total number processed: 1
gpg:               imported: 1
gpg: invalid key resource URL '/tmp/apt-key-gpghome.ycmpyAkAWM/home:corrad1nho.asc.gpg'
gpg: keyblock resource '(null)': General error
gpg: key B5B116B72D0F61F0: 13 signatures not checked due to missing keys
gpg: key D530E028F59EAE4D: 2 signatures not checked due to missing keys
gpg: key B955BE41488C6624: 1 signature not checked due to a missing key
gpg: key 3B57AE37123C1C64: 1 signature not checked due to a missing key
gpg: key A6616109451BBBF2: 12 signatures not checked due to missing keys
gpg: key 3B4FE6ACC0B21F32: 3 signatures not checked due to missing keys
gpg: key D94AA3F0EFE21092: 3 signatures not checked due to missing keys
gpg: key C8CAB6595FDFF622: 2 signatures not checked due to missing keys
gpg: key 871920D1991BC93C: 1 signature not checked due to a missing key
gpg: Total number processed: 13
gpg:       skipped new keys: 13
Executing: /tmp/apt-key-gpghome.nGC0PEKjE2/gpg.1.sh --keyserver hkp://pool.sks-keyservers.net:80 --recv-keys 0F6444BB6902FCAF
gpg: key 0F6444BB6902FCAF: public key "Launchpad PPA for Oguzhan Inan" imported
gpg: Total number processed: 1
gpg:               imported: 1
gpg: invalid key resource URL '/tmp/apt-key-gpghome.nGC0PEKjE2/home:corrad1nho.asc.gpg'
gpg: keyblock resource '(null)': General error
gpg: key B5B116B72D0F61F0: 13 signatures not checked due to missing keys
gpg: key D530E028F59EAE4D: 2 signatures not checked due to missing keys
gpg: key B955BE41488C6624: 1 signature not checked due to a missing key
gpg: key 3B57AE37123C1C64: 1 signature not checked due to a missing key
gpg: key A6616109451BBBF2: 12 signatures not checked due to missing keys
gpg: key 3B4FE6ACC0B21F32: 3 signatures not checked due to missing keys
gpg: key D94AA3F0EFE21092: 3 signatures not checked due to missing keys
gpg: key C8CAB6595FDFF622: 2 signatures not checked due to missing keys
gpg: key 871920D1991BC93C: 1 signature not checked due to a missing key
gpg: Total number processed: 13
gpg:       skipped new keys: 13
Executing: /tmp/apt-key-gpghome.i1nSZKMthn/gpg.1.sh --keyserver hkp://pool.sks-keyservers.net:80 --recv-keys C2518248EEA14886
gpg: keyserver receive failed: Cannot assign requested address
sleeper12
Level 21
Level 21
Posts: 14592
Joined: Thu May 25, 2017 3:22 pm

Re: NO_PUBKEY

Post by sleeper12 »

This is old, but try:

Code: Select all

 sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com `sudo aptitude update 2>&1 | grep -o ‘[0-9A-Z]\{16\}$’ | xargs` 
Nadeem14
Level 2
Level 2
Posts: 69
Joined: Tue Nov 05, 2019 9:45 am

Re: NO_PUBKEY

Post by Nadeem14 »

nope :(

Code: Select all

sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com `sudo aptitude update 2>&1 | grep -o ‘[0-9A-Z]\{16\}$’ | xargs`        
Executing: /tmp/apt-key-gpghome.5qn3NVe5Ut/gpg.1.sh --recv-keys --keyserver keyserver.ubuntu.com
gpg: invalid key resource URL '/tmp/apt-key-gpghome.5qn3NVe5Ut/home:corrad1nho.asc.gpg'
gpg: keyblock resource '(null)': General error
gpg: key B5B116B72D0F61F0: 13 signatures not checked due to missing keys
gpg: key D530E028F59EAE4D: 2 signatures not checked due to missing keys
gpg: key B955BE41488C6624: 1 signature not checked due to a missing key
gpg: key 3B57AE37123C1C64: 1 signature not checked due to a missing key
gpg: key A6616109451BBBF2: 12 signatures not checked due to missing keys
gpg: key 3B4FE6ACC0B21F32: 3 signatures not checked due to missing keys
gpg: key D94AA3F0EFE21092: 3 signatures not checked due to missing keys
gpg: key C8CAB6595FDFF622: 2 signatures not checked due to missing keys
gpg: key 871920D1991BC93C: 1 signature not checked due to a missing key
gpg: Total number processed: 12
gpg:       skipped new keys: 12
sleeper12
Level 21
Level 21
Posts: 14592
Joined: Thu May 25, 2017 3:22 pm

Re: NO_PUBKEY

Post by sleeper12 »

What does this show:

Code: Select all

 ls /etc/apt/trusted.gpg.d | wc -l 
Nadeem14
Level 2
Level 2
Posts: 69
Joined: Tue Nov 05, 2019 9:45 am

Re: NO_PUBKEY

Post by Nadeem14 »

Code: Select all

~$  ls /etc/apt/trusted.gpg.d | wc -l 
7
sleeper12
Level 21
Level 21
Posts: 14592
Joined: Thu May 25, 2017 3:22 pm

Re: NO_PUBKEY

Post by sleeper12 »

Try disabling your PPA's in Software Sources, PPA's & see if that helps any.
Nadeem14
Level 2
Level 2
Posts: 69
Joined: Tue Nov 05, 2019 9:45 am

Re: NO_PUBKEY

Post by Nadeem14 »

i disabled all the PPA's in software resources and gave sudo apt update.the output was this

Code: Select all

~$ sudo apt update
[sudo] password for nadeem14:         
Ign:1 http://packages.linuxmint.com tricia InRelease                           
Hit:2 http://download.opensuse.org/repositories/home:/corrad1nho/xUbuntu_18.04  InRelease
Hit:3 http://packages.linuxmint.com tricia Release                             
Hit:4 http://archive.canonical.com/ubuntu bionic InRelease                     
Hit:5 http://security.ubuntu.com/ubuntu bionic-security InRelease              
Hit:6 http://archive.ubuntu.com/ubuntu bionic InRelease                        
Hit:8 http://download.opensuse.org/repositories/home:/kozec/xUbuntu_18.04  InRelease
Hit:9 http://archive.ubuntu.com/ubuntu bionic-updates InRelease                
Hit:10 https://repo.windscribe.com/ubuntu zesty InRelease                      
Hit:11 http://archive.ubuntu.com/ubuntu bionic-backports InRelease             
Get:12 https://mega.nz/linux/MEGAsync/xUbuntu_18.04 ./ InRelease [2,468 B]
Fetched 2,468 B in 3s (727 B/s)       
Reading package lists... Done
Building dependency tree       
Reading state information... Done
All packages are up to date.
and then again when i tried to add the Y PPA manager i got the same error. the output is as below

Code: Select all

~$ sudo add-apt-repository ppa:webupd8team/y-ppa-manager
You are about to add the following PPA:
 Y PPA Manager

Info: http://www.webupd8.org/2010/11/y-ppa-manager-easily-search-add-remove.html

This PPA is for Y PPA Manager and also includes the latest YAD for the supported Ubuntu versions (YAD is a dependency for Y PPA Manager): http://sourceforge.net/p/yad-dialog/
 More info: https://launchpad.net/~webupd8team/+archive/ubuntu/y-ppa-manager
Press Enter to continue or Ctrl+C to cancel

Executing: /tmp/apt-key-gpghome.mOWm5D4pVJ/gpg.1.sh --keyserver hkps://keyserver.ubuntu.com:443 --recv-keys 7B2C3B0889BF5709A105D03AC2518248EEA14886
gpg: key C2518248EEA14886: 15 signatures not checked due to missing keys
gpg: key C2518248EEA14886: public key "Launchpad VLC" imported
gpg: Total number processed: 1
gpg:               imported: 1
gpg: invalid key resource URL '/tmp/apt-key-gpghome.mOWm5D4pVJ/home:corrad1nho.asc.gpg'
gpg: keyblock resource '(null)': General error
gpg: key B5B116B72D0F61F0: 13 signatures not checked due to missing keys
gpg: key D530E028F59EAE4D: 2 signatures not checked due to missing keys
gpg: key B955BE41488C6624: 1 signature not checked due to a missing key
gpg: key 3B57AE37123C1C64: 1 signature not checked due to a missing key
gpg: key A6616109451BBBF2: 12 signatures not checked due to missing keys
gpg: key 3B4FE6ACC0B21F32: 3 signatures not checked due to missing keys
gpg: key D94AA3F0EFE21092: 3 signatures not checked due to missing keys
gpg: key C8CAB6595FDFF622: 2 signatures not checked due to missing keys
gpg: key 871920D1991BC93C: 1 signature not checked due to a missing key
gpg: key C2518248EEA14886: 15 signatures not checked due to missing keys
gpg: Total number processed: 13
gpg:       skipped new keys: 13
nadeem14@Nadeem-Linux:~$ sudo apt update 
Hit:1 http://archive.ubuntu.com/ubuntu bionic InRelease                        
Hit:2 http://security.ubuntu.com/ubuntu bionic-security InRelease              
Hit:3 http://archive.canonical.com/ubuntu bionic InRelease                     
Hit:4 http://archive.ubuntu.com/ubuntu bionic-updates InRelease                
Ign:5 http://packages.linuxmint.com tricia InRelease                           
Hit:6 http://download.opensuse.org/repositories/home:/corrad1nho/xUbuntu_18.04  InRelease
Hit:7 http://archive.ubuntu.com/ubuntu bionic-backports InRelease              
Hit:8 http://packages.linuxmint.com tricia Release                             
Hit:10 http://download.opensuse.org/repositories/home:/kozec/xUbuntu_18.04  InRelease
Hit:11 https://repo.windscribe.com/ubuntu zesty InRelease                      
Get:12 https://mega.nz/linux/MEGAsync/xUbuntu_18.04 ./ InRelease [2,468 B]
Fetched 2,468 B in 14s (172 B/s)      
Reading package lists... Done
Building dependency tree       
Reading state information... Done
All packages are up to date.
nadeem14@Nadeem-Linux:~$ sudo apt install y-ppa-manager
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package y-ppa-manager
sleeper12
Level 21
Level 21
Posts: 14592
Joined: Thu May 25, 2017 3:22 pm

Re: NO_PUBKEY

Post by sleeper12 »

Try:

Code: Select all

 sudo add-apt-repository ppa:gwibber-daily/ppa 

Code: Select all

 sudo apt update 
sleeper12
Level 21
Level 21
Posts: 14592
Joined: Thu May 25, 2017 3:22 pm

Re: NO_PUBKEY

Post by sleeper12 »

See if this helps:

Code: Select all

 sudo rm /etc/apt/trusted.gpg.d/home:corrad1nho.asc 
Nadeem14
Level 2
Level 2
Posts: 69
Joined: Tue Nov 05, 2019 9:45 am

Re: NO_PUBKEY

Post by Nadeem14 »

sleeper12 wrote: Fri Jun 26, 2020 11:10 am Try:

Code: Select all

 sudo add-apt-repository ppa:gwibber-daily/ppa 

Code: Select all

 sudo apt update 

Code: Select all

~$ sudo add-apt-repository ppa:gwibber-daily/ppa    
Cannot add PPA: ''This PPA does not support bionic''.
Nadeem14
Level 2
Level 2
Posts: 69
Joined: Tue Nov 05, 2019 9:45 am

Re: NO_PUBKEY

Post by Nadeem14 »

sleeper12 wrote: Sat Jun 27, 2020 10:44 pm See if this helps:

Code: Select all

 sudo rm /etc/apt/trusted.gpg.d/home:corrad1nho.asc 

Code: Select all

~$  sudo rm /etc/apt/trusted.gpg.d/home:corrad1nho.asc 
rm: cannot remove '/etc/apt/trusted.gpg.d/home:corrad1nho.asc': No such file or directory
User avatar
smurphos
Level 18
Level 18
Posts: 8498
Joined: Fri Sep 05, 2014 12:18 am
Location: Irish Brit in Portugal
Contact:

Re: NO_PUBKEY

Post by smurphos »

Interesting - can you report the output of

Code: Select all

ls -la /etc/apt/trusted.gpg.d
For custom Nemo actions, useful scripts for the Cinnamon desktop, and Cinnamox themes visit my Github pages.
Nadeem14
Level 2
Level 2
Posts: 69
Joined: Tue Nov 05, 2019 9:45 am

Re: NO_PUBKEY

Post by Nadeem14 »

i have seen this word corrad1nho in my open VPN manager.

Code: Select all

https://github.com/corrad1nho/qomui
Nadeem14
Level 2
Level 2
Posts: 69
Joined: Tue Nov 05, 2019 9:45 am

Re: NO_PUBKEY

Post by Nadeem14 »

smurphos wrote: Mon Jun 29, 2020 11:29 am Interesting - can you report the output of

Code: Select all

ls -la /etc/apt/trusted.gpg.d

Code: Select all

~$ ls -la /etc/apt/trusted.gpg.d
total 36
drwxr-xr-x 2 root root 4096 Jun 29 20:47 .
drwxr-xr-x 7 root root 4096 Jun 26 12:48 ..
-rw-r--r-- 1 root root 1093 Aug 25  2019 home:kozec.asc
-rw-r--r-- 1 root root 7801 Jul 29  2019 ubuntu-defaults.chroot.key.gpg
-rw-r--r-- 1 root root 2796 Sep 18  2018 ubuntu-keyring-2012-archive.gpg
-rw-r--r-- 1 root root 2794 Sep 18  2018 ubuntu-keyring-2012-cdimage.gpg
-rw-r--r-- 1 root root 2283 Sep 18  2018 ubuntu-keyring-2016-dbgsym.gpg
-rw-r--r-- 1 root root 1733 Sep 18  2018 ubuntu-keyring-2018-archive.gpg
Locked

Return to “Other topics”