使用中のエラー:ubuntu 22.04でsudo apt update

使用中のエラー:ubuntu 22.04でsudo apt update

次を実行すると、このエラーが発生します。sudo apt updateUbuntu 22.04のターミナルで

W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://download.opensuse.org/repositories/home:/Provessor/xUbuntu_20.04  InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 876292BF7F9C32BF
W: http://download.mono-project.com/repo/ubuntu/dists/trusty/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
W: Failed to fetch http://download.opensuse.org/repositories/home:/Provessor/xUbuntu_20.04/InRelease  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 876292BF7F9C32BF
W: Some index files failed to download. They have been ignored, or old ones used instead.

次のコマンドを使用して問題を解決しようとしましたが、うまくいかずにsudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 876292BF7F9C32BF次のメッセージが表示されます。

Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).
Executing: /tmp/apt-key-gpghome.fbmSbmsKSu/gpg.1.sh --keyserver keyserver.ubuntu.com --recv-keys 876292BF7F9C32BF
gpg: keyserver receive failed: No data

詳細については、ここをクリックしてください。 https://i.stack.imgur.com/sehEd.png

助けてください:(

ベストアンサー1

次のコマンドで問題を解決しました。

sudo rm -rf /var/lib/apt/lists/*
sudo rm -rf /etc/apt/sources.list.d/*
sudo apt-get update

:)

おすすめ記事