I installed git-repo but had an error like
file=sys.stderr)
^
SyntaxError: invalid syntax
(see e.g. https://stackoverflow.com/questions/65193998/syntaxerror-invalid-syntax-to-repo-init-in-the-aosp-code) which suggests that there’s a Python version problem (using python2 instead of python3)
I tried installing python-is-python3 but that did not help. (and I don’t understand why, but that’s besides the point.)
Then I realized that repo from snapstore is just really old (last updated may 2017). There’s a button to “Contact Jim Hodapp” but that’s a link to the Google code repository, which was discontinued a few years ago iirc.
What’s a good way to have this fixed ? update the snap, or maybe remove it, or at least have Ubuntu not suggest it through the command-not-found mechanism
Command ‘repo’ not found, but can be installed with:
sudo snap install git-repo