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

Error while building catkin_ws in Ubuntu 13.10

asked 2014-02-16 06:14:02 -0600

TSC gravatar image

Hi there,

I'm trying to install ROS Hydro on Ubuntu 13.10 from source and I get this error while builiding catkin_ws with rosdep install --from-paths src --ignore-src --rosdistro hydro -y :

executing command [sudo apt-get install -y gazebo2]
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package gazebo2
ERROR: the following rosdeps failed to install
  apt: command [sudo apt-get install -y gazebo2] failed
  apt: Failed to detect successful installation of [gazebo2]

Can someone point me out how can I get pass this dependency? (that means, how to make rosdep ignore gazebo2 package)

Already tried rosdep install --from-paths src --ignore-src --rosdistro hydro -y -r (to ignore minor errors) but no luck.

Thanks!

edit retag flag offensive close merge delete

Comments

Hi all, I experienced the same problem and fixed it by first launching: > sudo sh -c 'echo "deb > http://packages.osrfoundation.org/gazebo/ubuntu > saucy main" > > /etc/apt/sources.list.d/gazebo-latest.list' > > wget > http://packages.osrfoundation.org/gazebo.key > -O - | sudo apt-key add -

RagingBit gravatar image RagingBit  ( 2014-03-20 22:57:40 -0600 )edit

2 Answers

Sort by ยป oldest newest most voted
2

answered 2014-02-16 23:29:47 -0600

demmeln gravatar image

updated 2014-02-18 11:31:42 -0600

To check all the dependecies without running into errors durign their installation try rosdep check instead of rosdep install. You can also use this info to manually install any additional dependencies that come "after" gazebo2 manually (e.g. with apt-get).

Edit: It is also possible to locally mark a dependecy as met by adding a local rosdep source file with an empty entry for that dependecy, see https://github.com/ros-infrastructure... .

edit flag offensive delete link more

Comments

Already resolved! Thanks

TSC gravatar image TSC  ( 2014-02-17 02:13:02 -0600 )edit

I had the same issue, but lots of missing dependencies. This one made my life a bit easier:
rosdep check --from-paths src --ignore-src --rosdistro hydro | grep apt | grep -v gazebo2 | awk '{print $2;}' | xargs sudo apt-get install -y

dave.peacock gravatar image dave.peacock  ( 2014-02-18 08:41:23 -0600 )edit

There is also the -s (simulate) flag for rosdep install, but I'm not sure if it would error if a deb package is not found.

demmeln gravatar image demmeln  ( 2014-02-18 10:30:52 -0600 )edit

And for completeness, I just found out that there is a way to locally mark dependencies as met.

demmeln gravatar image demmeln  ( 2014-02-18 11:30:42 -0600 )edit
0

answered 2014-02-16 06:22:27 -0600

ahendrix gravatar image

Try installing gazebo from debs as described on the gazebo wiki: http://gazebosim.org/wiki/2.2/install...

edit flag offensive delete link more

Comments

That didn't change nothing. rosdep is still trying to get gazebo2 package

TSC gravatar image TSC  ( 2014-02-16 06:42:48 -0600 )edit
1

It looks like the rosdep rules for gazebo may be wrong. If you've installed gazebo from debs, and it's the only missing dependency, I would continue with your installation.

ahendrix gravatar image ahendrix  ( 2014-02-16 07:40:42 -0600 )edit

And how do I check it's the only missing dependency?

TSC gravatar image TSC  ( 2014-02-16 07:59:11 -0600 )edit

Question Tools

2 followers

Stats

Asked: 2014-02-16 06:14:02 -0600

Seen: 1,204 times

Last updated: Feb 18 '14