软件源列表 /etc/apt/sources.list.d/yarn.list 第 1 行中的类别 “gpg” 无法识别

这个sources.list.d 已经不能用了,删掉重下就行;(不放心的可以保存一下)

sudo rm -rf /etc/apt/sources.list.d     //递归删除这个文件夹

sudo apt-get update

sudo apt update && sudo apt upgrade -y 获取:1 http://mirrors.tuna.tsinghua.edu.cn/ros2/ubuntu jammy InRelease [4,682 B] 命中:2 https://mirrors.ustc.edu.cn/ubuntu jammy InRelease 命中:3 https://mirrors.ustc.edu.cn/ubuntu jammy-updates InRelease 命中:4 https://mirrors.ustc.edu.cn/ubuntu jammy-backports InRelease 命中:5 https://mirrors.ustc.edu.cn/ubuntu jammy-security InRelease 错误:1 http://mirrors.tuna.tsinghua.edu.cn/ros2/ubuntu jammy InRelease 下列签名无效: EXPKEYSIG F42ED6FBAB17C654 Open Robotics <info@osrfoundation.org> 忽略:6 http://mirrors.tuna.tsinghua.edu.cn/ros/ubuntu jammy InRelease 错误:7 http://mirrors.tuna.tsinghua.edu.cn/ros/ubuntu jammy Release 404 Not Found [IP: 101.6.15.130 80] 命中:8 https://packages.microsoft.com/repos/code stable InRelease 获取:9 http://packages.ros.org/ros2/ubuntu jammy InRelease [4,682 B] 错误:9 http://packages.ros.org/ros2/ubuntu jammy InRelease 由于没有公钥,无法验证下列签名: NO_PUBKEY F42ED6FBAB17C654 正在读取软件包列表... 完成 W: 校验数字签名时出错。此仓库未被更新,所以仍然使用此前的索引文件。GPG 错误:http://mirrors.tuna.tsinghua.edu.cn/ros2/ubuntu jammy InRelease: 下列签名无效: EXPKEYSIG F42ED6FBAB17C654 Open Robotics <info@osrfoundation.org> E: 仓库 “http://mirrors.tuna.tsinghua.edu.cn/ros/ubuntu jammy Release” 没有 Release 文件。 N: 无法安全地用该源进更新,所以默认禁用该源。 N: 参见 apt-secure(8) 手册以了解仓库创建和用户配置方面的细节。 W: GPG 错误:http://packages.ros.org/ros2/ubuntu jammy InRelease: 由于没有公钥,无法验证下列签名: NO_PUBKEY F42ED6FBAB17C654 E: 仓库 “http://packages.ros.org/ros2/ubuntu jammy InRelease” 没有数字签名。 N: 无法安全地用该源进更新,所以默认禁用该源。 N: 参见 apt-secure(8) 手册以了解仓库创建和用户配置方面的细节。 W: 目标 Packages (main/binary-amd64/Packages) 在 /etc/apt/sources.list.d/ros2-latest.list:1 和 /etc/apt/sources.list.d/ros2.list:1 中被配置了多次 W: 目标 Packages (main/binary-all/Packages) 在 /etc/apt/sources.list.d/ros2-latest.list:1 和 /etc/apt/sources.list.d/ros2.list:1 中被配置了多次 W: 目标 Translations (main/i18n/Translation-zh_CN) 在 /etc/apt/sources.list.d/ros2-latest.list:1 和 /etc/apt/sources.list.d/ros2.list:1 中被配置了多次 W: 目标 Translations (main/i18n/Translation-zh) 在 /etc/apt/sources.list.d/ros2-latest.list:1 和 /etc/apt/sources.list.d/ros2.list:1 中被配置了多次 W: 目标 Translations (main/i18n/Translation-en) 在 /etc/apt/sources.list.d/ros2-latest.list:1 和 /etc/apt/sources.list.d/ros2.list:1 中被配置了多次 W: 目标 DEP-11 (main/dep11/Components-amd64.yml) 在 /etc/apt/sources.list.d/ros2-latest.list:1 和 /etc/apt/sources.list.d/ros2.list:1 中被配置了多次 W: 目标 DEP-11 (main/dep11/Components-all.yml) 在 /etc/apt/sources.list.d/ros2-latest.list:1 和 /etc/apt/sources.list.d/ros2.list:1 中被配置了多次 W: 目标 DEP-11-icons-small (main/dep11/icons-48x48.tar) 在 /etc/apt/sources.list.d/ros2-latest.list:1 和 /etc/apt/sources.list.d/ros2.list:1 中被配置了多次 W: 目标 DEP-11-icons (main/dep11/icons-64x64.tar) 在 /etc/apt/sources.list.d/ros2-latest.list:1 和 /etc/apt/sources.list.d/ros2.list:1 中被配置了多次 W: 目标 DEP-11-icons-hidpi (main/dep11/icons-64x64@2.tar) 在 /etc/apt/sources.list.d/ros2-latest.list:1 和 /etc/apt/sources.list.d/ros2.list:1 中被配置了多次 W: 目标 CNF (main/cnf/Commands-amd64) 在 /etc/apt/sources.list.d/ros2-latest.list:1 和 /etc/apt/sources.list.d/ros2.list:1 中被配置了多次 W: 目标 CNF (main/cnf/Commands-all) 在 /etc/apt/sources.list.d/ros2-latest.list:1 和 /etc/apt/sources.list.d/ros2.list:1 中被配置了多次 怎么办
07-26
正在读取软件包列表... 完成 W: GPG 错误:http://mirrors.tuna.tsinghua.edu.cn/ros2/ubuntu noble InRelease: 下列签名无效: EXPKEYSIG F42ED6FBAB17C654 Open Robotics <info@osrfoundation.org> E: 仓库 “http://mirrors.tuna.tsinghua.edu.cn/ros2/ubuntu noble InRelease” 没有数字签名。 N: 无法安全地用该源进更新,所以默认禁用该源。 N: 参见 apt-secure(8) 手册以了解仓库创建和用户配置方面的细节。 W: http://mirrors.aliyun.com/docker-ce/linux/ubuntu/dists/noble/InRelease: 密钥存储在过时的 trusted.gpg 密钥环中(/etc/apt/trusted.gpg),请参见 apt-key(8) 的 DEPRECATION 一节以了解详情。 N: 鉴于仓库 'http://mirrors.aliyun.com/docker-ce/linux/ubuntu noble InRelease' 不支持 'i386' 体系结构,跳过配置文件 'stable/binary-i386/Packages' 的获取。 W: GPG 错误:https://apollo-pkg-beta.cdn.bcebos.com/apollo/core noble InRelease: 下列签名无效: EXPKEYSIG A769FBD86CEFB5EA apollo <apollo@baidu.com> E: 仓库 “https://apollo-pkg-beta.cdn.bcebos.com/apollo/core noble InRelease” 没有数字签名。 N: 无法安全地用该源进更新,所以默认禁用该源。 N: 参见 apt-secure(8) 手册以了解仓库创建和用户配置方面的细节。 W: https://apollo-pkg-beta.cdn.bcebos.com/apollo/core/dists/bionic/InRelease: 密钥存储在过时的 trusted.gpg 密钥环中(/etc/apt/trusted.gpg),请参见 apt-key(8) 的 DEPRECATION 一节以了解详情。 W: GPG 错误:https://apollo-pkg-beta.cdn.bcebos.com/apollo/core bionic InRelease: 下列签名无效: EXPKEYSIG A769FBD86CEFB5EA apollo <apollo@baidu.com> E: 仓库 “https://apollo-pkg-beta.cdn.bcebos.com/apollo/core bionic InRelease” 没有数字签名。 N: 无法安全地用该源进更新,所以默认禁用该源。 N: 参见 apt-secure(8) 手册以了解仓库创建和用户配置方面的细节。 E: 仓库 “http://packages.ros.org/ros/ubuntu noble Release” 没有 Release 文件。 N: 无法安全地用该源进更新,所以默认禁用该源。 N: 参见 apt-secure(8) 手册以了解仓库创建和用户配置方面的细节。 W: http://packages.osrfoundation.org/gazebo/ubuntu-stable/dists/noble/InRelease: 密钥存储在过时的 trusted.gpg 密钥环中(/etc/apt/trusted.gpg),请参见 apt-key(8) 的 DEPRECATION 一节以了解详情。 W: https://download.docker.com/linux/ubuntu/dists/noble/InRelease: 密钥存储在过时的 trusted.gpg 密钥环中(/etc/apt/trusted.gpg),请参见 apt-key(8) 的 DEPRECATION 一节以了解详情。 N: 鉴于仓库 'https://download.docker.com/linux/ubuntu noble InRelease' 不支持 'i386' 体系结构,跳过配置文件 'stable/binary-i386/Packages' 的获取。 E: 仓库 “https://ppa.launchpadcontent.net/lutris-team/lutris/ubuntu noble Release” 没有 Release 文件。 N: 无法安全地用该源进更新,所以默认禁用该源。 N: 参见 apt-secure(8) 手册以了解仓库创建和用户配置方面的细节。 E: 仓库 “https://ppa.launchpadcontent.net/ubuntu-wine/ppa/ubuntu noble Release” 没有 Release 文件。 N: 无法安全地用该源进更新,所以默认禁用该源。 N: 参见 apt-secure(8) 手册以了解仓库创建和用户配置方面的细节。
07-10
linux-debian软件安装包sources.list 路径 /etc/apt # deb cdrom:[Debian GNU/Linux 8.2.0 _Jessie_ - Official amd64 CD Binary-1 20150906-11:13]/ jessie main # deb cdrom:[Debian GNU/Linux 8.2.0 _Jessie_ - Official amd64 CD Binary-1 20150906-11:13]/ jessie main # deb http://ftp.debian.org/debian/ experimental main deb http://mirrors.ustc.edu.cn/debian/ jessie main contrib non-free deb-src http://mirrors.ustc.edu.cn/debian/ jessie main contrib non-free deb http://mirrors.ustc.edu.cn/debian/ jessie-proposed-updates main contrib non-free deb-src http://mirrors.ustc.edu.cn/debian/ jessie-proposed-updates main contrib non-free deb http://mirrors.ustc.edu.cn/debian/ jessie-updates main contrib non-free deb-src http://mirrors.ustc.edu.cn/debian/ jessie-updates main contrib non-free # deb http://mirrors.163.com/debian/ jessie main non-free contrib # deb http://mirrors.163.com/debian/ jessie-updates main non-free contrib # deb http://mirrors.163.com/debian/ jessie-backports main non-free contrib # deb-src http://mirrors.163.com/debian/ jessie main non-free contrib # deb-src http://mirrors.163.com/debian/ jessie-updates main non-free contrib # deb-src http://mirrors.163.com/debian/ jessie-backports main non-free contrib # deb http://mirrors.163.com/debian-security/ jessie/updates main non-free contrib # deb-src http://mirrors.163.com/debian-security/ jessie/updates main non-free contrib # deb http://cs3.swfu.edu.cn/debian/ jessie main contrib non-free # Line commented out by installer because it failed to verify: # deb http://security.debian.org/ jessie/updates main # Line commented out by installer because it failed to verify: # deb-src http://security.debian.org/ jessie/updates main # jessie-updates, previously known as 'volatile' # A network mirror was not selected during install. The following entries # are provided as examples, but you should amend them as appropriate # for your mirror of choice. # deb http://ftp.debian.org/debian/ jessie-updates main # deb-
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值