gpg: Can't check signature: public key not found错误的解决方法
2014-11-06 15:49
721 查看
repo init时报错:
......
object 30d452905f166b316152f236422f85c8aa75a2d0
type commit
tag v1.7.5
tagger Shawn O. Pearce <sop@google.com> 1307663540 -0700
repo 1.7.5
gpg: Signature made Fri 10 Jun 2011 07:52:20 AM CST using DSA key ID 920F5C65
gpg: Can't check signature: public key not found
error: could not verify the tag 'v1.7.5'
出错原因是曾使用repo sync从其它库sync过代码,删掉~/.repoconfig即可:
$ rm -rf ~/.repoconfig
$ ./repo init -u git://github.com/CyanogenMod/android.git -b gingerbread
gpg: keyring `/home/calvin/.repoconfig/gnupg/secring.gpg' created
gpg: keyring `/home/calvin/.repoconfig/gnupg/pubring.gpg' created
gpg: /home/calvin/.repoconfig/gnupg/trustdb.gpg: trustdb created
gpg: key 920F5C65: public key "Repo Maintainer <repo@android.kernel.org>" imported
gpg: Total number processed: 1
gpg: imported: 1
Getting repo ...
from http://android.git.kernel.org/tools/repo.git 。。。。
......
object 30d452905f166b316152f236422f85c8aa75a2d0
type commit
tag v1.7.5
tagger Shawn O. Pearce <sop@google.com> 1307663540 -0700
repo 1.7.5
gpg: Signature made Fri 10 Jun 2011 07:52:20 AM CST using DSA key ID 920F5C65
gpg: Can't check signature: public key not found
error: could not verify the tag 'v1.7.5'
出错原因是曾使用repo sync从其它库sync过代码,删掉~/.repoconfig即可:
$ rm -rf ~/.repoconfig
$ ./repo init -u git://github.com/CyanogenMod/android.git -b gingerbread
gpg: keyring `/home/calvin/.repoconfig/gnupg/secring.gpg' created
gpg: keyring `/home/calvin/.repoconfig/gnupg/pubring.gpg' created
gpg: /home/calvin/.repoconfig/gnupg/trustdb.gpg: trustdb created
gpg: key 920F5C65: public key "Repo Maintainer <repo@android.kernel.org>" imported
gpg: Total number processed: 1
gpg: imported: 1
Getting repo ...
from http://android.git.kernel.org/tools/repo.git 。。。。
相关文章推荐
- 解决 gpg: Can't check signature: public key not found
- 解决 gpg: Can't check signature: public key not found
- 解决 gpg: Can't check signature: public key not found
- repo同步代码过程中,提示gpg: Can't check signature: public key not found
- GIT_ERROR: gpg: Can't check signature: public key not found error: could not verify the tag 'v1.12.4'
- ubutun下安装RVM报gpg: can't check signature: No pubilc key的解决办法
- 关于Public key for *.rpm is not installed 的解决方法
- python 处理中文时出现的错误'ascii' codec can't decode byte 0xe9 in position 0: ordinal not in range(128)" 解决方法
- Run-Time Check Failure #0 - The value of ESP was not properly saved across a function call.... 此错误的解决方法
- 解决The file XXX can not be found.Please check the location and try again!
- 关于VirtualBOX安装错误:VERR_MODULE_NOT_FOUND的解决方法。
- tomcat下载文件时,URL含有文字参数与空格参数出错(java.io.FileNotFoundException错误) 解决方法(转)
- yum 安装报 关于Public key for *.rpm is not installed 的解决方法
- MyEclipse中消除frame引起的“the file XXX can not be found.Please check the location and try again.”的错误
- IIS错误解决方法:The specified module could not be found、访问 IIS 元数据库失败
- MyEclipse中消除frame引起的“the file XXX can not be found.Please check the location and try again.”的错误
- yum 安装包 出现Public key for *.rpm is not installed 警告的解决方法
- Red Hat Linux使用yum 安装报 关于Public key for *.rpm is not installed 的解决方法
- 关于myeclipse启动错误的解决方法 com.genuitec.myeclipse.product.ide could not be found
- Rational Rose出现java.lang.ClassNotFoundException错误的解决方法(转帖)