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

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 -0600

zahra.kh gravatar image

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

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

Comments

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 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
4

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

nickd gravatar image

Hi,

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

Comments

thanks nickd, my problem is solved!

zahra.kh gravatar image zahra.kh  ( 2018-02-11 14:31:19 -0600 )edit

@zahra.kh 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 -0600 )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 -0600 )edit

Question Tools

1 follower

Stats

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

Seen: 6,934 times

Last updated: Feb 11 '18