多语言展示
当前在线:1302今日阅读:57今日分享:41

repo init出现gpg错误

repo init出现gpg错误的处理方法
工具/原料
1

Ubuntu操作系统

2

repo工具

3

git工具

方法/步骤
1

在使用repo init -u xxx.xml时出现了如下错误提示:

2

From https://gerrit.googlesource.com/git-repo * [new branch]      maint      -> origin/maint * [new branch]      master     -> origin/master * [new branch]      stable     -> origin/stable……

3

object 666d534636d262cbfd971509dd0f0be0cddb2e11type committag v1.12.16tagger Conley Owens 1398976458 -0700repo 1.12.16gpg: Signature made Fri 02 May 2014 04:34:18 AM CST using RSA key ID 692B382Cgpg: Can't check signature: public key not founderror: could not verify the tag 'v1.12.16'

4

后来发现是原来之前使用过repo同步过代码,第一次使用repo时创建~/.repoconfig目录,该目录里生成了临时的GPG钥匙对。

5

而该钥匙对与上面的ID不对应,故而直接将~/.repoconfig目录删除,让其重新生成一遍就解决该问题。END

推荐信息