Reputation: 3559
This below is the message I see, when I try to repo sync.
info: A new version of repo is available
error: cannot run gpg: No such file or directory
error: could not run gpg.
error: could not verify the tag 'v1.12.17'warning: Skipped upgrade to unverified version
How can I update my repo version?
Upvotes: 7
Views: 35559
Reputation: 17262
This can happen on Linux and Mac. I've personally experienced it on Linux (Ubuntu).
Repo is trying to automatically update itself, but it is failing when trying to verify the key because it can't find gpg
. To fix it, just install Gnu Privacy Guard (gpg) and run repo
again:
sudo apt-get install gpg
brew install gpg
rm -rf ~/.repoconfig
repo sync
again and watch it update itself.Upvotes: 16