Ask Your Question
1

Missing rospkg dependency for ARM (Pandaboard)

asked 2013-01-17 03:59:41 -0500

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

modified as a wiki after arriving at a solution

There is a specific tutorial to install ROS Groovy on the Pandaboard. http://www.ros.org/wiki/groovy/Installation/PandaBoard/Source

But you could get stuck at step 3.1.2: rosdep fails because apt-get fails installing python-rospkg (package not available).

Unfortunately some packages are missing from the apt repository and there is no way (at the moment) to solve the problem, thus what is needed is to allow rosdep to continue on errors: $ rosdep install --from-paths src --ignore-src --rosdistro groovy -y -r

Notice the -r at the end. Rosdep should now proceed, notifying you at the end that some packages are missing

apt: command [sudo apt-get install -y python-rospkg] failed
apt: command [sudo apt-get install -y python-rosdep] failed
apt: command [sudo apt-get install -y python-catkin-pkg] failed
apt: Failed to detect successful installation of [python-rospkg]
apt: Failed to detect successful installation of [python-rosdep]
apt: Failed to detect successful installation of [python-catkin-pkg]

Disregarding the above warnings, you can proceed with the catkin install as detailed in the tutorial, which results in a working ros installation. So the tutorial should be (probably) amended by making explicit that some packages are missing from the available repos and that rosdep should be run with the -r option to continue on errors.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2013-01-17 04:05:00 -0500

mjcarroll gravatar image

I believe that you will have better success following this guide.

http://www.ros.org/wiki/groovy/Installation/PandaBoard/Source

At the time of me writing this, the guide is still incomplete, but it seems to cover some of the hurdles that you will encounter while installing.

edit flag offensive delete link more

Comments

Mjcarroll, maybe this slipped through your attention :P The link you posted is exactly the same I posted, so I've been following that same guide. Besides nothing can solve the fact that sudo apt-get install python-rospkg fails because python-rospkg is missing from my repos.

Claudio gravatar image Claudio  ( 2013-01-17 04:23:32 -0500 )edit

So those instructions do work, and they don't tell you to do sudo apt-get install python-rospkg. That should be done with pip/easy_install as armhf debs don't exist for those. You should also use the -r flag on the rosdep command, to tell it to continue, even with errors.

mjcarroll gravatar image mjcarroll  ( 2013-01-17 04:44:09 -0500 )edit

both pip and easy_install fail at installing python-rospkg. I'm now trying adding -r to rosdep.

Claudio gravatar image Claudio  ( 2013-01-17 04:52:34 -0500 )edit

Can you post the output to sudo pip install rospkg or sudo easy_install rospkg ?

mjcarroll gravatar image mjcarroll  ( 2013-01-17 04:54:32 -0500 )edit

This way it works and it installs (or at least it appears to be working). I'm going through the make process, I'll update the question once I know how it goes.

Claudio gravatar image Claudio  ( 2013-01-17 05:10:21 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2013-01-17 03:59:41 -0500

Seen: 417 times

Last updated: Jan 18 '13