Problem with installing ROS Lunar

asked 2018-01-22 21:53:07 -0500

Tomas Gallegos gravatar image

updated 2018-01-22 23:36:56 -0500

ahendrix gravatar image

.

tjg@pop-os:/~$ sudo apt-get install ros-lunar-desktop-full
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:
 ros-lunar-desktop-full : Depends: ros-lunar-desktop but it is not going to be installed
                          Depends: ros-lunar-perception but it is not going to be installed
                          Depends: ros-lunar-simulators but it is not going to be installed
                          Depends: ros-lunar-urdf-tutorial but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
edit retag flag offensive close merge delete

Comments

E: Unable to correct problems, you have held broken packages. suggests that some other package that you've installed has put your package manager into a bad state. I suggest that you investigate and resolve that before trying to install ROS.

ahendrix gravatar image ahendrix  ( 2018-01-22 23:38:11 -0500 )edit

sudo apt-get install -f will report if you have issues, and may be able fix some of them. (-f for "fix")

ahendrix gravatar image ahendrix  ( 2018-01-22 23:38:49 -0500 )edit

This worked for me: link text.

Try to install the held packages with aptitude:

  • aptitude install ros-lunar-perception
  • (...)

Then, try again to install lunar-desktop-full

Hope it work

aguiasmaster gravatar image aguiasmaster  ( 2018-01-23 06:34:34 -0500 )edit

ROS Lunar comes with Gazebo 7 by default (REP-3). I'm not sure whether installing libgazebo6-dev is going to solve the OP's problem.

Trying aptitude is a good suggestion though.

gvdhoorn gravatar image gvdhoorn  ( 2018-01-23 06:36:58 -0500 )edit