raspberry stretch gazebo9
Hello all
Installing ROS on Raspberry, following https://wiki.ros.org/ROSberryPi/Insta...
Step 3.1 Create a catkin Workspace
I used Desktop rather than ROS-com
Step 3.2.1 Unavailable Dependencies
Completed. (is this still required by the way ? )
Step 3.2.2 Resolving Dependencies with rosdep
Fails:
The following information may help to resolve the situation:
The following packages have unmet dependencies:
gazebo9 : Depends: libgazebo9 (= 9.0.0-2~stretch) but it is not going to be installed
Depends: gazebo9-common (= 9.0.0-2~stretch) but it is not going to be installed
Recommends: gazebo9-plugin-base but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
ERROR: the following rosdeps failed to install
apt: command [sudo -H apt-get install -y gazebo9] failed
apt: Failed to detect successful installation of [gazebo9]
I did install manually the dep (see http://answers.gazebosim.org/question... ):
sudo apt-get install libignition-math4-dev
sudo apt-get install libsdformat6
sudo apt-get install libgazebo9
These went ok. Then:
pi@raspberrypi:~/ros_catkin_ws $ sudo apt-get install -y gazebo9
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:
gazebo9 : Depends: libgazebo9 (= 9.0.0-2~stretch) but it is not going to be installed
Depends: gazebo9-common (= 9.0.0-2~stretch) but it is not going to be installed
Recommends: gazebo9-plugin-base but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
Then: Kinetic comes with gazebo7 not 9. (see here : https://github.com/PX4/Firmware/issue... ) So:
sudo apt-get install gazebot7
Went ok. But that still does not pass the rosdep
So I am kinda stuck there. Any idea ?
see also :
https://answers.ros.org/question/2608...
-> yes, raspberry is too broken-winded to run gazebo, not my intend. Nevertheless :
1) I failed badly at using the bare-bone install previously, with problems during catkin_make (geometry_msgsConfig.cmake geometry_msgs-config.cmake not beeing found). I am more confident with the 150% solution now, if available .
2) the ROS doc says that install desktop install is an option (even if the other one is the recommended one). So, shall work somehow...
P.
I had this problem in Ubuntu . What I did was to purge all ros and then reinstall with minimal version and install gazebo separately. Somehow after removing gazebo it messes up dependency tree and everything seems broken.