下载高通代码时,出现错误
➜ 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,原因未知