Ask Your Question
0

unable to locate ros-indigo-turtlebot-simulator

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

resolver101757 gravatar image

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

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 -0600

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 imageresolver101757 ( 2019-03-13 07:32:17 -0600 )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 imagemali ( 2019-03-13 08:07:16 -0600 )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 imagegvdhoorn ( 2019-03-13 09:14:32 -0600 )edit

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

mali gravatar imagemali ( 2019-03-13 09:47:37 -0600 )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 imagegvdhoorn ( 2019-03-13 09:48:45 -0600 )edit

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

resolver101757 gravatar imageresolver101757 ( 2019-03-13 09:55:20 -0600 )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 imagegvdhoorn ( 2019-03-13 10:00:51 -0600 )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 imageresolver101757 ( 2019-03-13 10:18:59 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

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

Seen: 149 times

Last updated: Mar 13