Ask Your Question
0

Updating ROS diamondback stacks (not an svn install)

asked 2011-06-21 19:06:17 -0500

Ankit gravatar image

I am using Diamondback version of ROS which I installed using the sudo apt-get command. I want to update the perception_pcl stack. When I try to update it using the synaptic package manager, I get errors liek "Unable to fetch packages". What could be going wrong?

In general what would be the best way to update ROS stacks in this case?

Thanks, Ankit

edit retag flag offensive close merge delete

3 Answers

Sort by » oldest newest most voted
3

answered 2011-06-22 06:09:08 -0500

kwc gravatar image

It's a good practice to run "sudo apt-get update" first before installing a new ROS stack. You may be fetching with an index that is out of date. Our debian packages generally iterate much faster than normal in order to keep up with the fast pace of development.

edit flag offensive delete link more
3

answered 2011-06-21 20:56:14 -0500

updated 2011-06-21 20:58:42 -0500

The Debian packages of ROS can be updated like any other Debian (Ubuntu) package, so your question is not only specific to ROS. What your error message means is that synaptic couldn't download the .deb files from the repository server. So either your network connection was down, or the server (packages.ros.org for ROS packages) was down, or the requested package was not found on the server (which would be very strange).

Do you get the error on ROS packages (i.e., those starting with ros-)? If you get the error on non-ROS packages, make sure you have enabled the "restricted", "universe" and "multiverse" Ubuntu repositories and refreshed the package lists.

edit flag offensive delete link more
0

answered 2011-06-23 12:51:01 -0500

Ankit gravatar image

Ya, updating the apt-get databases worked. Thanks!

edit flag offensive delete link more

Your Answer

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

Add Answer

Question Tools

Stats

Asked: 2011-06-21 19:06:17 -0500

Seen: 340 times

Last updated: Jun 23 '11