ros kinetic install fails to resolve dependencies (qtbase5-dev)

asked 2017-06-13 10:28:42 -0500

ryanoldja gravatar image

updated 2017-06-13 11:56:50 -0500

We are operating on a Raspberry Pi 3 Model B, with Debian Jessie, attempting to install ROS kinetic following the wiki.

We have installed the ROS-comm and robot variants to the catkin workspace. All goes smoothly until attempting to resolve package dependencies (3.2.2). Refer to the terminal log below:

pi@raspberrypi:~/ros_catkin_ws $ rosdep install -y --from-paths src --ignore-src --rosdistro kinetic -r --os=debian:jessie
executing command [sudo -H apt-get install -y qtbase5-dev]
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:
 qtbase5-dev : Depends: libgles2-mesa-dev but it is not going to be installed or
                        libgles2-dev but it is not installable
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 qtbase5-dev] failed
  apt: Failed to detect successful installation of [qtbase5-dev]

I then attempted to install qt5base-dev from the apt-get repo, with no success:

pi@raspberrypi:/opt/ros/kinetic $ sudo apt-get install qtbase5-dev
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:
 qtbase5-dev : Depends: libgles2-mesa-dev but it is not going to be installed or
                        libgles2-dev but it is not installable
E: Unable to correct problems, you have held broken packages.

However, despite this unmet dependency, I was able to successfully build the catkin workspace by appending-DCMAKE_MODULE_PATH=/usr/share/cmake-3.0/Modules to the sudo ./src/catkin/bin/catkin_make_isolated --install -DCMAKE_BUILD_TYPE=Release --install-space /opt/ros/kinetic command as per this thread.

This might be an xy-problem, as I am not entirely familiar with debugging the ROS installation on the Pi3.

From what I understand, this dependency issue should have been fixed according to this thread for debian jessie. However, the rosdep update and installs have not resolve my dependencies issues. Any help would be greatly appreciated, as this has been stalling progress for quite some time now!

edit retag flag offensive close merge delete