Debian/ROS install for Gen2 1.0.2

Version 4

    it seems like a lot of the documentation is incomplete or old, so i wanted to put together links to what worked for me


    This post has the most accurate instructions for getting debian to work.

    Tutorial Debian Galileo Gen1 && Gen2


    python wasn't installed, that had a challenge to it as well, running "apt-get install python" resulted in this error


    Unpacking python2.7-minimal (from .../python2.7-minimal_2.7.3-6+deb7u2_i386.deb) ...

    new installation of python2.7-minimal; /usr/lib/python2.7/site-packages is a directory

    which is expected a symlink to /usr/local/lib/python2.7/dist-packages.

    please find the package shipping files in /usr/lib/python2.7/site-packages and

    file a bug report to ship these in /usr/lib/python2.7/dist-packages instead

    aborting installation of python2.7-minimal

    dpkg: error processing /var/cache/apt/archives/python2.7-minimal_2.7.3-6+deb7u2_i386.deb (--unpack):

    subprocess new pre-installation script returned error exit status 1


    found the fix for that here

    linux - dpkg: error processing /var/cache/apt/archives/python2.6-minimal_2.6.6-5ubuntu1_i386.deb (--unpack) - Super User


    the install has to fail once to create the files in the wrong place, moving the directory to the correct location is all it takes

    • mv /usr/lib/python2.7/site-packages /usr/local/lib/python2.7/dist-packages


    ROS install intructions here IntelGalileo/Debian - ROS Wiki

    they don't really work

    according to this

    we should be using pip to install ROS, instructions here indigo/Installation/Source - ROS Wiki

    • pip install -U rosdep rosinstall_generator wstool rosinstall

    i did indeed have errors ( "ImportError: No module named setuptools" ) however pip install --upgrade setuptools did not work

    • apt-get install curl
    • curl | python
    • then i ran pip install --upgrade setuptools sucessfully (no update to be done, but it worked) and then this worked
    • pip install -U rosdep rosinstall_generator wstool rosinstall

    • rosinstall_generator robot --rosdistro indigo --deps --wet-only --tar > indigo-robot-wet.rosinstall

    • wstool init -j8 src indigo-robot-wet.rosinstall

    • rosdep init

      (to this point i have been running as root, ROSDEP UPDATE CANNOT BE RUN AS ROOT)

    • rosdep update

    • rosdep install --from-paths src --ignore-src --rosdistro indigo -y

      and now i have a ton of dependency issues... i will report back

    i think i'm on to something... mashup with IntelGalileo/Debian - ROS Wiki