gpt4 book ai didi

ubuntu - 'sudo apt-get update' 失败

转载 作者:行者123 更新时间:2023-12-04 18:29:47 24 4
gpt4 key购买 nike

关闭。这个问题不符合Stack Overflow guidelines .它目前不接受答案。












我们不允许在 Stack Overflow 上提出有关通用计算硬件和软件的问题。您可以编辑问题,使其成为 on-topic对于堆栈溢出。


3年前关闭。







Improve this question




以下是 sudo apt-get update 的 o/p :

/etc/apt$ sudo apt-get update
Get:1 http://01.archive.ubuntu.com/ubuntu bionic InRelease [242 kB]
Err:1 http://01.archive.ubuntu.com/ubuntu bionic InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 3B4FE6ACC0B21F32
Get:2 http://01.archive.ubuntu.com/ubuntu bionic-security InRelease [83.2 kB]
Err:2 http://01.archive.ubuntu.com/ubuntu bionic-security InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 3B4FE6ACC0B21F32
Get:3 http://01.archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]
Err:3 http://01.archive.ubuntu.com/ubuntu bionic-updates InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 3B4FE6ACC0B21F32
Reading package lists... Done
W: GPG error: http://01.archive.ubuntu.com/ubuntu bionic InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 3B4FE6ACC0B21F32
E: The repository 'http://01.archive.ubuntu.com/ubuntu bionic 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.
W: GPG error: http://01.archive.ubuntu.com/ubuntu bionic-security InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 3B4FE6ACC0B21F32
E: The repository 'http://01.archive.ubuntu.com/ubuntu bionic-security 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.
W: GPG error: http://01.archive.ubuntu.com/ubuntu bionic-updates InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY <Pub_key_here>
E: The repository 'http://01.archive.ubuntu.com/ubuntu bionic-updates 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.

全部 install我相信因此命令失败。

我只想将事情重置为正常,因为我在卸载 virtualbox,kubectl 时搞砸了。我刚刚开始熟悉它。实验反击。

我试过替换 sources.list使用 this除其他外,我尝试过。

任何帮助表示赞赏。

最佳答案

使用 this 之类的命令将公钥添加到您的 key 环:

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 3B4FE6ACC0B21F32

然后你应该运行 sudo apt-get update一般。

关于ubuntu - 'sudo apt-get update' 失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/53852338/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com