How to Solve NO_PUBKEY 07DC563D1F41B907

If we add the repository on Debian testing
it can happen that when we try to execute the comand apt-get update, we see a GPG error:

W: GPG error: squeeze Release:
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 07DC563D1F41B907

To solve this problem we need to install the debian-keyring package

# apt-get install debian-keyring

And then execute this command:

# gpg --keyring /usr/share/keyrings/debian-keyring.gpg -a --export 07DC563D1F41B907 |apt-key add -

After that, when we try to execute apt-get update, there will be no the GPG error anymore.

This post is also available in: Italian

One comment on “How to Solve NO_PUBKEY 07DC563D1F41B907

  1. Saul says:

    Thanks, it works for me in Debian stable 7.2

Leave a Reply

Your email address will not be published. Required fields are marked *



You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>