Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I updated my sources.list with

deb http://repo.percona.com/apt squeeze main
deb-src http://repo.percona.com/apt squeeze main

And called

 gpg --keyserver subkeys.pgp.net --recv-keys 1C4CBDCDCD2EFD2A

The Result was, that it seemed to import something, so the key was found on this sever!?

Nevertheless now I get the error:

GPG error: http://repo.percona.com squeeze Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 1C4CBDCDCD2EFD2A

  1. How can I disable/ignore the keychecking in apt in general?

  2. What is the adviced way to fix the problem itself. Is there some way to search the key somewhere elese? How would I do that?

share|improve this question
    
Could someone please DELETE the question? I missed the steps to import the key into apt!!! Please do NOT answer the question... –  manamix Feb 5 '12 at 10:59
    
How can I delete my posting? –  manamix Feb 5 '12 at 10:59
    
Just leave it there, maybe someone else has the same problem and will find their solution here. –  knittl Feb 6 '12 at 8:09

2 Answers 2

up vote 4 down vote accepted

You have to add the key to apt using apt-key:

gpg -a --output /tmp/pub.asc --export 1C4CBDCDCD2EFD2A
sudo apt-key add /tmp/pub.asc && rm /tmp/pub.asc

cf. http://blog.edseek.com/archives/2007/03/17/apt-key-gpg-key-import-on-ubuntu-and-debian/

share|improve this answer

The key is also directly available from the Percona website. Import it as following:

wget -O - http://www.percona.com/redir/downloads/RPM-GPG-KEY-percona | gpg --import
gpg --armor --export 1C4CBDCDCD2EFD2A | apt-key add -

Edit: Percona is going to change their SSH key before the end of this year. See instructions on their website http://www.percona.com/ssh-key-rotation/instructions

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.