Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. 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

I'm running an inherited Debian Squeeze server (read: I just got this new job and the server was setup by the last guy), and I'm having an issue on the apt-get. The error at the end that comes up when doing a sudo apt-get update is W: GPG error: http://hwraid.le-vert.net squeeze Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 6005210E23B3D3B4. I already referred to "no public key available" on apt-get update, but that solution did not work for me (sudo aptitude install debian-keyring debian-archive-keyring).

What else can I try? Where should I look next?

share|improve this question
up vote 6 down vote accepted

From the homepage - Debian Packages:

wget -O - http://hwraid.le-vert.net/debian/hwraid.le-vert.net.gpg.key | sudo apt-key add -

The repository is not a default Debian repository. It's third party software. Debian does not ship with all possible keys. You have to decide if you trust them. If you do, install the key as mentioned above.

share|improve this answer
That did it! Thank you very much – Canadian Luke Jul 25 '13 at 15:59

This is an alternative method to the accepted answer but thought I'd share it here anyways. this blog post describes the method, titled: The following signatures couldn’t be verified.

With this error message when attempting to do an aptget update:

W: GPG error: http://packages.dotdeb.org wheezy Release: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY E9C74FEEA2098A6E

You can add the key like so:

$ sudo gpg --keyserver keys.gnupg.net --recv-key 89DF5277
$ sudo gpg -a --export 89DF5277 | sudo apt-key add -

Then perform an update:

$ sudo apt-get update
share|improve this answer
Thanks, but link only answers are not too helpful, especially if the link goes down. Can you summarize the steps listed, and just provide the link for reference? – Canadian Luke Oct 18 '14 at 16:12
I think it is up. You just need to add the gpg key, then debian will verify your packages from repo. – Kevin Nguyen Oct 31 '14 at 3:14

Your Answer


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.