Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Source Repo GPG public key not found

I am running Linux Mint 14 and trying to download the android source. I followed the instruction for setting up the environment and when I was trying to get the source with repo, I got the following error.

...
 * [new tag]         v1.9.4     -> v1.9.4
 * [new tag]         v1.9.5     -> v1.9.5
 * [new tag]         v1.9.6     -> v1.9.6

object e76efdd7b342577c40aa271fa5ded9d66a783a9b
type commit
tag v1.12.4
tagger Conley Owens <[email protected]> 1380645867 -0700

repo 1.12.4

gpg: Signature made Tue 01 Oct 2013 09:44:27 AM PDT using RSA key ID 692B382C
gpg: Can't check signature: public key not found
error: could not verify the tag 'v1.12.4'

I've tried importing the public key from the instruction, try generating my own GPG keys, as well as symbolic linking the directories ~/.gnupg and ~/.repoconfig/gnupg both ways and I still get the same error. I also tried to deleting the ~/.repoconfig and ~/.gnupg and still no luck.

Any help would be appreciated.

like image 408
YTKColumba Avatar asked Oct 01 '13 21:10

YTKColumba


2 Answers

i found a solution here: http://www.marshut.com/wrrts/repo-release-1-12-4.html

Sorry, I realized today that we didn't upload the newest version of the launcher. I'll update the documentation. For the meantime, please use:

curl http://commondatastorage.googleapis.com/git-repo-downloads/repo > ~/bin/repo

chmod a+x ~/bin/repo

sha1 e197cb48ff4ddda4d11f23940d316e323b29671c

If verification errors persist, you can blow away (or move) your ~/.repoconfig dir to ensure the new public keys are imported.

Sorry for the trouble everyone!

like image 106
Marijn Avatar answered Nov 17 '22 03:11

Marijn


Please check the ~/bin and ~/bin/repo ownership.

If the owner is different your login (ex root:root), then you can see the above error.

Regards, DS Son

like image 1
DS Son Avatar answered Nov 17 '22 05:11

DS Son