Editing Public key not available error
Da MEPIS Documentation Wiki.
Explanation: the new apt-get introduced package authentication in order to improve security. You can still install non-authenticated packages, but if you want to take advantage of this feature do the following (note that not all the deb repositories implemented this feature, if you upgrade from such a repository you'll get a "packages could not be authenticated" warning).
If you get a warning similar to this:
W: GPG error: ftp://ftp.nerim.net unstable Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 07DC563D1F41B907
Note the 16 character string of seemingly random numbers and letters? That is the public key, put that in place of <pubkey> in the instructions below.
- open konsole, type "su" and root password.
- gpg --keyserver wwwkeys.eu.pgp.net --recv-keys <pubkey>
- gpg --armor --export <pubkey> | apt-key add -
- apt-get update
Keys may be on any of these servers as well:
- minsky.surfnet.nl
- subkeys.pgp.net
- search.keyserver.net
- wwwkeys.pgp.net
- pgp.dtype.org
- wwwkeys.us.pgp.net
If you get the following error when you try to add the key:
gpg: WARNING: unsafe ownership on configuration file `/home/user/.gnupg/gpg.conf'
Run this command in Konsole: chown -R root:root /home/user/.gnupg/

