Terminal won't let me use "deb" and "<distribution>"

Asked by Hunter Bryant

I am trying to install tinyos by typing in the terminal:

sudo apt-get update

deb http://tinyos.stanford.edu/tinyos/dists/ubuntu <distribution> main //This won't work

sudo apt-get install tinyos //This won't work

The output of "deb":

bash: distribution: No such file or directory

The output of "install tinyos":

Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package tinyos

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu apt Edit question
Assignee:
No assignee Edit question
Solved by:
Steve Sauls
Solved:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

What is the output of:

uname -a

Thanks.

Revision history for this message
Hunter Bryant (surfaspen) said :
#2

The output of "deb":

bash: distribution: No such file or directory

The output of "install tinyos":

Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package tinyos

Revision history for this message
Hunter Bryant (surfaspen) said :
#3

The output is:

Linux ubuntu 2.6.32-22-generic #36-Ubuntu SMP Thu Jun 3 22:02:19 UTC 2010 i686 GNU/Linux

Revision history for this message
Hunter Bryant (surfaspen) said :
#4

That is the output of "uname -a"

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#5

and the output of:

lsb_release -a

Thanks

Revision history for this message
Hunter Bryant (surfaspen) said :
#6

The output is:

No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 10.04 LTS
Release: 10.04
Codename: lucid

Revision history for this message
Best Steve Sauls (steve.sauls) said :
#7

You must add the line you were using stated above "deb http://tinyos.stanford.edu/tinyos/dists/ubuntu <distribution> main" to your sources list. Substitute appropriate variables for your version of ubuntu you are running.

Then once the repository is set you may use sudo apt-get install command to install your software.

Revision history for this message
Hunter Bryant (surfaspen) said :
#8

By the way, I've tried typing:

deb http://tinyos.stanford.edu/tinyos/dists/ubuntu <lucid> main

But it said:

bash: lucid: No such file or directory.

Revision history for this message
Hunter Bryant (surfaspen) said :
#9

Where is the sources list?

Im a beginner, sorry if my question is obvious.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#10

ok run:

gksudo gedit /etc/apt/sources.list; sudo apt-get update

add this line:

deb http://tinyos.stanford.edu/tinyos/dists/ubuntu lucid main

Save the new file and close gedit.

TinyOS isn't supported here by the way but I've nothing better to do, please keep this to Ubuntu support only.

You will get a key error but we can sort that out next.

Revision history for this message
Hunter Bryant (surfaspen) said :
#11

Thank you so much!!!!!!

Revision history for this message
Hunter Bryant (surfaspen) said :
#12

Thanks Steve Sauls, that solved my question.