Cant open keyring in terminal

Asked by audreymac

I get this message in terminal - how to recify this please.
Simple instructions please!
Thanks in advance

sudo] password for annamac:
Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --secret-keyring /etc/apt/secring.gpg --trustdb-name /etc/apt/trustdb.gpg --keyring /etc/apt/trusted.gpg --keyserver keyserver.ubuntu.com ED8B789323DC003A
gpg: can't open `ED8B789323DC003A'

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu gnome-keyring Edit question
Assignee:
No assignee Edit question
Solved by:
Davide Notaristefano
Solved:
Last query:
Last reply:
Revision history for this message
Cristi Nistor (cristi-nistor) said :
#1

The ID of the key has only 8 chars like 23DC003A. You have a double length for your key. What is the fingerprint for the key you want to import?

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#2

Try:

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 23DC003A

This will import the GPG key for the repository you just added.

Revision history for this message
Best Davide Notaristefano (mokmo) said :
#3

Otherwise you can try adding the fingerprint after "sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys"

Revision history for this message
audreymac (aamcpherson) said :
#4

Thanks Davide Notaristefano, that solved my question.

Revision history for this message
Davide Notaristefano (mokmo) said :
#5

You're welcome, audreymac! ;)