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

Installing catkin on Ubuntu 16.04.3

asked 2017-08-03 07:36:32 -0600

mherrb gravatar image

Building dependency tree
I can't seem to be able to install the 'catkin' package (I want catkin_make) on a recent Ubuntu Xenial installation:

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:
 catkin : Depends: python-catkin-pkg but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

This seems to be caused by the presence of a more recent python-catkin-pkg in the packages repositroy, that conflicts with the default package from Ubuntu:

$ apt-cache policy python-catkin-pkg 
  Installed: 0.3.5-1
  Candidate: 0.3.5-1
  Version table:
 *** 0.3.5-1 500
        500 xenial/main amd64 Packages
        500 xenial/main i386 Packages
        500 xenial/main amd64 Packages
        100 /var/lib/dpkg/status
     0.2.10-2 500
        500 xenial/universe amd64 Packages
        500 xenial/universe i386 Packages
edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted

answered 2017-08-03 07:48:09 -0600

mherrb gravatar image

Answering my own question : problem between chair and keyboard : was running on a machine without ROS environment setup, so my shell wasn't looking in /opt/ros/kinetic/bin ros-kinetic-catkin package is installed and provices /opt/ros/kinetic/bin/catkin_make, which is the one I want.

the Ubuntu 'catkin' package is just a lure…

edit flag offensive delete link more

Question Tools



Asked: 2017-08-03 07:36:32 -0600

Seen: 3,176 times

Last updated: Aug 03 '17