Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

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

I am running Ubuntu 12.04 LTS. I have edited /etc/apt/sources.list to add deb precise main. But when I try to install tinyos; I get the following error:

shahid@shahid-Lenovo-G550:~$ sudo apt-get install tinyos
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package tinyos

How do I resolve this?

share|improve this question

When you add a different source in /etc/apt/sources.list; you would also have to run the following command in terminal:

sudo apt-get update

This retrieves the new list of packages and knows what are the different packages available for installation and where to download it from.

Once you have run the above command, you may proceed with installation of tinyos:

sudo apt-get install tinyos
share|improve this answer

You might still have to do other things to get your package to work. I am still unable to download wine after adding its repository and updating the packages multiple times

share|improve this answer
It does not answer the question. Specify what are "other things". – enedil Jul 27 '14 at 21:04

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.