当前位置:   article > 正文

E: Unable to locate package repo

e: unable to locate package repo

This error comes after

[sudo apt install repo]

means that you tell your system to see if there is a package called repo and install it if it can find it.Since there is no package repo the notice you get is:

[E: Unable to locate package repo]

So this is normal!

Google provides instructions to download the tool manually:

To install Repo:

Make sure you have a bin/ directory in your home directory and that it is included in your path:

$ mkdir ~/bin

$ PATH=~/bin:$PATH

Download the Repo tool and ensure that it is executable:

$ curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo

$ chmod a+x ~/bin/repo

You should now be able to run [repo init ...] and [repo sync]

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/凡人多烦事01/article/detail/555983
推荐阅读
相关标签
  

闽ICP备14008679号