jsk-ros-pkg / jsk_common

common programs for jsk-ros-pkg
43 stars 81 forks source link

jsk.rosbuild does not complete on jade #1036

Open garaemon opened 9 years ago

garaemon commented 9 years ago

Failed to install gazebo2

executing command [sudo -H apt-get install -y -qq ros-jade-kdl-conversions]
ERROR: the following rosdeps failed to install
  apt: command [sudo -H apt-get install -y -qq gazebo2] failed
  apt: Failed to detect successful installation of [gazebo2]
++ error
++ echo 'export ROS_HOME=/home/leus/.ros'
export ROS_HOME=/home/leus/.ros
++ echo 'source /home/leus/ros/jade/devel/setup.bash'
source /home/leus/ros/jade/devel/setup.bash
++ cd /home/leus/ros/jade/build
/tmp/jsk.rosbuild: line 22: cd: /home/leus/ros/jade/build: No such file or directory
++ catkin_test_results --all
/tmp/jsk.rosbuild: line 22: catkin_test_results: command not found
++ echo done
done
++ exit 1
leus@leus-GB-BXi5G-760:~$ sudo apt-get install gazebo2
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 gazebo2 : Depends: libsdformat-dev (>= 1.4.11-1osrf1) but it is not going to be installed
           Depends: libsdformat-dev (< 2.0.0) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
garaemon commented 9 years ago

It can be solved by following command

sudo apt-get install libsdformat1
sudo apt-get install gazebo2
k-okada commented 9 years ago

from http://www.ros.org/reps/rep-0003.html, jade uses gazebo5

◉ Kei Okada

On Fri, Jul 17, 2015 at 5:37 PM, Ryohei Ueda notifications@github.com wrote:

It can be solved by following command

sudo apt-get install libsdformat1 sudo apt-get install gazebo2

— Reply to this email directly or view it on GitHub https://github.com/jsk-ros-pkg/jsk_common/issues/1036#issuecomment-122217838 .

garaemon commented 9 years ago

rospdep says gazebo is gazebo2

leus@leus-GB-BXi5G-760:~$ ROS_DISTRO=jade rosdep db| grep gazebo
gazebo_ros -> ros-jade-gazebo-ros
gazebo_ros_pkgs -> ros-jade-gazebo-ros-pkgs
libgazebo5-dev -> libgazebo5-dev
gazebo_msgs -> ros-jade-gazebo-msgs
gazebo -> gazebo2
gazebo5 -> gazebo5
gazebo_plugins -> ros-jade-gazebo-plugins
garaemon commented 9 years ago

on indigo, gazebo is gazebo2

$ ROS_DISTRO=indigo rosdep resolve gazebo
#apt
gazebo2