GPG Error Updating Ubuntu/Debian Packages

I am attempting to update my Ubuntu/Debian system and I am getting an error:

GPG error: stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY E585066A30C18A2B

What does it mean, and how can I resolve it?


Try following approach, is from there

The error NO_PUBKEY E585066A30C18A2B is the key for the Opera web browser. To correct the error, run the following code.

wget -O - | apt-key add -

sudo wget -O - | apt-key add
--2016-09-24 09:42:48--
Resolving (
Connecting to (||:80...     connected.
HTTP request sent, awaiting response... ERROR: This command can only be     used by root.
200 OK
Length: 3152 (3,1K) [application/pgp-keys]
Saving to: ‘STDOUT’

-                     0%[                    ]       0  --.-KB/s    in 0s      

Cannot write to ‘-’ (Broken pipe).

Newer versions of apt also support

apt-key adv --fetch-keys

instead of

wget -qO - | apt-key add -

Additionally, you should always use https when loading the key.

Need Your Help

suggestions for a 3D graph rendering library?

java graph 3d

So I'm not sure how stackoverflow friendly this question is since it doesn't have a quick clear cut answer but here we go...

The import org.apache.commons cannot be resolved in eclipse juno

eclipse servlets apache-commons-fileupload

I having the problem while compiling the my project in eclipse. It was shoving the error The import org.apache.commons cannot be resolved.