Pageviews

Saturday, November 16, 2013

How to fix the upgrading repo issue and missing gnupg on Mac OSX Mavericks?

Google has recently updated its repo wrapper to version 1.12.7. I had a 1.12.4 repo, then when sync up my newest kitkat source tree using
              repo sync
The repo complains

  •  gpg: Can't check signature: public key not found
  • error: could not verify the tag 'v1.12.7'

The issue was that preinstalled gnup was not recognizable by default.
You may find a gnup binary under /usr/local/Cellar/
however, by default, repo will search for gpg at /usr/local/bin/
So to solve this missing gnupg issue, we should install a GPG suite.

Link here: https://gpgtools.org/

It will automatically install a gpg at /usr/local/bin/
Then you should be able to use repo sync to the latest version!

As always, you are welcome.