[Edge] gpg: Can't check signature: No public key

Host machine is Ubuntu22.04

Which version of system do you use? Please provide the version of the system here:

**Android10.**

Please describe your issue below:

**gpg: Can't check signature: No public key**

Post a console log of your issue below:


**`repo init -u https://github.com/khadas/android_manifest.git -b khadas-edge-Qt
Downloading Repo source from https://gerrit.googlesource.com/git-repo
remote: Finding sources: 100% (4/4)
remote: Total 4 (delta 0), reused 4 (delta 0)
repo: error: "git" failed with exit status 1
  cwd: /work/work_yc/VIM/Edge-V/.repo/repo
  cmd: ['git', 'tag', '-v', 'v2.49.3']
  stdout:
  >> object ab2d3211043e2cb42a55f56e5abf69d23103c105
  >> type commit
  >> tag v2.49.3
  >> tagger Josip Sokcevic <sokcevic@chromium.org> 1730911139 +0000
  >> 
  >> repo v2.49.3
  stderr:
  >> gpg: Signature made 2024年11月07日 星期四 00时38分59秒 CST
  >> gpg:                using DSA key 8BB9AD793E8E6153AF0F9A4416530D5E920F5C65
  >> gpg: Can't check signature: No public key
fatal: double check your --repo-rev setting.
fatal: cloning the git-repo repository failed, will remove '.repo/repo' 
`**

when I using repo init cmd, appears error like :

gpg: Can’t check signature: No public key

How to fix this?

@yangchao315

sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 67B7E448692B382C

still error :slightly_frowning_face:

sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 67B7E448692B382C
Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).
Executing: /tmp/apt-key-gpghome.uXfPjhzVjy/gpg.1.sh --keyserver hkp://keyserver.ubuntu.com:80 --recv 67B7E448692B382C
gpg: key 67B7E448692B382C: "Conley Owens <cco3@android.com>" not changed
gpg: Total number processed: 1
gpg:              unchanged: 1
repo init -u https://github.com/khadas/android_manifest.git -b khadas-edge-Qt
Downloading Repo source from https://gerrit.googlesource.com/git-repo
repo: error: "git" failed with exit status 1
  cwd: /work/work_yc/VIM/Edge-V/.repo/repo
  cmd: ['git', 'tag', '-v', 'v2.49.3']
  stdout:
  >> object ab2d3211043e2cb42a55f56e5abf69d23103c105
  >> type commit
  >> tag v2.49.3
  >> tagger Josip Sokcevic <sokcevic@chromium.org> 1730911139 +0000
  >> 
  >> repo v2.49.3
  stderr:
  >> gpg: Signature made 2024年11月07日 星期四 00时38分59秒 CST
  >> gpg:                using DSA key 8BB9AD793E8E6153AF0F9A4416530D5E920F5C65
  >> gpg: Can't check signature: No public key
fatal: double check your --repo-rev setting.
fatal: cloning the git-repo repository failed, will remove '.repo/repo' 

@yangchao315 Download repo to solve the problem, unzip and directly reference it:

.repo/repo/repo init -u https://github.com/khadas/android_manifest.git -b khadas-edge-Qt

We haven’t encountered the error you reported, please replace the repo version and take a look.