GPG error on N900 when doing update on command line

Nokia N900 communicator/internet tablet
Image via Wikipedia

If you have added some extra repositories to your Nokia N900 and are trying to do something ( like update, install or any other apt-get operation) you might see some errors or warnings related to the GPG keys. The errors would come because the Public keys for the reporisitories are not present in the gpg database 🙂

Cool, now you know the reason, but what to do…  Add them as below:

(Before doing this note down the keys when you are getting the errors/warnings. We will need those keys to get the public keys from the public server. I am taking “010908312D230C5F” as an example here.)

1
gpg --keyserver pgpkeys.mit.edu --recv-key  010908312D230C5F gpg -a --export 010908312D230C5F | sudo apt-key add -

and if you need to see the currently active repositories then you can
open the following file and check the contents:

1
vim /etc/apt/sources.list.d/hildon-application-manager.list
Enhanced by Zemanta