How to update repo version

Below is the message that I see when I try to perform repo synchronization.

info: new repo version available

error: cannot start gpg: there is no such file or directory
Error: could not start gpg.
Error: failed to check tag 'v1.12.17'

warning: skipped upgrade to an unverified version

How to update my repo version?

+4
source share
1 answer

This can happen on Linux and Mac. I personally experienced this on Linux (Ubuntu).

Repo tries to automatically update itself, but when trying to verify the key does not work. To fix this, simply install Gnu Privacy Guard (gpg) and run it again repo:

Linux

  • , gpg. sudo apt-get install gpg
  • ~/.repoconfig, gpg: rm -rf ~/.repoconfig
  • repo sync .
  • .

Mac

  • , gpg ( Homebrew). brew install gpg
  • ~/.repoconfig, gpg: rm -rf ~/.repoconfig
  • repo sync .
  • .
+7

All Articles