错误:无法安全地从此类存储库进行更新,因此默认情况下已禁用

时间:2018-05-15 16:41:33

标签: intel odroid realsense

我一直试图在Odroid XU4上设置一个英特尔实体D415并继续遇到同样的错误。当我查看https://github.com/IntelRealSense/librealsense/blob/development/doc/distribution_linux.md处的命令时,当我尝试sudo apt-get update时会弹出以下错误

odroid@odroid:~$ sudo apt-get update
Get:1 http://deb.odroid.in/5422-s bionic InRelease [1701 B]
Hit:2 http://ports.ubuntu.com/ubuntu-ports bionic InRelease                    
Hit:3 http://ports.ubuntu.com/ubuntu-ports bionic-updates InRelease            
Hit:4 http://archive.canonical.com/ubuntu bionic InRelease                     
Hit:5 http://ppa.launchpad.net/apt-fast/stable/ubuntu bionic InRelease         
Hit:6 http://ports.ubuntu.com/ubuntu-ports bionic-backports InRelease          
Err:7 http://realsense-hw-public.s3.amazonaws.com/Debian/apt-repo xenial InRelease
403  Forbidden [IP: 52.218.80.49 80]
Hit:8 http://ports.ubuntu.com/ubuntu-ports bionic-security InRelease    
Err:9 http://realsense-alm-public.s3.amazonaws.com/apt-repo xenial InRelease
403  Forbidden [IP: 52.218.80.49 80]
Reading package lists... Done                      
E: Failed to fetch http://realsense-hw-public.s3.amazonaws.com/Debian/apt-repo/dists/xenial/InRelease  403  Forbidden [IP: 52.218.80.49 80]
E: The repository 'http://realsense-hw-public.s3.amazonaws.com/Debian/apt-repo 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.
E: Failed to fetch http://realsense-alm-public.s3.amazonaws.com/apt-repo/dists/xenial/InRelease  403  Forbidden [IP: 52.218.80.49 80]
E: The repository 'http://realsense-alm-public.s3.amazonaws.com/apt-repo 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.

我已经尝试过--allow - 未经授权(不记得确切的语法atm),即使我也读过它只适用于apt-get upgrade(不更新)。那没起效。还尝试了一个全新的形象。我已经能够在我的ubuntu笔记本电脑上运行安装没有问题。我也一直试图手动添加回购,但一直无法弄清楚如何。

1 个答案:

答案 0 :(得分:0)

403 - 禁止是服务器端错误。您不能访问服务器上的数据。

请更新/etc/apt/sources.list。