apt-getで公開鍵でエラーが出てしまう場合の対応方法

chromiumを使うためにlaunchpad.comにあるjauntyの配布サイトを/etc/apt/sources.list.d/以下に追加したらapt-get updateをするとこんな感じのエラーがでるようになった。

W: GPG error: http://ppa.launchpad.net jaunty Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 632D16BB0C713DA6

対応方法は

gpg --keyserver keyserver.ubuntu.com --recv 632D16BB0C713DA6
gpg --export --armor 632D16BB0C713DA6 | sudo apt-key add -

と言う感じで、公開鍵を追加すればOK。