linux - 安装ros map_server时出错

标签 linux ubuntu ros robot mapserver

当我尝试在 ROS 上安装 map_server 时,出现如下错误:

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-map-server : Depends: ros-hydro-roscpp but it is not going to be installed
                        Depends: ros-hydro-rostest but it is not going to be installed
                        Depends: ros-hydro-tf but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

我该如何解决?

最佳答案

你能具体点吗?比如你尝试了哪些命令,你使用的是哪个 ROS 版本等等...... 另外,如果你有 ROS Hydro 版本,你的安装看起来好像出了问题,我建议重新安装它:

sudo apt-get remove ros-*
sudo apt-get install ros-#your_distro#-desktop-full

这可能会修复您的错误(同样,如果您使用的是 ROS Hydro)。 干杯,

关于linux - 安装ros map_server时出错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36240522/

相关文章:

git-submodules - 柳絮/ROS : How-to specify include path correctly when using submodules

c - inotify 真的适用于文件还是仅适用于目录?

linux - 执行此 'mv' 命令后我的文件发生了什么?

shell - Ubuntu shell 脚本不工作

ubuntu - 在 ubuntu 中交换 CMD 和控制键

package - 如何在不共享源代码的情况下分发 ROS 包

linux - Unix - 使用 fork() 的进程

c - close() 在 Linux 上调用 fsync() 吗?

linux - 删除早期版本后如何在Linux上安装Android SDK? (2017年3月)

c++ - undefined reference openscenegraph