I am trying to install TinyOS 2.1.2 in Ubuntu Virtual Machine. During the execution of the following command I am facing the error mentioned.
$sudo apt-get install nesc tinyos-tools msp430-46 avr-tinyos
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
tinyos-tools : Depends: sun-java5-jre but it is not installable or
sun-java6-jre but it is not installable or
oracle-java6-jre but it is not installable or
sun-java7-jre but it is not installable or
openjdk-6-jre but it is not installable or
openjdk-7-jre but it is not installable
E: Unable to correct problems, you have held broken packages.
I tried to do autoremove, update, nothing worked. Could you please help me here ?