Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error installing ROS Kinetic on Ubuntu 16.04

When I try to do the following:

sudo apt-get install ros-kinetic-desktop-full

I get the following error:

E: Unable to locate package ros-kinetic-desktop-full

Then I try to go for a workaround installing it from source, and once I run rosdep install --from-paths . -i -y --rosdistro kinetic, it throws the following error:

executing command [sudo -H apt-get install -y ros-kinetic-gazebo-dev]
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package ros-kinetic-gazebo-dev
ERROR: the following rosdeps failed to install
apt: command [sudo -H apt-get install -y ros-kinetic-gazebo-dev] failed

Any ideas what went wrong here?

like image 421
Massyanya Avatar asked Dec 14 '22 21:12

Massyanya


1 Answers

Following these instructions should work. You need to set up your sources.list and keys to get software from packages.ros.org:

sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list'
sudo apt-key adv --keyserver hkp://ha.pool.sks-keyservers.net:80 --recv-key 421C365BD9FF1F717815A3895523BAEEB01FA116
sudo apt-get update
sudo apt-get install ros-kinetic-desktop-full
like image 113
adamconkey Avatar answered Dec 16 '22 11:12

adamconkey