Unmet dependencies in installing moveit_ros and universal robot
Hello everyone,
I hope this question is not somehow repetitive because I saw a bunch of "unmet dependencies ros-distro-Xpackage" type of questions changing the rospackage name. I tried almost all of the suggestions under the corresponding questions but my problem still persists.
I used to use moveit and universal robots without any issue. However now, because of a reason which I couldn't figure out why and since when, I cannot compute catkin_make. I have two packages with problem but let say I focus on moveit for now.
CMake Error at /opt/ros/kinetic/share/catkin/cmake/catkinConfig.cmake:83 (find_package):
Could not find a package configuration file provided by
"moveit_visual_tools" with any of the following names:
moveit_visual_toolsConfig.cmake
moveit_visual_tools-config.cmake
Add the installation prefix of "moveit_visual_tools" to CMAKE_PREFIX_PATH
or set "moveit_visual_tools_DIR" to a directory containing one of the above
files. If "moveit_visual_tools" provides a separate development package or
SDK, be sure it has been installed.
Call Stack (most recent call first):
CMakeLists.txt:13 (find_package)
If I remove those packages from my workspace, then I can build without any problem. I tried to reinstall the whole package.
sudo apt-get install ros-kinetic-moveit
The following packages have unmet dependencies:
ros-kinetic-moveit : Depends: ros-kinetic-moveit-commander but it is not going to be installed
Depends: ros-kinetic-moveit-planners but it is not going to be installed
Depends: ros-kinetic-moveit-plugins but it is not going to be installed
Depends: ros-kinetic-moveit-ros but it is not going to be installed
Depends: ros-kinetic-moveit-setup-assistant but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
Also I tried the installation from the documentation of tutorials:
git clone https://github.com/ros-planning/movei... -b kinetic-devel
git clone https://github.com/ros-planning/panda... -b kinetic-devel
Whatever I tried, I have unmet dependency problems. First, I tried:
rosdep install -y --from-paths . --ignore-src --rosdistro kinetic
which returns me ridiculously another unmet dependency problems.
executing command [sudo -H apt-get install -y ros-kinetic-moveit-fake-controller-manager]
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-kinetic-moveit-fake-controller-manager : Depends: ros-kinetic-moveit-ros-planning but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
ERROR: the following rosdeps failed to install
apt: command [sudo -H apt-get install -y ros-kinetic-moveit-fake-controller-manager] failed
Then I dig into installing the whole chains of dependencies manually with all my patience:
user:~/moveit_ws$ sudo -H apt-get install -y ros-kinetic-moveit-ros-planning
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 ...