About Me

header ads

Solution to Launchpad GPG keys

The script created by a user of ubuntuforums "blackgr" that allows to automatically add GPG keys Launchpad, was salvation for many of us, saving us trouble of doing this manually.

Then I think command "add-apt-repository", can add repository and public key with a single command, but if Ubuntu keyserver is out of key is not added.

To solve this problem in webupd8 have created a package (launchpad-getkeys) that can be installed through repository.

Repository and add public key webupd8

$ sudo add-apt-repository ppa:nilarimogard/webupd8 (Karmic o superior)

For earlier versions add repository manually. Substitute "YOUR_UBUNTU_VERSION_HERE" for your version of Ubuntu.

deb http://ppa.launchpad.net/nilarimogard/webupd8/ubuntu YOUR_UBUNTU_VERSION_HERE main
deb-src http://ppa.launchpad.net/nilarimogard/webupd8/ubuntu YOUR_UBUNTU_VERSION_HERE main

Add public key

$ sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 4C9D234C

Update and install

$ sudo apt-get update && sudo aptitude install launchpad-getkeys

Finally we update entire system.

$ sudo aptitude safe-upgrade

Solved problem with GPG keys. Great for distributions based on Ubuntu.

Post a Comment

0 Comments