Home | Tutorials | Wiki | Issues
Ask Your Question
0

I am new to ROS and Gazebo. And I am having trouble installing Gazebo packages on Ubuntu 16.04

asked 2019-04-18 02:12:27 -0500

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

I am following this link to install gazebo's dependencies.

When I run this command sudo apt-get install -y libgazebo7-dev, I get this error:

[sudo] password for cl201-9: 
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:
libgazebo7-dev : Depends: libsdformat4-dev but it is not going to be installed
                  Depends: libgazebo7 (= 7.15.0-1~xenial) but it is not going to be installed
                  Depends: gazebo7-common (= 7.15.0-1~xenial) but it is not going to be installed
                  Depends: gazebo7-plugin-base (= 7.15.0-1~xenial)
E: Unable to correct problems, you have held broken packages.

How can this be fixed?

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
0

answered 2019-07-16 15:14:06 -0500

bhej gravatar image

This usually happens because libignition-math3 is not installing. Install it first sudo apt-get install libignition-math3 then install the dependencies you were trying to install.

edit flag offensive delete link more
0

answered 2019-07-12 16:39:44 -0500

Rishabh6900 gravatar image

install all the unmet dependencies via apt-get install

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2019-04-18 02:12:27 -0500

Seen: 277 times

Last updated: Jul 16