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

Ubuntu 12.04 on PR2 is unable to install libfreenect-dev

asked 2015-02-12 07:46:00 -0500

Ricardo gravatar image

Hello,

I am working on a PR2 robot (hydro) and I would like to install libfreenect-dev to develop a package for rgbd (kinect) mapping. However, I cannot install this library.

I receive the message "E: Package 'libfreenect-dev' has no installation candidate" from the apt-get manager.

I could install it in my workstation (running the same configuration: ubuntu 12.04, ROS hydro) but not in the PR2.

I looked this library into the ros repositories (from the PR2) but I couldn't find it.

Have you experienced this before? Do you have any clue how to install it or why is it not available for the PR2 platform?

I would appreciate your help.

edit retag flag offensive close merge delete

3 Answers

Sort by ยป oldest newest most voted
0

answered 2015-02-13 09:24:33 -0500

DevonW gravatar image

Does your sources list have this line:

http://archive.ubuntu.com/ubuntu/ precise universe

The only way it won't be found is if it can't locate the package, because it is there for precise.

edit flag offensive delete link more
0

answered 2015-02-16 09:34:59 -0500

Ricardo gravatar image

Hi Devon,

I've checked the sources in sources.list.d:

cat pr2debs.list deb http://packages.ros.org/pr2/ubuntu precise main cat pr2debspr2.list deb http://packages.ros.org/pr2/ubuntu precise pr2 cat rosdebs.list deb http://packages.ros.org/ros/ubuntu precise main

No other source is listed in the sources.list file (In fact, all of them are commented #). I think these are special repositories for the PR2 platform. Unfortunately, there is no libfreenect-dev in these repositories.

I'm afraid if I add "http://archive.ubuntu.com/ubuntu/ precise universe" to the robot sources there could be inconsistencies between the packages versions, and our robot will be unstable.

edit flag offensive delete link more
0

answered 2015-02-13 08:25:07 -0500

DevonW gravatar image

Try sudo apt-get update. Are you connected to the internet? What does your ifconfig say? And your /etc/apt/sources.list.d/* ?

edit flag offensive delete link more

Comments

Hi Devon, we did a "sudo apt-get update" and the robot is connected to the internet, on our building network (we updated some packages just before). I let Ricardo provide complementary information.

Erwan R. gravatar image Erwan R.  ( 2015-02-13 08:54:40 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2015-02-12 07:46:00 -0500

Seen: 256 times

Last updated: Feb 16 '15