NO PUBKEY solved: Difference between revisions

fixes link
apt-get update still issues a key error after I used the two-command sequence, but not after the single command
Line 3: Line 3:
It is relatively easy to install these keys (fixing the error message) if you know the right commands.  There '''is''' a HOWTO (https://help.launchpad.net/Packaging/PPA) on the Launchpad site, but I think it's often missed.
It is relatively easy to install these keys (fixing the error message) if you know the right commands.  There '''is''' a HOWTO (https://help.launchpad.net/Packaging/PPA) on the Launchpad site, but I think it's often missed.


I am comfortable with the command-line and it's the quickest solution.  Assuming you add the [https://launchpad.net/~gwibber-team Gwibber microblogging client] (where the key id is 5afadbd4aa1c92b0), this is the command sequence:
I am comfortable with the command-line and it's the quickest solution.  Assuming you add the [https://launchpad.net/~gwibber-team Gwibber microblogging client] (where the key id is 5afadbd4aa1c92b0), this is the proper command:


<source lang="bash">
gpg --keyserver keyserver.ubuntu.com --recv 5afadbd4aa1c92b0
gpg --export --armor 5afadbd4aa1c92b0 | sudo apt-key add -
</source>
Alternatively this does it in one line:
<source lang="bash">
<source lang="bash">
sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 5afadbd4aa1c92b0
sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 5afadbd4aa1c92b0
</source>
</source>
"sudo" means that you will be prompted to enter you're system account password to execute the command as the super-user.


== Note ==
== Note ==