gpg秘钥的--keyserver

下载高通代码时,出现错误

➜  qualcomm sudo repo init -u git://codeaurora.org/platform/manifest.git -b release -m LA.UM.5.9.r1-01700-8x53.0.xml --repo-url=git://codeaurora.org/tools/repo.git --repo-branch=caf-stable

Downloading Repo source from git://codeaurora.org/tools/repo.git
remote: Enumerating objects: 33, done.
remote: Counting objects: 100% (33/33), done.
remote: Compressing objects: 100% (33/33), done.
remote: Total 6880 (delta 10), reused 0 (delta 0), pack-reused 6847
repo: error: "git" failed with exit status 1
  cwd: /media/wq/ac4db978-2c9c-434d-ba88-380900828856/qualcomm/.repo/repo
  cmd: ['git', 'tag', '-v', 'v1.12.16']
  stdout:
  >> object 666d534636d262cbfd971509dd0f0be0cddb2e11
  >> type commit
  >> tag v1.12.16
  >> tagger Conley Owens <cco3@android.com> 1398976458 -0700
  >> 
  >> repo 1.12.16
  stderr:
  >> gpg: WARNING: unsafe ownership on homedir '/home/wq/.repoconfig/gnupg'
  >> gpg: Signature made Fri 02 May 2014 04:34:18 AM CST
  >> gpg:                using RSA key 67B7E448692B382C
  >> gpg: Can't check signature: No public key
fatal: cloning the git-repo repository failed, will remove '.repo/repo' 

 按照网上的方法,还是出错

@ubuntu:~/Desktop$ gpg --keyserver keys.gnupg.net --recv-key 67B7E448692B382C
gpg: keyserver receive failed: No name

 后来发现keys.gnupg.net被遗弃,要用下面的地址

  • keyserver.ubuntu.com
  • keys.openpgp.org
  • pgp.mit.edu
➜  bin gpg --keyserver keyserver.ubuntu.com --recv-key 67B7E448692B382C
gpg: key 67B7E448692B382C: 1 signature not checked due to a missing key
gpg: key 67B7E448692B382C: public key "Conley Owens <cco3@android.com>" imported
gpg: no ultimately trusted keys found
gpg: Total number processed: 1
gpg:               imported: 1
➜  bin

感觉已经成功了,但是还是无法repo,原因未知

  • 0
    点赞
  • 3
    收藏
    觉得还不错? 一键收藏
  • 9
    评论
评论 9
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值