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

Revision history [back]

click to hide/show revision 1
initial version

Edit: The output:

:~$ cat /etc/apt/sources.list.d/ros-latest.list
deb http://packages.ros.org/ros/ubuntu precise main

The problem most likely is that you've configured your system to ask the ROS package repositories for Ubuntu Precise (ie: 14.04) while you are actually running Ubuntu Xenial (16.04) -- or at least according to your question title.

I'm not sure how that happened, but you should be able to correct this situation using the following command:

sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list'

Note that this will override whatever you have now in /etc/apt/sources.list.d/ros-latest.list.

Did you follow the installation tutorial for ROS Kinetic on Ubuntu Xenial?