找不到Android Source Repo GPG公钥 [英] Android Source Repo GPG public key not found

查看:194
本文介绍了找不到Android Source Repo GPG公钥的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在运行Linux Mint 14,并尝试下载android源.我按照设置环境的说明进行操作,当我尝试通过repo获取源代码时,出现了以下错误.

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 <cco3@android.com> 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'

我尝试从指令中导入公钥,尝试生成自己的GPG密钥,以及将目录〜/.gnupg和〜/.repoconfig/gnupg进行符号链接,但仍然遇到相同的错误.我也尝试删除〜/.repoconfig和〜/.gnupg,但还是没有运气.

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.

任何帮助将不胜感激.

推荐答案

我在这里找到了解决方案: http://www.marshut.com/wrrts/repo-release-1-12-4.html

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

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

chmod a + x〜/bin/repo

chmod a+x ~/bin/repo

sha1 e197cb48ff4ddda4d11f23940d316e323b29671c

sha1 e197cb48ff4ddda4d11f23940d316e323b29671c

如果验证错误仍然存​​在,则可以吹走(或移动)您的〜/.repoconfig目录,以确保导入了新的公钥.

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

对不起,麻烦大家了!

这篇关于找不到Android Source Repo GPG公钥的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆