Ask Your Question
0

raspberry stretch gazebo9

asked 2019-12-29 23:30:30 -0600

Piter_Pam gravatar image

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.

edit retag flag offensive close merge delete

Comments

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.

ZainMehdi gravatar image ZainMehdi  ( 2019-12-30 19:48:52 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2020-01-19 19:52:13 -0600

Piter_Pam gravatar image

ok,

I was not able to solve my dependency problem here. I did reinstalled with the recommended ROS-Comm option.

P.

edit flag offensive delete link more

Comments

For future reader: A similar question has been answered at https://answers.ros.org/question/3457...

marguedas gravatar image marguedas  ( 2020-03-07 11:14:45 -0600 )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

1 follower

Stats

Asked: 2019-12-29 23:30:30 -0600

Seen: 172 times

Last updated: Jan 19 '20