luxonis / depthai

DepthAI Python API utilities, examples, and tutorials.
https://docs.luxonis.com
MIT License
914 stars 231 forks source link

Failed installing dependencies. Could be a bug in the installer #1195

Open ldbrouwer opened 1 month ago

ldbrouwer commented 1 month ago

**Tried to install DepthAI using the USB Deployment guide (https://docs.luxonis.com/hardware/platform/deploy/usb-deployment-guide/)

Got the following output in my terminal: I see other similar problems, but didn't see a solution - any guidance would be appreciated**


lon@M16:~$ sudo wget -qO- https://docs.luxonis.com/install_depthai.sh | bash [sudo] password for lon: mkdir: cannot create directory ‘/home/lon/Luxonis’: File exists

ENTER absolute installation path for depthai or leave empty and default path: $HOME will be used.

Using default installation path: /home/lon/Luxonis Directory: /home/lon/Luxonis is OK

Python version: Python 3.10.12 found. If you want to use it for installation, press ENTER key, otherwise input path to python binary. Press ENTER key to continue


Calling linux_installer.sh


Updating sudo-apt. Hit:1 http://us.archive.ubuntu.com/ubuntu jammy InRelease Hit:2 http://security.ubuntu.com/ubuntu jammy-security InRelease
Hit:3 http://packages.osrfoundation.org/gazebo/ubuntu-stable jammy InRelease
Hit:4 http://us.archive.ubuntu.com/ubuntu jammy-updates InRelease
Hit:5 https://dl.google.com/linux/chrome/deb stable InRelease
Hit:6 http://us.archive.ubuntu.com/ubuntu jammy-backports InRelease
Ign:7 http://packages.ros.org/ros/ubuntu jammy InRelease
Hit:8 http://packages.ros.org/ros2/ubuntu jammy InRelease Err:9 http://packages.ros.org/ros/ubuntu jammy Release 404 Not Found [IP: 64.50.236.52 80] Hit:10 https://esm.ubuntu.com/apps/ubuntu jammy-apps-security InRelease Hit:11 https://esm.ubuntu.com/apps/ubuntu jammy-apps-updates InRelease Hit:12 https://esm.ubuntu.com/infra/ubuntu jammy-infra-security InRelease Hit:13 https://esm.ubuntu.com/infra/ubuntu jammy-infra-updates InRelease Reading package lists... Done W: http://packages.osrfoundation.org/gazebo/ubuntu-stable/dists/jammy/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details. E: The repository 'http://packages.ros.org/ros/ubuntu jammy 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.

Failed installing dependencies. Could be a bug in the installer or unsupported platform. Open a bug report over at https://github.com/luxonis/depthai - exited with status 100 at line 189

brmarkus commented 1 month ago

Have you added those ROS and ROS2 related APT repo URLs? Do you (still) need, still use them? Could you (temporarily) comment them out (/etc/apt/sources.list, making a copy first, sudo cp /etc/apt/sources.list /etc/apt/sources.list_backup)?

And remove /home/lon/Luxonis before trying to install again.