ros-planning / navigation

ROS Navigation stack. Code for finding where the robot is and how it can get somewhere else.
2.32k stars 1.79k forks source link

Trouble installing navigation / map-server #1224

Closed Darkproduct closed 1 year ago

Darkproduct commented 1 year ago

I have Ubuntu 20.04 with ROS noetic running and I can't install ros-noetic-navigation.

The following packages have unmet dependencies: ros-noetic-navigation : Depends: ros-noetic-map-server but it is not going to be installed

I followed the dependency chain: ros-noetic-navigationros-noetic-map-serverlibsdl-image1.2-devlibsdl1.2-devlibcaca-devlibcaca0 and ended up with the following error:

The following packages have unmet dependencies: libcaca-dev : Depends: libcaca0 (= 0.99.beta19-2.1ubuntu1) but 0.99.beta19-2.1ubuntu1.20.04.1 is to be installed

From here, I see that there are two different versions of libcaca0 for amd64. I'm not sure how I can solve this issue, nor who is to blame for it. I really hope this gets resolved soon.

khinggan commented 1 year ago

Hi @Darkproduct, have you found some solutions? I met the same problem.

Darkproduct commented 1 year ago

Solved it with:

sudo dpkg -r --force-depends libcaca0
sudo apt install libcaca0

But not sure if there are any side effects with other packages.

wangcongrobot commented 1 year ago

sudo aptitude install ros-noetic-map-server

yuhanheliosliu commented 4 months ago

sudo aptitude install ros-noetic-map-server

Thanks for sharing! This solved my problem.