Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Possible Duplicate:
How do I fix the GPG error “NO_PUBKEY”?

I'm trying to install Medibuntu following the instructions from Medibuntu site, I paste in the terminal:

sudo -E wget --output-document=/etc/apt/sources.list.d/medibuntu.list$(lsb_release -cs).list && sudo apt-get --quiet update && sudo apt-get --yes --quiet --allow-unauthenticated install medibuntu-keyring && sudo apt-get --quiet update

it fails with:

W: GPG error: oneiric Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 61260473F9D8BC54
share|improve this question

marked as duplicate by fossfreedom, Jorge Castro, Bruno Pereira, RolandiXor, Takkat Jan 28 '12 at 10:53

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

It seems that you are using one of the following PPAs without their signing key:

If you remember to have added one (or more) of these PPAs, you can import the key with this command:

sudo apt-key adv --keyserver --recv-keys F9D8BC54

Then, you can proceed adding the Medibuntu archive again.

share|improve this answer

Replace the KEYNUMBER with the actual keynumber that you should now have from running apt-get again.Type

gpg --keyserver --recv-keys KEYNUMBER gpg --armor --export KEYNUMBER | sudo apt-key add -

Update apt-get.Type

sudo apt-get update

That is it. If GPG error is still there, simply type the following commands, taking care to replace the number of the key that displayed in the error message:

gpg --keyserver --recv-key 61260473F9D8BC54

gpg -a --export 61260473F9D8BC54 | sudo apt-key add -

share|improve this answer

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