Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New repo command ( 1.22) is available

Tags:

git

repo

I started getting the below warning message suddenly in my repo when I do repo init. I spent enough time searching about it in forums but no luck!

A new repo command ( 1.22) is available.
... You should upgrade soon:

What it is about?

like image 322
Bhargav Kumar R Avatar asked Feb 09 '23 12:02

Bhargav Kumar R


1 Answers

Does it have any further error message afterwards? If yes, and if it contains path to the latest files for repo, you can try doing

mv /home/user/bin/repo /home/user/bin/repo.bkp
cp /home/user/android/.repo/repo/repo /home/user/bin/repo

If that works, fine, else restore the backup for now. Let me know if it works.

like image 181
Anshul Goyal Avatar answered Feb 13 '23 04:02

Anshul Goyal