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

Problem while installing ros navigation

asked 2020-03-10 06:26:07 -0500

BlueSkeptical gravatar image

updated 2020-03-10 06:53:52 -0500

Hi, i'm having some problem trying install ros-kinetic-navigation on ubuntu 16.04, it tells me:

The following packages have unmet dependencies:
 ros-kinetic-navigation : Depends: ros-kinetic-map-server but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

If i try to install ros-kinetic-map-server it tells me:

The following packages have unmet dependencies:
 ros-kinetic-map-server : Depends: libsdl-image1.2-dev but it is not going to be installed
                          Depends: libsdl1.2-dev but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

And it goes deeper and deeper. I've tried to reinstall ros with no results.

EDIT: SOLVED Solved using aptitude:

sudo aptitude install libsdl-image1.2-dev

And follow its instructions

edit retag flag offensive close merge delete

Comments

1

Please post your last edit as an answer, and then accept your own answer.

Please also include a short description of what the solution/instructions actually was/were.

gvdhoorn gravatar image gvdhoorn  ( 2020-03-10 06:59:28 -0500 )edit

Done, but I need 10 points to accept my own answer

BlueSkeptical gravatar image BlueSkeptical  ( 2020-03-10 07:14:52 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2020-03-10 07:12:03 -0500

BlueSkeptical gravatar image

Solved: Install aptitude. Then:

sudo aptitude install libsdl-image1.2-dev

It will find you all the needed dependencies and ask you if you want to install them.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2020-03-10 06:26:07 -0500

Seen: 620 times

Last updated: Mar 10 '20