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

Unable to Locate ROS Packages?

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

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.

Thanks!

edit retag flag offensive close merge delete

4 Answers

Sort by ยป oldest newest most voted
0

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

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: http://wiki.ros.org/indigo/Installati...

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

edit flag offensive delete link more

Comments

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 -0500 )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 http://packages.ros.org/ros/ubuntu 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 -0500 )edit
1

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

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
0

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

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
0

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

Zero gravatar image

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

edit flag offensive delete link more

Question Tools

2 followers

Stats

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

Seen: 18,843 times

Last updated: Feb 23 '17