ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

sudo apt-get install ros-indigo-desktop-full (E: Unable to correct problems, you have held broken packages.)

asked 2018-02-11 05:46:15 -0500 gravatar image

updated 2018-02-11 06:04:45 -0500

gvdhoorn gravatar image

hi, i installed ros-indigo in Ubuntu 14.04. i removed ros-indigo. i decide reinstall this agian , but when run this command (sudo apt-get install ros-indigo-desktop-full) in terminal, this error is created:

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-indigo-desktop-full : Depends: ros-indigo-desktop but it is not going to be installed
                           Depends: ros-indigo-simulators but it is not going to be installed
                           Depends: ros-indigo-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


One thing to check: did you a any point install a version of Gazebo newer than 2 (ie: gazebo7 fi)? If so, remove it. Then try again.

gvdhoorn gravatar image gvdhoorn  ( 2018-02-11 06:05:22 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2018-02-11 10:02:05 -0500

nickd gravatar image


I was having this problem with my installation earlier today although I was installing kinetic. I got around this by first installing aptitude

sudo apt-get install aptitude

then using aptitude to install ros

sudo aptitude install ros-<package>-desktop-full
edit flag offensive delete link more


thanks nickd, my problem is solved! gravatar image  ( 2018-02-11 14:31:19 -0500 )edit if this solved your problem then please click the next to the answer to mark the answer as correct.

jayess gravatar image jayess  ( 2018-03-01 01:03:54 -0500 )edit

I had same problem with Installing ROS 2 Eloquent Elusor. I just deleted the full tag from the end of sudo aptitude install ros-<package>-desktop-full command. Hope it will help somebody

shahriarMJ gravatar image shahriarMJ  ( 2020-07-18 14:15:13 -0500 )edit

Question Tools

1 follower


Asked: 2018-02-11 05:46:15 -0500

Seen: 6,892 times

Last updated: Feb 11 '18