Couldn't install turtlebot_gazebo packege

asked 2019-05-07 07:29:27 -0500

rayane gravatar image

updated 2022-03-05 18:31:49 -0500

lucasw gravatar image

Hello, I did Turtlebot_gazebo packege installation a hundred of time but this time Am getting:

can't find file to patch at input line 5

This is what Am getting

Setting up ros-indigo-librealsense (1.12.1-1trusty-20170329-171250-0700) ...

Kernel preparation unnecessary for this kernel.  Skipping...

Running the pre_build script:

dkms: Pre-build script started...

Downloading kernel sources...
Reading package lists...
Building dependency tree...
Reading state information...
Picking 'linux-signed-lts-xenial' as source package instead of 'linux-image-4.4.0-146-generic'
Need to get 16,1 kB of source archives.
Get:1 http://fr.archive.ubuntu.com/ubuntu/ trusty-updates/main linux-signed-lts-xenial 4.4.0-146.172~14.04.1 (dsc) [2 106 B]
Get:2 http://fr.archive.ubuntu.com/ubuntu/ trusty-updates/main linux-signed-lts-xenial 4.4.0-146.172~14.04.1 (tar) [13,9 kB]
gpgv: Signature made ven. 05 avril 2019 18:46:36 CEST using RSA key ID CBEECEA3
gpgv: Can't check signature: public key not found
dpkg-source: warning: failed to verify signature on ./linux-signed-lts-xenial_4.4.0-146.172~14.04.1.dsc
dpkg-source: info: extracting linux-signed-lts-xenial in linux-signed-lts-xenial-4.4.0
dpkg-source: info: unpacking linux-signed-lts-xenial_4.4.0-146.172~14.04.1.tar.gz
 Fetched 16,1 kB in 0s (42,1 kB/s)
/bin/egrep: drivers/media/usb/uvc/uvc_driver.c: No such file or directory
INFO: No Intel RealSense(TM) cameras are currently supported.
Patching uvcvideo sources...
can't find file to patch at input line 5
Perhaps you used the wrong -p or --strip option?
 The text leading up to this was:
 --------------------------
diff --git a/drivers/media/usb/uvc/Makefile b/drivers/media/usb/uvc/Makefile
|index c26d12fdb8f4..d86cf22155d1 100644
|--- a/drivers/media/usb/uvc/Makefile
|+++ b/drivers/media/usb/uvc/Makefile
--------------------------
File to patch:

Any Help would be appreciated. Thanks

edit retag flag offensive close merge delete

Comments

@tfoote: I remember you posting an issue about trouble installing Turtlebot packages because of the realsense driver, but I can't find it.

This is an example of such a problem and the resulting confusion.

gvdhoorn gravatar image gvdhoorn  ( 2019-05-08 03:57:53 -0500 )edit

There's a known issue with Realsense installing here: https://github.com/ros/rosdistro/issu... But it's a different error. This looks like there's a custom kernel that's being interacted with via dpkg-source that's locally selected and is not compatible with realsense. I'd suggest reaching out to Intel about it. Also probably trying it on a stock kernel too.

tfoote gravatar image tfoote  ( 2019-05-08 12:44:26 -0500 )edit

@tfoote I Think it is my first time posting something about turtlebot, but anyways I reinstall every thing from linux to ROS and it is working now. Thanks

rayane gravatar image rayane  ( 2019-05-08 13:06:27 -0500 )edit

I don't think this is a custom kernel per se. All pkg names mentioned appear to be official Ubuntu Kernel (virtual) packages.

re: issue: yes, that's the one.

OP is trying to install the Gazebo simulation of TB2. It might make sense to refactor things such that turtlebot_bringup is not used any more by turtlebot_gazebo (I believe there is only a single configuration file needed from that package). That would decouple the physical deployment from the simulated one and avoid issues like this for people that don't have realsense hw.

gvdhoorn gravatar image gvdhoorn  ( 2019-05-08 13:07:25 -0500 )edit