librealsense icon indicating copy to clipboard operation
librealsense copied to clipboard

How to install Firmware DFU on Ubuntu 18.04

Open evercoast-smm opened this issue 7 years ago • 7 comments

Please provide specific details on how to install DFU for Ubuntu 18.04.


|---------------------------------|------------------------------------------- | | Camera Model | D415 | | Firmware Version | 05.09.02.00 | | Operating System & Version | Ubuntu 18.04 | | Kernel Version (Linux Only) | 4.15.0-29-generic | | Platform | PC | | SDK Version | librealsense-2.16.5 | | Language | N/A | | Segment | N/A |

Issue Description

When following the instructions as specified in the PDF (v1.2) sourced from here:

https://www.intel.com/content/www/us/en/support/articles/000028171/emerging-technologies/intel-realsense-technology.html

At the sudo apt-get update stage, the following error occurrs:

xxx@yyy:~/Src/Realsense$ sudo apt-get update Hit:1 http://us.archive.ubuntu.com/ubuntu bionic InRelease Hit:6 http://realsense-hw-public.s3.amazonaws.com/Debian/apt-repo xenial InRelease
Hit:7 http://ppa.launchpad.net/polychromatic/stable/ubuntu bionic InRelease
Err:8 http://realsense-hw-public.s3.amazonaws.com/Debian/aptrepo xenial InRelease 403 Forbidden [IP: 52.218.36.17 80] Reading package lists... Done
E: Failed to fetch http://realsense-hw-public.s3.amazonaws.com/Debian/aptrepo/dists/xenial/InRelease 403 Forbidden [IP: 52.218.36.17 80] E: The repository 'http://realsense-hw-public.s3.amazonaws.com/Debian/aptrepo xenial InRelease' is not signed. N: Updating from such a repository can't be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details.

evercoast-smm avatar Dec 12 '18 18:12 evercoast-smm

[Realsense Customer Engineering Team Comment] Hello @evercoast-smm,

Sorry to hear you are having issues with Intel RealSense DFU.

You are correct that the instructions include connecting to a xenial repository; but at this time this is where the DFU is stored. This DFU was tested and it installs on Ubuntu 18.04. Also the .pdf shown on the website (https://www.intel.com/content/www/us/en/support/articles/000028171/emerging-technologies/intel-realsense-technology.html) has spacing issues, simply copying and pasting commands into the terminal provides errors.

Here are the commands to enter into your Ubuntu 18.04 terminal to download and install Intel RealSense DFU:

echo 'deb http://realsense-hw-public.s3.amazonaws.com/Debian/apt-repo xenial main' | sudo tee /etc/apt/sources.list.d/realsense-public.list

sudo apt-key adv--keyserverkeys.gnupg.net --recv-key 6F3EFCDE

sudo apt-get update

sudo apt-get install intel-realsense-dfu*

Be sure to download latest firmware from here when finished install of RealSense DFU: https://downloadcenter.intel.com/download/28377/Latest-Firmware-for-Intel-RealSense-D400-Product-Family, and consult the users guide to detect camera and upgrade firmware as needed.

Please let us know if any other issues. Thank you!

When I follow those instruction on Ubuntu 18.04 I get the following

$ sudo apt-get update
Hit:1 http://ca.archive.ubuntu.com/ubuntu bionic InRelease
Hit:2 http://ca.archive.ubuntu.com/ubuntu bionic-updates InRelease             
Hit:3 http://ca.archive.ubuntu.com/ubuntu bionic-backports InRelease           
Hit:4 http://security.ubuntu.com/ubuntu bionic-security InRelease              
Hit:5 http://realsense-hw-public.s3.amazonaws.com/Debian/apt-repo xenial InRelease
Err:6 http://realsense-hw-public.s3.amazonaws.com/Debian/apt-repo http://realsense-hw-public.s3.amazonaws.com/Debian/apt-repo InRelease
  403  Forbidden [IP: 52.218.96.65 80]
Reading package lists... Done                      
E: Failed to fetch http://realsense-hw-public.s3.amazonaws.com/Debian/apt-repo/dists/http://realsense-hw-public.s3.amazonaws.com/Debian/apt-repo/InRelease  403  Forbidden [IP: 52.218.96.65 80]
E: The repository 'http://realsense-hw-public.s3.amazonaws.com/Debian/apt-repo http://realsense-hw-public.s3.amazonaws.com/Debian/apt-repo InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

zamirkhan avatar Dec 21 '18 16:12 zamirkhan

This has successfully worked for me. Thank you!

evercoast-smm avatar Dec 21 '18 20:12 evercoast-smm

Hi, I have the same problem as @zamirkhan...

vladdders avatar Dec 22 '18 13:12 vladdders

[Realsense Customer Engineering Team Comment] Hello @vladsb94,

Please file a new issue as this original issue has been closed.

https://github.com/IntelRealSense/librealsense/issues

Thank you.

@evercoast-smm @RealSense-Customer-Engineering Above command runs error on ubuntu 18.04:

Reading package lists... Done                                                                                                              
E: Failed to fetch http://realsense-hw-public.s3.amazonaws.com/Debian/aptrepo/dists/xenial/InRelease  403  Forbidden [IP: 52.218.53.233 80]
E: The repository 'http://realsense-hw-public.s3.amazonaws.com/Debian/aptrepo xenial InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: Conflicting distribution: https://typora.io:443 linux/ InRelease (expected linux/ but got )
E: The repository 'http://ppa.launchpad.net/fcitx-team/nightly/ubuntu xenial Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: The repository 'http://ppa.launchpad.net/xqms/opencv-nonfree/ubuntu bionic Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
[15:53:36] jintain:realsense_fix $ sudo apt-get install intel-realsense-dfu*
zsh: no matches found: intel-realsense-dfu*

lucasjinreal avatar Feb 26 '19 07:02 lucasjinreal

@jinfagang I ran sudo apt-get install intel-realsense-dfu without the * and it's working fine for me.

Managed to upgrade the firmware on the camera.

RicardoM17 avatar Mar 13 '19 12:03 RicardoM17