Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I am running Ubuntu 12.04 LTS. I have edited /etc/apt/sources.list to add deb http://tinyos.stanford.edu/tinyos/dists/ubuntu 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

2 Answers 2

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 at 21:04

Your Answer

 
discard

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.