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.
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 »

Nadeem14 wrote: Mon Jun 29, 2020 12:09 pm i have seen this word corrad1nho in my open VPN manager.

Code: Select all

https://github.com/corrad1nho/qomui
What's weird is the error you are getting would imply that there's a /etc/apt/trusted.gpg.d/home:corrad1nho.asc file and it doesn't exist.

Can you try this

Code: Select all

sudo rm /tmp/apt-key-gpghome.mOWm5D4pVJ/home:corrad1nho.asc.gpg
then

Code: Select all

apt update
then try re-adding the PPA or importing the missing keys

If that doesn't work try this

Code: Select all

wget -nv https://download.opensuse.org/repositories/home:corrad1nho/xUbuntu_18.04/Release.key -O /tmp/home:corrad1nho.asc

Code: Select all

sudo add-key add /tmp/home:corrad1nho.asc
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 »

Code: Select all

~$ sudo rm /tmp/apt-key-gpghome.mOWm5D4pVJ/home:corrad1nho.asc.gpg   
rm: cannot remove '/tmp/apt-key-gpghome.mOWm5D4pVJ/home:corrad1nho.asc.gpg': No such file or directory

nadeem14@Nadeem-Linux:~$ apt update
Hit:1 http://archive.ubuntu.com/ubuntu bionic InRelease                        
Hit:2 http://archive.canonical.com/ubuntu bionic InRelease                     
Get:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]      
Get:4 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]    
Ign:5 http://packages.linuxmint.com tricia InRelease                           
Get:6 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB]    
Hit:7 https://repo.windscribe.com/ubuntu zesty InRelease                       
Hit:8 http://download.opensuse.org/repositories/home:/corrad1nho/xUbuntu_18.04  InRelease
Hit:9 http://packages.linuxmint.com tricia Release                             
Get:10 http://security.ubuntu.com/ubuntu bionic-security/main amd64 DEP-11 Metadata [46.1 kB]
Err:8 http://download.opensuse.org/repositories/home:/corrad1nho/xUbuntu_18.04  InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY B955BE41488C6624
Hit:11 http://download.opensuse.org/repositories/home:/kozec/xUbuntu_18.04  InRelease
Get:12 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [983 kB]
Get:14 https://mega.nz/linux/MEGAsync/xUbuntu_18.04 ./ InRelease [2,468 B]     
Get:15 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 DEP-11 Metadata [49.1 kB]
Get:16 http://security.ubuntu.com/ubuntu bionic-security/multiverse amd64 DEP-11 Metadata [2,464 B]
Get:17 http://archive.ubuntu.com/ubuntu bionic-updates/main i386 Packages [701 kB]
Get:18 http://archive.ubuntu.com/ubuntu bionic-updates/main Translation-en [333 kB]
Get:19 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 DEP-11 Metadata [294 kB]
Get:20 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [1,086 kB]
Get:21 http://archive.ubuntu.com/ubuntu bionic-updates/universe i386 Packages [1,023 kB]
Get:22 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 DEP-11 Metadata [279 kB]
Get:23 http://archive.ubuntu.com/ubuntu bionic-updates/multiverse amd64 DEP-11 Metadata [2,468 B]
Get:24 http://archive.ubuntu.com/ubuntu bionic-backports/universe amd64 DEP-11 Metadata [7,972 B]
Fetched 5,062 kB in 25s (202 kB/s)                                             
Reading package lists... Done
Building dependency tree       
Reading state information... Done
2 packages can be upgraded. Run 'apt list --upgradable' to see them.
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://download.opensuse.org/repositories/home:/corrad1nho/xUbuntu_18.04  InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY B955BE41488C6624
W: Failed to fetch http://download.opensuse.org/repositories/home:/corrad1nho/xUbuntu_18.04/InRelease  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY B955BE41488C6624
W: Some index files failed to download. They have been ignored, or old ones used instead.
Nadeem14
Level 2
Level 2
Posts: 69
Joined: Tue Nov 05, 2019 9:45 am

Re: NO_PUBKEY

Post by Nadeem14 »

i tried this one as well

Code: Select all

nadeem14@Nadeem-Linux:~$ wget -nv https://download.opensuse.org/repositories/home:corrad1nho/xUbuntu_18.04/Release.key -O /tmp/home:corrad1nho.asc
2020-06-30 19:40:35 URL:https://download.opensuse.org/repositories/home:/corrad1nho/xUbuntu_18.04/Release.key [1106/1106] -> "/tmp/home:corrad1nho.asc" [1]
nadeem14@Nadeem-Linux:~$ sudo add-key add /tmp/home:corrad1nho.asc     
sudo: add-key: command not found
sleeper12
Level 21
Level 21
Posts: 14607
Joined: Thu May 25, 2017 3:22 pm

Re: NO_PUBKEY

Post by sleeper12 »

See if this fixes the latest No Pubkey error:

Code: Select all

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

Code: Select all

 sudo apt update 
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 »

Nadeem14 wrote: Tue Jun 30, 2020 10:12 am i tried this one as well

Code: Select all

nadeem14@Nadeem-Linux:~$ wget -nv https://download.opensuse.org/repositories/home:corrad1nho/xUbuntu_18.04/Release.key -O /tmp/home:corrad1nho.asc
2020-06-30 19:40:35 URL:https://download.opensuse.org/repositories/home:/corrad1nho/xUbuntu_18.04/Release.key [1106/1106] -> "/tmp/home:corrad1nho.asc" [1]
nadeem14@Nadeem-Linux:~$ sudo add-key add /tmp/home:corrad1nho.asc     
sudo: add-key: command not found
Sorry typo on my part - the last command should have been

Code: Select all

sudo apt-key add /tmp/home:corrad1nho.asc
sleeper12's command will hopefully do the trick though.
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 »

sleeper12 wrote: Tue Jun 30, 2020 12:01 pm See if this fixes the latest No Pubkey error:

Code: Select all

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

Code: Select all

 sudo apt update 

Code: Select all

nadeem14@Nadeem-Linux:~$ sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com B955BE41488C6624 
Executing: /tmp/apt-key-gpghome.BpXMbhm4Do/gpg.1.sh --recv-keys --keyserver keyserver.ubuntu.com B955BE41488C6624
gpg: keyserver receive failed: No data
Nadeem14
Level 2
Level 2
Posts: 69
Joined: Tue Nov 05, 2019 9:45 am

Re: NO_PUBKEY

Post by Nadeem14 »

Sorry typo on my part - the last command should have been

Code: Select all

sudo apt-key add /tmp/home:corrad1nho.asc
sleeper12's command will hopefully do the trick though.
[/quote]

Code: Select all

nadeem14@Nadeem-Linux:~$ sudo apt-key add /tmp/home:corrad1nho.asc
gpg: can't open '/tmp/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 »

Download it again to /tmp first.
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 »

what should I download again?
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 »

Run this command first

Code: Select all

wget -nv https://download.opensuse.org/repositories/home:corrad1nho/xUbuntu_18.04/Release.key -O /tmp/home:corrad1nho.asc
then

Code: Select all

sudo apt-key add /tmp/home:corrad1nho.asc
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 »

Code: Select all

nadeem14@Nadeem-Linux:~$ wget -nv https://download.opensuse.org/repositories/home:corrad1nho/xUbuntu_18.04/Release.key -O /tmp/home:corrad1nho.asc
2020-07-01 23:05:43 URL:https://download.opensuse.org/repositories/home:/corrad1nho/xUbuntu_18.04/Release.key [1106/1106] -> "/tmp/home:corrad1nho.asc" [1]
nadeem14@Nadeem-Linux:~$ sudo apt-key add /tmp/home:corrad1nho.asc
gpg: invalid key resource URL '/tmp/apt-key-gpghome.QoNWqCZwq1/home:kozec.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 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 B955BE41488C6624: 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: 14607
Joined: Thu May 25, 2017 3:22 pm

Re: NO_PUBKEY

Post by sleeper12 »

Try:

Code: Select all

 sudo apt-key adv — keyserver ha.pool.sks-keyservers.net — recv-keys B5B116B72D0F61F0 D530E028F59EAE4D 3B57AE37123C1C64 A6616109451BBBF2 3B4FE6ACC0B21F32 D94AA3F0EFE21092 C8CAB6595FDFF622 871920D1991BC93C B955BE41488C6624 

Code: Select all

 sudo apt update 
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 »

Nadeem14 wrote: Wed Jul 01, 2020 1:37 pm

Code: Select all

gpg: invalid key resource URL '/tmp/apt-key-gpghome.QoNWqCZwq1/home:kozec.asc.gpg'
FFS this one aswell :roll:

Code: Select all

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

Code: Select all

wget -nv https://download.opensuse.org/repositories/home:kozec/xUbuntu_18.04/Release.key -O /tmp/home:kozec.asc

Code: Select all

sudo apt-key add /tmp/home:kozec.asc

Code: Select all

wget -nv https://download.opensuse.org/repositories/home:corrad1nho/xUbuntu_18.04/Release.key -O /tmp/home:corrad1nho.asc

Code: Select all

sudo apt-key add /tmp/home:corrad1nho.asc
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 »

sleeper12 wrote: Wed Jul 01, 2020 2:35 pm Try:

Code: Select all

 sudo apt-key adv — keyserver ha.pool.sks-keyservers.net — recv-keys B5B116B72D0F61F0 D530E028F59EAE4D 3B57AE37123C1C64 A6616109451BBBF2 3B4FE6ACC0B21F32 D94AA3F0EFE21092 C8CAB6595FDFF622 871920D1991BC93C B955BE41488C6624 

Code: Select all

 sudo apt update 

Code: Select all

nadeem14@Nadeem-Linux:~$  sudo apt-key adv — keyserver ha.pool.sks-keyservers.net — recv-keys B5B116B72D0F61F0 D530E028F59EAE4D 3B57AE37123C1C64 A6616109451BBBF2 3B4FE6ACC0B21F32 D94AA3F0EFE21092 C8CAB6595FDFF622 871920D1991BC93C B955BE41488C6624 
Executing: /tmp/apt-key-gpghome.2CBkWY12aj/gpg.1.sh — keyserver ha.pool.sks-keyservers.net — recv-keys B5B116B72D0F61F0 D530E028F59EAE4D 3B57AE37123C1C64 A6616109451BBBF2 3B4FE6ACC0B21F32 D94AA3F0EFE21092 C8CAB6595FDFF622 871920D1991BC93C B955BE41488C6624
gpg: WARNING: no command supplied.  Trying to guess what you mean ...
usage: gpg [options] [filename]
nadeem14@Nadeem-Linux:~$ sudo apt update
Hit:1 http://archive.ubuntu.com/ubuntu bionic InRelease                        
Get:2 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]      
Ign:3 http://packages.linuxmint.com tricia InRelease                           
Hit:4 http://packages.linuxmint.com tricia Release                             
Hit:6 http://download.opensuse.org/repositories/home:/corrad1nho/xUbuntu_18.04  InRelease
Hit:7 http://archive.canonical.com/ubuntu bionic InRelease                     
Hit:8 https://repo.windscribe.com/ubuntu zesty InRelease                       
Err:6 http://download.opensuse.org/repositories/home:/corrad1nho/xUbuntu_18.04  InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY B955BE41488C6624
Get:9 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB]    
Hit:10 http://download.opensuse.org/repositories/home:/kozec/xUbuntu_18.04  InRelease
Get:11 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]   
Get:12 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [1,000 kB]
Get:13 https://mega.nz/linux/MEGAsync/xUbuntu_18.04 ./ InRelease [2,468 B]     
Get:14 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages [762 kB]
Get:15 http://archive.ubuntu.com/ubuntu bionic-updates/main i386 Packages [709 kB]
Get:16 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 DEP-11 Metadata [295 kB]
Get:17 http://security.ubuntu.com/ubuntu bionic-security/main i386 Packages [493 kB]
Get:18 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [1,089 kB]
Get:19 http://security.ubuntu.com/ubuntu bionic-security/main amd64 DEP-11 Metadata [46.1 kB]
Get:20 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 DEP-11 Metadata [49.2 kB]
Get:21 http://archive.ubuntu.com/ubuntu bionic-updates/universe i386 Packages [1,024 kB]
Get:22 http://security.ubuntu.com/ubuntu bionic-security/multiverse amd64 DEP-11 Metadata [2,464 B]
Get:23 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 DEP-11 Metadata [279 kB]
Get:24 http://archive.ubuntu.com/ubuntu bionic-updates/multiverse amd64 DEP-11 Metadata [2,468 B]
Get:25 http://archive.ubuntu.com/ubuntu bionic-backports/universe amd64 DEP-11 Metadata [7,968 B]
Fetched 6,012 kB in 53s (112 kB/s)                                             
Reading package lists... Done
Building dependency tree       
Reading state information... Done
1 package can be upgraded. Run 'apt list --upgradable' to see it.
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://download.opensuse.org/repositories/home:/corrad1nho/xUbuntu_18.04  InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY B955BE41488C6624
W: Failed to fetch http://download.opensuse.org/repositories/home:/corrad1nho/xUbuntu_18.04/InRelease  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY B955BE41488C6624
W: Some index files failed to download. They have been ignored, or old ones used instead.
Nadeem14
Level 2
Level 2
Posts: 69
Joined: Tue Nov 05, 2019 9:45 am

Re: NO_PUBKEY

Post by Nadeem14 »

smurphos wrote: Wed Jul 01, 2020 2:36 pm
Nadeem14 wrote: Wed Jul 01, 2020 1:37 pm

Code: Select all

gpg: invalid key resource URL '/tmp/apt-key-gpghome.QoNWqCZwq1/home:kozec.asc.gpg'
FFS this one aswell :roll:

Code: Select all

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

Code: Select all

wget -nv https://download.opensuse.org/repositories/home:kozec/xUbuntu_18.04/Release.key -O /tmp/home:kozec.asc

Code: Select all

sudo apt-key add /tmp/home:kozec.asc

Code: Select all

wget -nv https://download.opensuse.org/repositories/home:corrad1nho/xUbuntu_18.04/Release.key -O /tmp/home:corrad1nho.asc

Code: Select all

sudo apt-key add /tmp/home:corrad1nho.asc

Code: Select all

nadeem14@Nadeem-Linux:~$ sudo rm /etc/apt/trusted.gpg.d/home:kozec.asc 
nadeem14@Nadeem-Linux:~$ wget -nv https://download.opensuse.org/repositories/home:kozec/xUbuntu_18.04/Release.key -O /tmp/home:kozec.asc
2020-07-02 12:37:59 URL:https://download.opensuse.org/repositories/home:/kozec/xUbuntu_18.04/Release.key [1093/1093] -> "/tmp/home:kozec.asc" [1]
nadeem14@Nadeem-Linux:~$ sudo apt-key add /tmp/home:kozec.asc
OK
nadeem14@Nadeem-Linux:~$ wget -nv https://download.opensuse.org/repositories/home:corrad1nho/xUbuntu_18.04/Release.key -O /tmp/home:corrad1nho.asc
2020-07-02 12:38:20 URL:https://download.opensuse.org/repositories/home:/corrad1nho/xUbuntu_18.04/Release.key [1106/1106] -> "/tmp/home:corrad1nho.asc" [1]
nadeem14@Nadeem-Linux:~$ sudo apt-key add /tmp/home:corrad1nho.asc
OK
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 »

Cool - now run apt update
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 »

Thank you so much!! :D :D it worked...i installed y ppa manger after that and imported all missing keys.. to sum it up , what was that magic command that fixed this up because i have the same problem on my laptop as well and i need to fix it..
Locked

Return to “Other topics”