Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top
E: Unable to locate package repo

this error comes after

sudo apt-get install repo
share|improve this question
Please explain what you expected to happen ;-) – Rinzwind Mar 1 '13 at 8:16
sudo apt-get 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!

share|improve this answer

As Rinzwind explains, there is no package called repo so Ubuntu cannot install it. If you are not sure about the existence of a package, run the following command to check whether it can be found:

apt-cache search [packageName]

In your case that would be apt-cache search repo. In this particular case you will get a great many results because repo is short for repository which is part of many package names.

Feel free to ask another question to get help on what you are more specifically installing.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.