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

i am unable to install ROS package directly from terminal by using the command- "sudo apt-get install package_name".everytime it gives an error: unable to locate paackage.please suggest.

asked 2016-04-07 12:42:05 -0600

RAHUL AGRAWAL gravatar image

Error type:- Reading package lists... Done Building dependency tree
Reading state information... Done E: Unable to locate package ros-jade-husky-simulator

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
1

answered 2016-04-07 14:06:05 -0600

Either something was skipped during installation, or you are trying to install packages that aren't available. As far as I know the ros-jade-husky-simulator isn't released on the build farm (check Jade's distribution.yaml). If you want to use the husky_simulator package, you'll either need to be on Indigo, or build the package from source.

If none of your ROS packages are able to be installed, then something was skipped during installation. Check the output of cat /etc/apt/source.list.d/ros-latest.list ensure that the ROS package repos are added to your apt sources. Also be sure to run sudo apt-get update to download the package list.

edit flag offensive delete link more
0

answered 2016-04-07 16:19:06 -0600

schultza gravatar image

updated 2016-04-07 16:21:09 -0600

You should use sudo apt-get install ros-<distro>-package_name, change the <distro> to the ros distro you are using. For example try: sudo apt-get install ros-indigo-urg-node

Or use a package manager Synaptic Package Manager and search for the package you want to install.

Another method is to use git and clone a package to your workspace. For example

cd your_catkin_ws/src

git clone -b indigo-devel https://github.com/ros-drivers/urg_node.git

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2016-04-07 12:42:05 -0600

Seen: 768 times

Last updated: Apr 07 '16