Debian リポジトリに署名がありません。

Debian リポジトリに署名がありません。

最近システムをDebian 12にアップグレードしましたが、実行しようとするとこれらのエラーが発生しました。

sudo apt update

これは私の結果です。

Get:1 http://security.debian.org bookworm-security InRelease [48.0 kB]
Get:2 http://deb.debian.org/debian bookworm InRelease [151 kB]
Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
Get:4 http://deb.debian.org/debian bookworm-updates InRelease [52.1 kB]
Err:1 http://security.debian.org bookworm-security InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 54404762BBB6E853 NO_PUBKEY BDE6D2B9216EC7A8
Hit:5 https://deb.nodesource.com/node_20.x nodistro InRelease                                                      
Err:2 http://deb.debian.org/debian bookworm InRelease                                                              
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 0E98404D386FA1D9 NO_PUBKEY 6ED0E7B82643E131 NO_PUBKEY F8D2585B8783D481
Hit:6 https://packages.microsoft.com/repos/code stable InRelease
Err:3 http://deb.debian.org/debian-security bookworm-security InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 54404762BBB6E853 NO_PUBKEY BDE6D2B9216EC7A8
Err:4 http://deb.debian.org/debian bookworm-updates InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 0E98404D386FA1D9 NO_PUBKEY 6ED0E7B82643E131
Reading package lists... Done

また、現在のsource.listファイルは次のようになります。

deb http://deb.debian.org/debian/ bookworm main non-free-firmware 
deb-src http://deb.debian.org/debian/ bookworm main non-free-firmware 

deb http://deb.debian.org/debian-security/ bookworm-security main non-free-firmware 
deb-src http://deb.debian.org/debian-security/ bookworm-security main non-free-firmware 

deb http://deb.debian.org/debian/ bookworm-updates main non-free-firmware 
deb-src http://deb.debian.org/debian/ bookworm-updates main non-free-firmwares 

deb http://security.debian.org/ bookworm-security main contrib non-free non-free-firmware

当初、Nodejs と vscode リポジトリの署名の欠落に関するいくつかのエラーも発生しました。そのため、アプリケーションを再インストールしました.gpgが、ファイルが追加されたようで、/etc/apt/sources.list.d//etc/apt/keyringsの下の対応するエントリがに更新されたことを確認しましたsigned-by=/etc/apt/keyrings/...。その後、2つの追加NO_PUBKEYエラーが消えました。これは確かに意味があります。

これがなぜより安全なのか、ある程度知っていますが、私が見逃しているのは、Debianリポジトリに関するこれらのキーをどこで取得できるのかということです。

私が何かを見逃しているのでしょうか、それとも11からDebian 12にアップグレードしたときに何かを台無しにしましたか?

ありがとうございます!

ベストアンサー1

おすすめ記事