I think I've worked out many of the problems with getting Indigo installed on the Raspberry Pi. I've written up some installation instructions here: http://wiki.ros.org/ROSberryPi/Installing%20ROS%20Indigo%20on%20Raspberry%20Pi.
If you have a chance to try it out, I'd appreciate if you let me know if there are any problems and I'll try to keep it updated.
Originally posted by awilson with karma: 231 on 2014-10-21
This answer was ACCEPTED on the original site
Post score: 5
Original comments
Comment by MKI on 2014-10-21:
Sure, will try it out over the weekend ... thank you for the update.
Comment by MKI on 2014-10-23:
@awilson Hi, Just installed bare-bones version of Indigo on Rpi, I did not overcome any problems during the installation. Truly nice work ... Thank you. Could you also leave an update as to how to install individual packages from source and also how to uninstall the same? Thanks again.
Comment by awilson on 2014-10-23:
@MuraliKrishnan Great! I added a section at the end on adding individual packages to the workspace. I'm actually not sure the best way to uninstall a single package - to uninstall ros completely, you can just delete /opt/ros/indigo.
Comment by epascual on 2014-11-02:
I followed it, and it works fine until step 2.2.2 (rosdep install). It fails installing python-catkin-pkg and thus dependants, saying :
"python-catkin-pkg : Depends: python:any (>= 2.7.1-0ubuntu2) but it is not installable"
Of course Python is here (2.6, 2.7.3 and 3). Thanks in advance for any clue.
Comment by awilson on 2014-11-02:
@epascual Hmm, I'm not sure why I didn't run into that, but I would try to install catkin_pkg using pip (sudo pip install -u catkin_pkg) and then rerun rosdep. If there's still an error, add -r to the rosdep command to ignore install errors and that may work. What variant are you installing?
Comment by epascual on 2014-11-03:
@awilson Thanks a lot for your quick reply. I could bypass the problem by removing the "python:any" dependencies in /var/lib/dpkg/status and the whole process went fine. I'm installing the basic ros_comm variant. Could it be some change in the ubuntu repo the "python:any" depends clause points to?
Comment by awilson on 2014-11-03:
@epascual Glad you got it working. I think python:any
was very recently added and the version of apt on wheezy doesn't handle it (https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1271237). So, your fix is fine, or it can be ignored because those packages are installed on pip.
Comment by epascual on 2014-11-03:
@awilson I couldn't find any doc on the meaning of the :any
suffix BTW. Maybe the procedure described in this article should mention to install these packages using pip and not letting rosdep trying to do the job. Or am I misunderstanding something ?
Comment by MattHoward on 2015-04-17:
Any updates on this? I tried installing via pip, editing /var/lib/dpkg/status (which didn't have any references to python:any), and adding ignore error flags but nothing seems to work.
Comment by epascual on 2015-04-18:
@MattHoward I successfully managed to finalize the process, and get a working environment.
It's documented (with all console traces) here : http://www.pobot.org/ROS-sur-RaspberryPi.html
Sorry for this, it's written in French. But Google Translate can help, and traces are in English ;)
Comment by MattHoward on 2015-04-19:
@epascual Thanks for the help. I followed your tutorial (using both Google Translate and my high school understanding of French) but ran into the same issue I previously had. My /var/lib/dpkg/status (posted here https://gist.github.com/moward/62b35aa6257e9fd05ad4) had no traces of python:any. :(
Comment by epascual on 2015-04-19:
@MattHoward Sorry it couldn't help you more :/ Which error do you encounter exactly ? The same dependency as I got, or something else ?
Comment by MattHoward on 2015-04-19:
Yeah, I was have the issue with "python:any". I'm trying now with Ubuntu on RPi 2 (https://wiki.ubuntu.com/ARM/RaspberryPi) however.
Comment by epascual on 2015-04-19:
It should be a better option anyway, since ROS was a bit sluggish on the RasPi. Having several core can help. Not yet tested.
Comment by MattHoward on 2015-04-21:
I can confirm that you can install ROS on Ubuntu with the RPi 2 following the official ROS installation guide, no problems.
Comment by epascual on 2015-04-22:
Fine, this will simplify the life a lot :)