ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Cannot compile diagnostic_updater on ARM device: "apt: command [sudo apt-get install python-rospkg] failed"

asked 2013-01-08 10:01:05 -0600

derekjchow gravatar image

updated 2014-01-28 17:14:46 -0600

ngrennan gravatar image

I'm trying to compile diagnostic_updater on a ARM device (running Linaro 12.08) using groovy. The command I'm using to compile is

rosdep install diagnostic_updater

The error I'm encountering is

ERROR: the following rosdeps failed to install
apt: command [sudo apt-get install python-rospkg] failed

The reason the command is failing is because python-rospkg doesn't exist as a debian package for ROS. I had acquired rospkg through pip.

Is there are work around I can use to build the package?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2013-01-08 10:13:10 -0600

KruseT gravatar image

rosdep install attempts to install system dependencies via apt.

If that fails on Debian, you need to install system dependencies another way.

If rospkg is the only dependency rosdep misses for diagnostic_updater, and you have installed it via pip, then you should be good to go (perform the next build step).

So rosdep is just blind for your pip installation of rospkg.

Remember to get the latest of rospkg from pip, though.

edit flag offensive delete link more

Question Tools


Asked: 2013-01-08 10:01:05 -0600

Seen: 761 times

Last updated: Jan 08 '13