AnswerBun.com

Error in updating repository. no pub key

Ask Ubuntu Asked by krishna bhovi on November 24, 2020

enter image description here

[email protected]:~$ ls
    Desktop  Documents  Downloads  examples.desktop  Music  Pictures  Public  Templates  Videos
[email protected]:~$ cd Desktop/
[email protected]:~/Desktop$ ls
    key2.txt
[email protected]:~/Desktop$ sudo apt-key add key2.txt
gpg: no valid OpenPGP data found.
[email protected]:~/Desktop$ cd ..
[email protected]:~$ sudo gpg --keyserver pgpkeys.mit.edu --recv-key EEA14886
gpg: WARNING: unsafe ownership on configuration file `/home/krishna/.gnupg/gpg.conf'
gpg: external program calls are disabled due to unsafe options file permissions
gpg: keyserver communications error: general error
gpg: keyserver receive failed: general error
[email protected]:~$ sudo gpg -a --export EEA14886 | sudo apt-key add -
gpg: WARNING: unsafe ownership on configuration file `/home/krishna/.gnupg/gpg.conf'
gpg: WARNING: nothing exported
gpg: no valid OpenPGP data found.

One Answer

You should not run gpg as root. So try without sudo

gpg --keyserver pgpkeys.mit.edu --recv-key EEA14886

gpg: requesting key EEA14886 from hkp server pgpkeys.mit.edu

gpg: key EEA14886: public key "Launchpad VLC" imported

gpg: no ultimately trusted keys found

gpg: Total number processed: 1

gpg:               imported: 1  (RSA: 1)

Adding key to apt-key:

gpg -a --export EEA14886 | sudo apt-key add -
[sudo] password for arun: 
OK

Verifying key:

apt-key list

 /etc/apt/trusted.gpg

--------------------
pub   1024D/437D05B5 2004-09-12
uid                  Ubuntu Archive Automatic Signing Key <[email protected]>
sub   2048g/79164387 2004-09-12

pub   4096R/C0B21F32 2012-05-11
uid                  Ubuntu Archive Automatic Signing Key (2012)     <[email protected]>

pub   4096R/EFE21092 2012-05-11
uid                  Ubuntu CD Image Automatic Signing Key (2012)     <[email protected]>

pub   1024D/FBB75451 2004-12-30
uid                  Ubuntu CD Image Automatic Signing Key     <[email protected]>

pub   4096R/C31D4FBC 2017-06-02
uid                  arun. <[email protected]>

pub   1024R/EEA14886 2010-05-04
uid                  Launchpad VLC

Answered by Arun on November 24, 2020

Add your own answers!

Related Questions

“Konversation” Dictionary

0  Asked on November 18, 2021 by ron-piggott

     

How can I record sound in background

0  Asked on November 18, 2021

     

Configure GRE tunnel to start on reboot?

1  Asked on November 16, 2021 by gulamerah

   

Can’t install aptik package on ubuntu 15.04

2  Asked on November 16, 2021 by user1099913

   

KDE Apps on Ubuntu 20.04 – Right Click Issue

1  Asked on November 16, 2021 by timothy-c-quinn

       

Where are the Xubuntu download verification check sums?

2  Asked on November 16, 2021 by friendfx

   

Ask a Question

Get help from others!

© 2022 AnswerBun.com. All rights reserved. Sites we Love: PCI Database, MenuIva, UKBizDB, Menu Kuliner, Sharing RPP, SolveDir