tinyos-2.1.1 intsallation in Ubuntu

523 Views Asked by At

I'm learning about Wireless Sensor Network in TinyOS. I tried to install this in Ubuntu 18.04 but it ain't worked and it return this kind of error (the picture included). Anyone could help me with this failure. Many thanks

https://i.stack.imgur.com/rZhtu.png

1

There are 1 best solutions below

0
On

I came across the same problem. The reason is that TinyOS is now relatively old (in software terms) and the original development community have largely moved onto other things. This means that the packages are no longer maintained, and thus there are issues with unmet and broken dependencies. These issues will only get more and more problematic as Ubuntu evolves and leaves these packages far behind.

I can't remember exactly what the problem is as it was some time ago, but thankfully I wrote up a detailed explanation on how to install TinyOS on Vagrant here. It was tested on Ubuntu 16.04 but it should also work on 18.04.

The TL;DR version is to look carefully at the bootstrap script I use. For example, try this (the first line adds a signing key to your package manager - this came directly from Eric Decker's package repo):

wget -O - http://tinyprod.net/repos/debian/tinyprod.key | sudo apt-key add -
apt-get update
apt-get -y install nesc tinyos-tools avr-tinyos msp430-46 mspdebug

For further info see the official wiki and Eric Decker's repo, but these are also quite out of date now.