由于没有公钥,无法验证下列签名
-
回复: 一键生成可定制的Debian rootfs,支持riscv64
按照这个帖子操作的时候,提示无法验证签名,按照网上的说法用apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv
操作之后还是同样的情况,这个应该怎么处理呢?oot@ubuntu18:/opt/riscv/debian-rootfs# ./make-rootfs.sh riscv64 multistrap_debian-ports.conf multistrap 2.2.9 using multistrap_debian-ports.conf multistrap 2.2.9 using multistrap_debian-ports.conf Using foreign architecture: riscv64 multistrap building riscv64 multistrap on 'amd64' I: Setting /opt/riscv/debian-rootfs/build/riscv64/riscv64-rootfs-20231128T155920Z/lib64 -> /opt/riscv/debian-rootfs/build/riscv64/riscv64-rootfs-20231128T155920Z/lib symbolic link. Getting package lists: APT_CONFIG=/tmp/multistrap.UQSxxX apt-get -o Apt::Architecture=riscv64 -o Dir::Etc::TrustedParts=/opt/riscv/debian-rootfs/build/riscv64/riscv64-rootfs-20231128T155920Z/etc/apt/trusted.gpg.d -o Dir::Etc::Trusted=/opt/riscv/debian-rootfs/build/riscv64/riscv64-rootfs-20231128T155920Z/etc/apt/trusted.gpg -o Apt::Get::AllowUnauthenticated=true -o Apt::Get::Download-Only=true -o Apt::Install-Recommends=false -o Dir=/opt/riscv/debian-rootfs/build/riscv64/riscv64-rootfs-20231128T155920Z/ -o Dir::Etc=/opt/riscv/debian-rootfs/build/riscv64/riscv64-rootfs-20231128T155920Z/etc/apt/ -o Dir::Etc::Parts=/opt/riscv/debian-rootfs/build/riscv64/riscv64-rootfs-20231128T155920Z/etc/apt/apt.conf.d/ -o Dir::Etc::PreferencesParts=/opt/riscv/debian-rootfs/build/riscv64/riscv64-rootfs-20231128T155920Z/etc/apt/preferences.d/ -o APT::Default-Release='*' -o Dir::State=/opt/riscv/debian-rootfs/build/riscv64/riscv64-rootfs-20231128T155920Z/var/lib/apt/ -o Dir::State::Status=/opt/riscv/debian-rootfs/build/riscv64/riscv64-rootfs-20231128T155920Z/var/lib/dpkg/status -o Dir::Cache=/opt/riscv/debian-rootfs/build/riscv64/riscv64-rootfs-20231128T155920Z/var/cache/apt/ update 获取:1 http://ftp.ports.debian.org/debian-ports unstable InRelease [87.2 kB] 错误:1 http://ftp.ports.debian.org/debian-ports unstable InRelease 由于没有公钥,无法验证下列签名: NO_PUBKEY B523E5F3FC4E5F2C NO_PUBKEY 8D69674688B6CB36 正在读取软件包列表... 完成 W: GPG 错误:http://ftp.ports.debian.org/debian-ports unstable InRelease: 由于没有公钥,无法验证下列签名: NO_PUBKEY B523E5F3FC4E5F2C NO_PUBKEY 8D69674688B6CB36 E: 仓库 “http://ftp.debian-ports.org/debian unstable InRelease” 没有数字签名。 N: 无法安全地用该源进行更新,所以默认禁用该源。 N: 参见 apt-secure(8) 手册以了解仓库创建和用户配置方面的细节。 apt update failed. Exit value: 100 mutltistrap with configuration file multistrap_debian-ports.conf failed root@ubuntu18:/opt/riscv/debian-rootfs# apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv B523E5F3FC4E5F2C Executing: /tmp/apt-key-gpghome.eCHx9ZKFsz/gpg.1.sh --keyserver hkp://keyserver.ubuntu.com:80 --recv B523E5F3FC4E5F2C gpg: key B523E5F3FC4E5F2C: 1 signature not checked due to a missing key gpg: 密钥 B523E5F3FC4E5F2C:公钥“Debian Ports Archive Automatic Signing Key (2023) <ftpmaster@ports-master.debian.org>”已导入 gpg: 合计被处理的数量:1 gpg: 已导入:1 root@ubuntu18:/opt/riscv/debian-rootfs# apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 8D69674688B6CB36 Executing: /tmp/apt-key-gpghome.Zdiw1SO6tD/gpg.1.sh --keyserver hkp://keyserver.ubuntu.com:80 --recv 8D69674688B6CB36 gpg: 密钥 8D69674688B6CB36:公钥“Debian Ports Archive Automatic Signing Key (2024) <ftpmaster@ports-master.debian.org>”已导入 gpg: 合计被处理的数量:1 gpg: 已导入:1 root@ubuntu18:/opt/riscv/debian-rootfs# ./make-rootfs.sh riscv64 multistrap_debian-ports.conf multistrap 2.2.9 using multistrap_debian-ports.conf multistrap 2.2.9 using multistrap_debian-ports.conf Using foreign architecture: riscv64 multistrap building riscv64 multistrap on 'amd64' I: Setting /opt/riscv/debian-rootfs/build/riscv64/riscv64-rootfs-20231128T155947Z/lib64 -> /opt/riscv/debian-rootfs/build/riscv64/riscv64-rootfs-20231128T155947Z/lib symbolic link. Getting package lists: APT_CONFIG=/tmp/multistrap.IsVTPs apt-get -o Apt::Architecture=riscv64 -o Dir::Etc::TrustedParts=/opt/riscv/debian-rootfs/build/riscv64/riscv64-rootfs-20231128T155947Z/etc/apt/trusted.gpg.d -o Dir::Etc::Trusted=/opt/riscv/debian-rootfs/build/riscv64/riscv64-rootfs-20231128T155947Z/etc/apt/trusted.gpg -o Apt::Get::AllowUnauthenticated=true -o Apt::Get::Download-Only=true -o Apt::Install-Recommends=false -o Dir=/opt/riscv/debian-rootfs/build/riscv64/riscv64-rootfs-20231128T155947Z/ -o Dir::Etc=/opt/riscv/debian-rootfs/build/riscv64/riscv64-rootfs-20231128T155947Z/etc/apt/ -o Dir::Etc::Parts=/opt/riscv/debian-rootfs/build/riscv64/riscv64-rootfs-20231128T155947Z/etc/apt/apt.conf.d/ -o Dir::Etc::PreferencesParts=/opt/riscv/debian-rootfs/build/riscv64/riscv64-rootfs-20231128T155947Z/etc/apt/preferences.d/ -o APT::Default-Release='*' -o Dir::State=/opt/riscv/debian-rootfs/build/riscv64/riscv64-rootfs-20231128T155947Z/var/lib/apt/ -o Dir::State::Status=/opt/riscv/debian-rootfs/build/riscv64/riscv64-rootfs-20231128T155947Z/var/lib/dpkg/status -o Dir::Cache=/opt/riscv/debian-rootfs/build/riscv64/riscv64-rootfs-20231128T155947Z/var/cache/apt/ update 获取:1 http://ftp.ports.debian.org/debian-ports unstable InRelease [87.2 kB] 错误:1 http://ftp.ports.debian.org/debian-ports unstable InRelease 由于没有公钥,无法验证下列签名: NO_PUBKEY B523E5F3FC4E5F2C NO_PUBKEY 8D69674688B6CB36 正在读取软件包列表... 完成 W: GPG 错误:http://ftp.ports.debian.org/debian-ports unstable InRelease: 由于没有公钥,无法验证下列签名: NO_PUBKEY B523E5F3FC4E5F2C NO_PUBKEY 8D69674688B6CB36 E: 仓库 “http://ftp.debian-ports.org/debian unstable InRelease” 没有数字签名。 N: 无法安全地用该源进行更新,所以默认禁用该源。 N: 参见 apt-secure(8) 手册以了解仓库创建和用户配置方面的细节。 apt update failed. Exit value: 100 mutltistrap with configuration file multistrap_debian-ports.conf failed
-
@whycan 请问这个是应该怎么处理呢?
-
一键生成可定制的Debian rootfs,支持riscv64
https://whycan.com/t_7367.html
Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号