以下は、以下のo / pですsudo apt-get update
。
/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
、これを使用して置き換えてみました。
どんな助けでも大歓迎です。
以下のようなコマンドを使用して、キーリングに公開鍵を追加し、この:
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 3B4FE6ACC0B21F32
その後sudo apt-get update
、正常に実行する必要があります。
この記事はインターネットから収集されたものであり、転載の際にはソースを示してください。
侵害の場合は、連絡してください[email protected]
コメントを追加