2017-01-09 15 views
-1

Ubuntu Virtual MachineにTinyOS 2.1.2をインストールしようとしています。次のコマンドの実行中、私は上記のエラーに直面しています。TinyOS 2.1.2インストールの失敗

$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. 

私は、更新、自動的削除を実行しようとしました、何も働きました。ここで私を助けてくれますか?

答えて

0

あなたはvagrantに精通している場合は、セットアップに仮想マシンを私のTinyOS Vagrant Configurationを使用するか、Ansibleに精通している場合は、ちょうど私は、以下の手順を記述するためのテンプレートとして使用し、私のTinyOS Ansible Roleを使用することができます。

以下の手順に従わない場合。これらは、Ubuntuの16.04で動作するはずです:sudo apt-get update

はNesCインストール

$ sudo apt-get install automake, autoconf, emacs, gperf, bison, flex, default-jdk 
$ git clone -depth 1 https://github.com/tinyos/nesc.git /usr/local/src/nesc 
$ cd /usr/local/src/nesc 
$ ./Bootstrap 
$ ./configure 
$ make 
$ make install 

TinyOSのインストール今

$ sudo apt-get install automake, autoconf, emacs, gperf, bison, flex, graphviz, default-jdk, gcc-msp430 
$ git clone -depth 1 https://github.com/tinyos/tinyos-main.git /usr/local/src/tinyos 
$ cd /usr/local/src/tinyos/tools 
$ ./Bootstrap 
$ ./configure 
$ make 
$ make install 
$ tos-install-jni 
$ sudo cat <<EOT >> /etc/profile.d/tinyos.sh 
export TINYOS_ROOT_DIR="/usr/local/src/tinyos" 
export CLASSPATH=".:${CLASSPATH:+${CLASSPATH}:}${TINYOS_ROOT_DIR}/tools/tinyos/java/tinyos.jar" 
EOT 
$ sudo chmod 644 /etc/profile.d/tinyos.sh 

あなたはに準備する必要があります:

まず、ソースリストを更新します行く...楽しんでください。

関連する問題