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

unable to locate ros-indigo-turtlebot-simulator

asked 2019-03-13 06:39:57 -0500

resolver101757 gravatar image

updated 2019-03-13 10:17:58 -0500

Hello,

I've purchased the ROS book Programming Robots with ROS to help me understand how i can controll the robot i've built. I was having trouble setting up ROS to work on my ubuntu laptop so i downloaded a pre-setup virtual machine from nortrix. I'm also getting the same issue on the virtual machine, the book says i need to setup the simulation stack, when i do get the follow error :

E: Unable to locate package ros-indigo-turtlebot-simulator

How can i move forward on this problem. I've seen there is a github page for it, do i just clone it ? https://github.com/turtlebot/turtlebo...

Also when i run "sudo apt-get update" i get :

Err http://security.ubuntu.com trusty-security InRelease

Err http://extras.ubuntu.com trusty InRelease                                  

Err http://archive.canonical.com trusty InRelease                              

Err http://archive.canonical.com trusty Release.gpg                      
  Could not resolve 'archive.canonical.com'
Err http://extras.ubuntu.com trusty Release.gpg
  Could not resolve 'extras.ubuntu.com'
Err http://security.ubuntu.com trusty-security Release.gpg
  Could not resolve 'security.ubuntu.com'
Err http://packages.ros.org trusty InRelease

Err http://packages.ros.org trusty Release.gpg
  Could not resolve 'packages.ros.org'
Err http://us.archive.ubuntu.com trusty InRelease

Err http://us.archive.ubuntu.com trusty-updates InRelease

Err http://us.archive.ubuntu.com trusty-backports InRelease

Err http://us.archive.ubuntu.com trusty Release.gpg
  Could not resolve 'us.archive.ubuntu.com'
Err http://us.archive.ubuntu.com trusty-updates Release.gpg
  Could not resolve 'us.archive.ubuntu.com'
Err http://us.archive.ubuntu.com trusty-backports Release.gpg
  Could not resolve 'us.archive.ubuntu.com'
Reading package lists... Done
W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/trusty/InRelease  

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/trusty-updates/InRelease  

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/trusty-backports/InRelease  

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/trusty-security/InRelease  

W: Failed to fetch http://archive.canonical.com/ubuntu/dists/trusty/InRelease  

W: Failed to fetch http://extras.ubuntu.com/ubuntu/dists/trusty/InRelease  

W: Failed to fetch http://packages.ros.org/ros/ubuntu/dists/trusty/InRelease  

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/trusty-security/Release.gpg  Could not resolve 'security.ubuntu.com'

W: Failed to fetch http://extras.ubuntu.com/ubuntu/dists/trusty/Release.gpg  Could not resolve 'extras.ubuntu.com'

W: Failed to fetch http://archive.canonical.com/ubuntu/dists/trusty/Release.gpg  Could not resolve 'archive.canonical.com'

W: Failed to fetch http://packages.ros.org/ros/ubuntu/dists/trusty/Release.gpg  Could not resolve 'packages.ros.org'

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/trusty/Release.gpg  Could not resolve 'us.archive.ubuntu.com'

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/trusty-updates/Release.gpg  Could not resolve 'us.archive.ubuntu.com'

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/trusty-backports/Release.gpg  Could not ...
(more)
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2019-03-13 07:11:18 -0500

mali gravatar image

it seems that the package is not installed, try to install it using:

sudo apt-get install ros-indigo-turtlebot-simulator
edit flag offensive delete link more

Comments

Thanks for the quick reply. Yeah thats what i was typing to get the response "E: Unable to locate package ros-indigo-turtlebot-simulator". Any other ideas?

resolver101757 gravatar image resolver101757  ( 2019-03-13 07:32:17 -0500 )edit

oh sorry, i did not know that you were typing the same command. you might need to clone simulator pkgs from github and build it. Do not forget to source your workspace

mali gravatar image mali  ( 2019-03-13 08:07:16 -0500 )edit
1

@mali:

you might need to clone simulator pkgs from github and build it.

can you clarify why you give this advice?

Building packages from source is very rarely needed, and should really only be a last resort option.

gvdhoorn gravatar image gvdhoorn  ( 2019-03-13 09:14:32 -0500 )edit

I think it is the second option he has, as he could not install it using sudo apt-get install ...

mali gravatar image mali  ( 2019-03-13 09:47:37 -0500 )edit
1

The first thing to do would be to figure out whyapt claims to not be able to find that package for installation. Only if it turns out that it's really unavailable, then we could consider recommending building it from source.

gvdhoorn gravatar image gvdhoorn  ( 2019-03-13 09:48:45 -0500 )edit

how do i find out why apt cant find the file?

resolver101757 gravatar image resolver101757  ( 2019-03-13 09:55:20 -0500 )edit
1

There is no direct way afaik, but can you install any ROS package using apt? Did you run sudo apt-get update recently?

gvdhoorn gravatar image gvdhoorn  ( 2019-03-13 10:00:51 -0500 )edit

thanks for your comments. I feel we're getting further. I've added the source and the response from sudo-apt update. Any ideas from here? your help is appreciated.

resolver101757 gravatar image resolver101757  ( 2019-03-13 10:18:59 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2019-03-13 06:39:57 -0500

Seen: 754 times

Last updated: Mar 13 '19