How to install ros-hydro due to Depends error--ros-hydro-desktop ? [closed]

asked 2013-10-06 05:10:27 -0500

sam gravatar image

updated 2013-11-14 12:25:58 -0500

tfoote gravatar image

I followed ros.org

I run:

sudo apt-get install ros-hydro-desktop-full

It shows:

sam@sam:~$ sudo apt-get install ros-hydro-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-hydro-desktop-full : Depends: ros-hydro-desktop but it is not going to be installed
                          Depends: ros-hydro-mobile but it is not going to be installed
                          Depends: ros-hydro-perception but it is not going to be installed
                          Depends: ros-hydro-simulators but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
sam@sam:~$

How to solve it?

Thank you


sam@sam:~$ sudo apt-get dist-upgrade 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
sam@sam:~$
edit retag flag offensive reopen merge delete

Closed for the following reason duplicate question by tfoote
close date 2013-10-15 08:17:33

Comments

I guess you have run "sudo apt-get update" before as the doc suggests. It might help to run "sudo apt-get dist-upgrade".

Dirk Thomas gravatar image Dirk Thomas  ( 2013-10-06 07:26:50 -0500 )edit

I tried as the above I edited. But it also doesn't work. Any other suggestions? Thank you~

sam gravatar image sam  ( 2013-10-06 14:57:11 -0500 )edit

Same problem here. It seems to be due to the dependency of ros hydro on libogre-dev which has the dependency on libboost1.49 and hydro has a dependancy on libboost1.53. So the clash is between libboost1.49 and libboost1.53. This happens when one tries to install all ros hydro packages individually.

rols gravatar image rols  ( 2013-10-07 22:36:51 -0500 )edit
1

I had the same problem. I installed and used aptitude instead of apt-get and it worked. Try this.

xaedes gravatar image xaedes  ( 2013-10-10 11:34:15 -0500 )edit

Hello, could please tell me how can I use aptitude since it doesn't exist by default anymore (ubuntu 13.03) I have the same issue

Dayire gravatar image Dayire  ( 2015-02-06 18:54:47 -0500 )edit

@Dayire this is a long closed question if you'd like help please ask your own question with enough details to reproduce your problem.

tfoote gravatar image tfoote  ( 2015-02-06 19:52:37 -0500 )edit