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

Unable to Locate ROS Packages?

asked 2016-05-22 18:33:09 -0600

icepaka89 gravatar image

Ok so I am completely new to ROS, and I am having some trouble with the tutorial. I managed to install from-source, but now whenever I try to download the indigo tutorial package (sudo apt-get install ros-indigo-ros-tutorials) I get the following error:

E: Unable to locate package ros-indigo-ros-tutorials

How do I fix this? I can't quite figure it out and all the other questions I looked at didn't give me helpful information.


edit retag flag offensive close merge delete

4 Answers

Sort by ยป oldest newest most voted

answered 2016-05-23 07:18:03 -0600

JRikken gravatar image

When you want to install ROS packages from the repositories, you have to add them to your sources.list first, otherwise apt-get does not now where to find the packages.

See also:

Like BennyRe said: if not necessary do not install from source.

edit flag offensive delete link more


I had to install from source because " sudo apt-get install ros-indigo-desktop-full " also did not work. This was the only way to even get any form of download going

icepaka89 gravatar image icepaka89  ( 2016-05-23 13:44:46 -0600 )edit

So, are your repositories configured correctly? If you run: grep -h ^deb /etc/apt/sources.list /etc/apt/sources.list.d/* The output should at least contain: deb trusty main Otherwise apt-get can never find ros-indigo-desktop-full or ros-indigo-ros-tutorials

JRikken gravatar image JRikken  ( 2016-05-30 08:53:05 -0600 )edit

answered 2017-02-23 00:21:59 -0600

sam26 gravatar image

Also, check if you have done apt-get update. Without this apt-get is unable to locate ROS packages.

edit flag offensive delete link more

answered 2016-05-23 01:08:56 -0600

BennyRe gravatar image

Do you have reasons to install ROS from source? If not don't do it! Did you follow this tutorial step by step?

edit flag offensive delete link more

answered 2016-05-23 01:50:04 -0600

Zero gravatar image

maybe you can try this source /opt/ros/indigo/setup.bash

edit flag offensive delete link more

Question Tools



Asked: 2016-05-22 18:33:09 -0600

Seen: 18,361 times

Last updated: Feb 23 '17