'Getting keys error while setup the Yocto environment in ubuntu
I'm new to Yocto environment setup and using ubuntu 18.04 , while i am running the repo init -u https://link -b branch name -u .xml . Getting the error the below error
gpg: keybox '/root/.repoconfig/gnupg/pubring.kbx' created
gpg: /root/.repoconfig/gnupg/trustdb.gpg: trustdb created
gpg: key 16530D5E920F5C65: public key "Repo Maintainer <[email protected]>" imported
gpg: key 67B7E448692B382C: public key "Conley Owens <[email protected]>" imported
gpg: Total number processed: 2
gpg: imported: 2
Get https://gerrit.googlesource.com/git-repo/clone.bundle
Get https://gerrit.googlesource.com/git-repo
object 8e91248655acf1c8044ed8c1b265b804a99eb07f
type commit
tag v2.21
tagger Mike Frysinger <[email protected]> 1643924845 -0500
repo v2.21
gpg: keyblock resource '/.repo/repo/root/.repoconfig/gnupg/pubring.kbx': No such file or directory
gpg: Signature made Thu 03 Feb 2022 09:47:25 PM UTC
gpg: using DSA key 8BB9AD793sahduidouqdhqod
gpg: Can't check signature: No public key
I'm not getting how to fix this . Please help on this
Solution 1:[1]
The file is being created here:
/root/.repoconfig/gnupg/pubring.kbx
That's why it cannot be found there:
/.repo/repo/root/.repoconfig/gnupg/pubring.kbx
Adding a sym-link might suffice to work around - or simply copy the file over.
Alternatively, see where the troublesome /.repo/repo
prefix even comes from.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | Martin Zeitler |