
これらは、インターネットで言及されているいくつかの修正を試した後も続く署名エラーです。
W: GPG error: http://deb.opera.com stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 517590D9A8492E35
W: GPG error: http://archive.canonical.com trusty Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 40976EAF437D05B5 NO_PUBKEY 3B4FE6ACC0B21F32
W: GPG error: http://extras.ubuntu.com trusty Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 16126D3A3E5C1192
W: GPG error: http://linux.dropbox.com trusty Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY FC918B335044912E
W: GPG error: http://dl.google.com stable Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY A040830F7FAC5991
W: GPG error: http://dl.google.com stable Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY A040830F7FAC5991
W: GPG error: http://archive.ubuntu.com trusty Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 40976EAF437D05B5 NO_PUBKEY 3B4FE6ACC0B21F32
W: GPG error: https://private-ppa.launchpad.net raring Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY E131728675254D99
W: GPG error: http://archive.ubuntu.com trusty-updates Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 40976EAF437D05B5 NO_PUBKEY 3B4FE6ACC0B21F32
W: GPG error: http://archive.ubuntu.com trusty-backports Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 40976EAF437D05B5 NO_PUBKEY 3B4FE6ACC0B21F32
W: GPG error: https://private-ppa.launchpad.net trusty Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY E131728675254D99
W: GPG error: http://archive.ubuntu.com trusty-security Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 40976EAF437D05B5 NO_PUBKEY 3B4FE6ACC0B21F32
W: GPG error: http://ppa.launchpad.net trusty Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 0CC3AFF5CEDF0F40
W: GPG error: http://ppa.launchpad.net trusty Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 32B18A1260D8DA0B
解決策をあれこれ探してみましたが、まだ何も解決していません。これらのエラーを解決する方法を提案してください。
すでに試したこと:
- y-ppa-マネージャー
- リストを手動で削除して再生成します。
したがって、これらのメソッドを重複としてマークせず、別の方法を提案してください。
答え1
aptキーやリポジトリの追加/変更などで何か問題が発生しています...何が原因かわかりません
- これらのエラーの原因は何でしたか? また、どのような修正を試しましたか?
しかし、症状に対する応急処置的な解決策がいくつかあります:
ただ不足しているキーを追加するこのコマンドは機能するはずです(「2EA8...」文字列を実際に不足しているキーに置き換えてください)
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 2EA8F35793D8809A
--keyserver keys.gnupg.net
Ubuntuにない場合は試してみるといいかもしれませ
ん[参照https://askubuntu.com/a/141088/129271]
どうやらそうではないようだったいくつかのPPAを正しく追加するUbuntuの指示によれば、自動的に「PPAのキーを取得する」はずです。以下はターミナルの指示です。https://help.ubuntu.com/community/リポジトリ/Ubuntu
ステップ 2: ターミナルを開いて次のように入力します。
$ sudo add-apt-repository ppa:user/ppa-name
「ppa:user/ppa-name」を、上でメモした PPA の場所に置き換えます。
これで、システムは PPA のキーを取得します。これにより、Ubuntu システムは、PPA 内のパッケージがビルドされてから干渉されていないことを検証できるようになります。
万が一の場合に備えてソフトウェア ソースに問題がある場合は、これにより「デフォルト」に復元されます。/ect/apt/sources.list
念のため、まずはすべてのバックアップコピーを作成してください/ect/apt/sources.list.d/
。Ubuntu のバージョンがわからないため、「デフォルト」が何であるか、または追加の PPA やその他のソースを追加したかどうかはわかりません。実行するlsb_release -a
と、バージョンと「コード名」が表示されます。
ソースリストファイルをバックアップする
どこかのバックアップ フォルダーにコピーするだけで、動作するはずです。
sudo mv /etc/apt/sources.list /etc/apt/sources.list.old
sudo mv /etc/apt/sources.list.d /etc/apt/sources.list.d.old
デフォルトのUbuntuを復元するsources.list
Ubuntuの場合、これを行うと新しい
sources.list
ファイルが生成されるはずです。古いファイルを削除します(
sudo rm /etc/apt/sources.list
そしてsudo rm -R /etc/apt/sources.list.d
しかしまずバックアップ)。次に、次のいずれかを実行します。
ソフトウェア ソース (
sudo software-properties-gtk
またはsudo software-sources
) を実行し、いくつかのリポジトリを選択/チェックマークを付け、サーバーを選択して更新します。新しいものを生成するhttp://repogen.simplylinux.ch/バージョンと国(ローカルミラーを選択するため)を使用して、それをコピーして新しいsources.listに貼り付けます
gksudo gedit /etc/apt/sources.list
。sudo nano /etc/apt/sources.list
サイトhttp://repogen.simplylinux.ch/オプションのPPAも多数あり、非常に便利そうです。[提供元]デフォルトのリポジトリを復元するにはどうすればよいですか?]
答え2
aptが40以上のキーを処理できないことを知った後、私は/etc/apt/trusted.gpg.dからppaとそのキーを削除し始めました。
それを実行した後、apt-cache を更新し、問題は解決しました。