解决gpg: Can't check signature: public key not found问题

本文详细介绍了在使用repo工具下载代码过程中遇到的签名验证错误,包括错误的具体信息和尝试过的无效解决方案,最终提供了正确的解决方法,即从指定地址重新下载repo工具。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

在网上下载安装repo,使用repo下载代码的过程中,出现了以下错误:

object 666d534636d262cbfd971509dd0f0be0cddb2e11

type commit

tag v1.12.16

tagger Conley Owens <cco3@android.com> 1398976458 -0700

 

repo 1.12.16

 

gpg: Signature made Fri 02 May 2014 04:34:18 AM CST using RSA key ID 692B382C

gpg: Can't check signature: public key not found

error: could not verify the tag 'v1.12.16'

网上很多文章指导说,使用rm -rf  ~/.repoconfig ,尝试了一下,没什么卵用,还是报错

解决方法:

删掉repo,从以下地址下载:

curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值