• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 771
  • Last Modified:

how to add public key for debain apt-get install

Hi
I need help to solve the bellow issue

how will i add public key  ??


W: GPG error: http://ftp.uk.debian.org squeeze Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY AED4B06F473041FA
W: GPG error: http://ftp.uk.debian.org squeeze-updates Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY AED4B06F473041FA
W: GPG error: http://security.debian.org squeeze/updates Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY AED4B06F473041FA
W: You may want to run apt-get update to correct these problems
0
fosiul01
Asked:
fosiul01
2 Solutions
 
farzanjCommented:
You can download key by issuing the following

gpg --keyserver <server> --recv-keys <key>

Reference
http://linax.wordpress.com/2009/07/14/apt-get-complain-the-following-signatures-couldnt-be-verified-because-the-public-key-is-not-available/
0
 
fosiul01Author Commented:
but whats the keyserver ?

what server shall i put here

--keyserver <server>

0
 
wesly_chenCommented:
gpg --keyserver pgpkeys.mit.edu --recv-key  AED4B06F473041FA
gpg -a --export AED4B06F473041FA | sudo apt-key add -
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now