Ask Your Question
0

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 imagegvdhoorn ( 2018-02-11 06:05:22 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
1

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

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 imagezahra.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 imagejayess ( 2018-03-01 01:03:54 -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: 2018-02-11 05:46:15 -0600

Seen: 1,764 times

Last updated: Feb 11 '18