仓库 “https://repo.download.nvidia.com/jetson/common r35.3 release” 没有 release 文件。 n: 无法安全地用该源进行更新

完整报错:

仓库 “https://repo.download.nvidia.com/jetson/common r35.3 release” 没有 release 文件。 n: 无法安全地用该源进行更新,所以默认禁用该源。 

这里主要是http和https的问题,修改文件/etc/apt/apt.conf文件中的前两行。

Acquire::http::proxy "http://127.0.0.1:7890/";
Acquire::https::proxy "https://127.0.0.1:7890/";

修改为

Acquire::http::proxy "http://127.0.0.1:7890/";
Acquire::https::proxy "http://127.0.0.1:7890/";
nvidia@nvidia-desktop:~$ # 添加缺失的Docker GPG密钥 nvidia@nvidia-desktop:~$ sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 7EA0A9C3F273FCD8 Executing: /tmp/apt-key-gpghome.ZyQTHDYN3L/gpg.1.sh --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 7EA0A9C3F273FCD8 gpg: key 8D81803C0EBFCD88: 1 duplicate signature removed gpg: key 8D81803C0EBFCD88: "Docker Release (CE deb) <docker@docker.com>" not changed gpg: Total number processed: 1 gpg: unchanged: 1 nvidia@nvidia-desktop:~$ nvidia@nvidia-desktop:~$ # 更新软件(此时应无报错) nvidia@nvidia-desktop:~$ sudo apt update Get:1 http://mirrors.tuna.tsinghua.edu.cn/docker-ce/linux/ubuntu focal InRelease [57.7 kB] Hit:4 https://mirror.tuna.tsinghua.edu.cn/ubuntu-ports focal InRelease Get:6 http://download.zerotier.com/debian/focal focal InRelease [20.5 kB] Hit:7 https://mirror.tuna.tsinghua.edu.cn/ubuntu-ports focal-updates InRelease Err:1 http://mirrors.tuna.tsinghua.edu.cn/docker-ce/linux/ubuntu focal InRelease The following signatures couldn&#39;t be verified because the public key is not available: NO_PUBKEY 7EA0A9C3F273FCD8 Hit:8 https://mirror.tuna.tsinghua.edu.cn/ubuntu-ports focal-backports InRelease Hit:2 https://repo.download.nvidia.cn/jetson/common r35.3 InRelease Hit:3 https://repo.download.nvidia.cn/jetson/t234 r35.3 InRelease Hit:9 https://mirror.tuna.tsinghua.edu.cn/ubuntu-ports focal-security InRelease Hit:10 https://mirror.tuna.tsinghua.edu.cn/ubuntu-ports focal-proposed InRelease Hit:5 https://prod-cdn.packages.k8s.io/repositories/isv:/kubernetes:/core:/stable:/v1.28/deb InRelease Reading package lists... Done W: GPG error: http://mirrors.tuna.tsinghua.edu.cn/docker-ce/linux/ubuntu focal InRelease: The following signatures couldn&#39;t be verified because the public key is not available: NO_PUBKEY 7EA0A9C3F273FCD8 E: The repository &#39;http://mirrors.tuna.tsinghua.edu.cn/docker-ce/linux/ubuntu focal InRelease&#39; is not signed. N: Updating from such a repository can&#39;t be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details.
最新发布
12-04
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值