Dear Alex MMZ. Finally download the TinyOS package following your steps.
( I've added this command line to avoid certificate verification: # export GIT_SSL_NO_VERIFY=1 ) Thank you! On the other hand also added: deb http://tinyprod.net/repos/debian squeeze main deb http://tinyprod.net/repos/debian msp430-46 main in: /etc/apt/sources.list.d/tinyprod-debian.list I did your steps: # apt-get update And it appears: ------------------------------------------------------------------------------------------------------------------------------------------- W: Failed to fetch http://tinyprod.net/repos/debian/dists/squeeze/Release Unable to find expected entry 'main/binary-armhf/Packages' in Release file (Wrong sources.list entry or malformed file) W: Failed to fetch http://tinyprod.net/repos/debian/dists/msp430-46/Release Unable to find expected entry 'main/binary-armhf/Packages' in Release file (Wrong sources.list entry or malformed file) E: Some index files failed to download. They have been ignored, or old ones used instead. ----------------------------------------------------------------------------------------------------------------------------------------- And when I did the next step, appears: ---------------------------------------------------------------------------------------------------------- root@raspberrypi:/opt# apt-get install nesc tinyos-tools msp430-46 avr-tinyos Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package nesc E: Unable to locate package tinyos-tools E: Unable to locate package msp430-46 E: Unable to locate package avr-tinyos root@raspberrypi:/etc/apt/sources.list.d# ---------------------------------------------------------------------------------------------------------------------- So at the moment I can't use the command "motelist". Well, thank you in advance for any advice. Yours faithfully, Alex. On Thu, Jul 17, 2014 at 3:50 AM, Alex <[email protected]> wrote: > Hi, Alex > > you can try: > git init > git remote add tinyos https://github.com/tinyos/tinyos-main.git > git pull tinyos master > > I got source successfully using these commands. > > And is your tools-chain installed well? I add sources to source.list and > install msp430-46, but it is failed. Have you encountered these problems? > I'm using ubuntu 14.04. > > 1. > > deb http://tinyprod.net/repos/debian squeeze main > deb http://tinyprod.net/repos/debian msp430-46 main > > 2. Install the new packages: > > $ sudo apt-get update > $ sudo apt-get install nesc tinyos-tools msp430-46 avr-tinyos > > > > ******************************************************************** > Adding > debian:Verisign_Class_3_Public_Primary_Certification_Authority_-_G2.pem > Adding debian:Sonera_Class_1_Root_CA.pem > Adding debian:SwissSign_Gold_CA_-_G2.pem > Adding debian:AddTrust_Low-Value_Services_Root.pem > Adding debian:TURKTRUST_Certificate_Services_Provider_Root_2.pem > Adding debian:ssl-cert-snakeoil.pem > Adding debian:EC-ACC.pem > done. > Setting up openjdk-6-jre:i386 (6b31-1.13.3-1ubuntu1) ... > update-alternatives: using > /usr/lib/jvm/java-6-openjdk-i386/jre/bin/policytool to provide > /usr/bin/policytool (policytool) in auto mode > Setting up tinyos-tools (1.4.2-20120808) ... > Installing JNI libraries > Java not found, not installing JNI code > dpkg: error processing package tinyos-tools (--configure): > subprocess installed post-installation script returned error exit status 1 > dpkg: dependency problems prevent configuration of msp430-46: > msp430-46 depends on tinyos-tools; however: > Package tinyos-tools is not configured yet. > > dpkg: error processing package msp430-46 (--configure): > dependency problems - leaving unconfigured > Setting up icedtea-6-jre-cacao:i386 (6b31-1.13.3-1ubuntu1) ... > Setting up icedtea-6-jre-jamvm:i386 (6b31-1.13.3-1ubuntu1) ... > No apport report written because the error message indicates its a > followup error from a previous failure. > > Setting up icedtea-netx:i386 (1.5-1ubuntu1) ... > update-alternatives: using /usr/lib/jvm/java-6-openjdk-i386/jre/bin/javaws > to provide /usr/bin/javaws (javaws) in auto mode > update-alternatives: using > /usr/lib/jvm/java-6-openjdk-i386/jre/bin/itweb-settings to provide > /usr/bin/itweb-settings (itweb-settings) in auto mode > update-alternatives: warning: not replacing > /usr/share/man/man1/itweb-settings.1.gz with a link > update-alternatives: using /usr/lib/jvm/java-7-openjdk-i386/jre/bin/javaws > to provide /usr/bin/javaws (javaws) in auto mode > update-alternatives: using > /usr/lib/jvm/java-7-openjdk-i386/jre/bin/itweb-settings to provide > /usr/bin/itweb-settings (itweb-settings) in auto mode > update-alternatives: warning: not replacing > /usr/share/man/man1/itweb-settings.1.gz with a link > Setting up openjdk-6-jre-lib (6b31-1.13.3-1ubuntu1) ... > Processing triggers for libc-bin (2.19-0ubuntu6) ... > Processing triggers for ca-certificates (20130906ubuntu2) ... > Updating certificates in /etc/ssl/certs... 0 added, 0 removed; done. > Running hooks in /etc/ca-certificates/update.d.... > done. > done. > Errors were encountered while processing: > tinyos-tools > msp430-46 > E: Sub-process /usr/bin/dpkg returned an error code (1) > root@ubuntu:/home/user# sudo apt-get install nesc tinyos-tools msp430-46 > avr-tinyos > > ****************************************************************************************************** > -- > Thanks for your attention. > > Best regards. > > At 2014-07-17 07:58:48, "Alex CP" <[email protected]> wrote: > > Hi all. > > I have a problem when I try to clone tinyos-main in my raspberrypi > > Please someone have any idea about how fix it? > > In my Linux terminal appears the next: > > ---------------------------------------------------------------------------------------------- > root@raspberrypi:/opt# git clone git://github.com/tinyos/tinyos-main.git > Cloning into 'tinyos-main'... > fatal: unable to connect to github.com: > github.com: Name or service not known > > ----------------------------------------------------------------------------------------------- > > Thanks in advance for any idea. > > Alex. > > > > <#1474204c0ed515f0_>
_______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
