GPG error on N900 when doing update on command line

2011-06-22 1 min read Maemo N900

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.)

  <td>
    <div class="text codecolorer">
      gpg --keyserver pgpkeys.mit.edu --recv-key &nbsp;010908312D230C5F gpg -a --export 010908312D230C5F | sudo apt-key add -
    </div>
  </td>
</tr>
1

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

  <td>
    <div class="text codecolorer">
      vim /etc/apt/sources.list.d/hildon-application-manager.list
    </div>
  </td>
</tr>
1
Enhanced by Zemanta
comments powered by Disqus